VideoOutputFrame
From TrillWiki
The videoOutputFrame function will send video frame data to Trillian to be displayed in the appropriate window.
Compatibility: 3.0 and higher
Syntax
plugin_send(MYGUID,"videoOutputFrame",video_t *);
Note that all Trillian functions and notifications begin with a lower-case letter, despite the Wiki requirement that all pages start with a capital letter.
Parameters
VideoOutputFrame utilitizes the video_t structure.
struct video_t
{
unsigned int struct_size;
int connection_id;
int window_id;
char *medium;
char *name;
char *location;
char *section;
int initiated;
int ask_confirmation;
/* Video Information
*/
int codec;
int video_width;
int video_height;
int video_depth;
int video_quality;
int video_fps;
int video_data_length;
unsigned char *video_data;
ttkCallback callback;
void *data;
};
- window_id
- The window_id associated with this video stream.
- medium
- If you did not provide window_id, this must be set to the medium hosting the video stream.
- connection_id
- If you did not provide window_id, this must be set to the connection ID associated with the video stream.
- name
- If you did not provide window_id, this must be set to the contact associated with this video stream.
- video_data
- The raw video data received over the network.
- video_data_length
- The length of the raw video data received over the network.
