Home2L - C/C++ API v1.4-0-g38cc (2024-05-25)
Smart Tools for a Private Home
|
#include <stdint.h>
#include <pthread.h>
Go to the source code of this file.
Classes | |
struct | TPhoneVideoFrame |
Data structure to pass video frames to the UI. More... | |
class | CPhone |
IP Telephone. More... | |
Enumerations | |
enum | EPhoneVideoFormat |
Video frame pixel format. The values refer to the respective SDL pixel format types of a similar name. (see 'SDL_PixelFormatEnum' and the 'SDL_PIXELFORMAT_*' values in the SDL2 documentation). | |
enum | EPhoneState { psNone = 0 , psIdle , psDialing , psRinging , psInCall , psTransferIdle , psTransferDialing , psTransferAutoComplete , psTransferInCall } |
Current phone state. More... | |
enum | EPhoneMedia { pmNone = 0 , pmAudioIn = 1 , pmAudioOut = 2 , pmAudio = 3 , pmVideoIn = 4 , pmVideoOut = 8 , pmVideo = 12 , pmAll = 15 } |
Media mask. More... | |
Functions | |
const char * | StrPhoneVideoFormat (EPhoneVideoFormat x) |
Get a readable string for the format. | |
static bool | PhoneStateIsDevicePermitting (EPhoneState s) |
Return whether the caller is allowed to use the media (audio/video) devices that may otherwise be occupied by the respective phone. | |