![]() |
![]() |
![]() |
libempathy Reference Manual | ![]() |
---|---|---|---|---|
Top | Description | Object Hierarchy | Properties | Signals |
EmpathyCallHandler; EmpathyCallHandler * empathy_call_handler_new_for_contact (EmpathyContact *contact); EmpathyCallHandler * empathy_call_handler_new_for_contact_with_streams (EmpathyContact *contact, gboolean audio, gboolean video); EmpathyCallHandler * empathy_call_handler_new_for_channel (EmpathyTpCall *call); void empathy_call_handler_start_call (EmpathyCallHandler *handler); void empathy_call_handler_stop_call (EmpathyCallHandler *handler); gboolean empathy_call_handler_has_initial_video (EmpathyCallHandler *handler); void empathy_call_handler_bus_message (EmpathyCallHandler *handler, GstBus *bus, GstMessage *message);
"contact" EmpathyContact* : Read / Write / Construct Only "initial-audio" gboolean : Read / Write / Construct Only "initial-video" gboolean : Read / Write / Construct Only "tp-call" EmpathyTpCall* : Read / Write / Construct Only
"closed" : Run Last "conference-added" : Run Last "request-resource" : Run Last "sink-pad-added" : Run Last "src-pad-added" : Run Last "stream-closed" : Run Last
EmpathyCallHandler * empathy_call_handler_new_for_contact (EmpathyContact *contact);
Creates a new EmpathyCallHandler with contact contact
.
|
an EmpathyContact |
Returns : |
a new EmpathyCallHandler |
EmpathyCallHandler * empathy_call_handler_new_for_contact_with_streams (EmpathyContact *contact, gboolean audio, gboolean video);
Creates a new EmpathyCallHandler with contact contact
.
|
an EmpathyContact |
|
if TRUE the call will be started with audio
|
|
if TRUE the call will be started with video
|
Returns : |
a new EmpathyCallHandler |
EmpathyCallHandler * empathy_call_handler_new_for_channel (EmpathyTpCall *call);
|
|
Returns : |
void empathy_call_handler_start_call (EmpathyCallHandler *handler);
|
void empathy_call_handler_stop_call (EmpathyCallHandler *handler);
Closes the EmpathyCallHandler's call and frees its resources.
|
an EmpathyCallHandler |
gboolean empathy_call_handler_has_initial_video (EmpathyCallHandler *handler);
Return TRUE
if the call managed by this EmpathyCallHandler was
created with video enabled
|
an EmpathyCallHandler |
Returns : |
TRUE if the call was created as a video conversation.
|
void empathy_call_handler_bus_message (EmpathyCallHandler *handler, GstBus *bus, GstMessage *message);
|
|
|
|
|
"contact"
property"contact" EmpathyContact* : Read / Write / Construct Only
The remote contact.
"initial-audio"
property"initial-audio" gboolean : Read / Write / Construct Only
Whether the call should start with audio.
Default value: TRUE
"initial-video"
property"initial-video" gboolean : Read / Write / Construct Only
Whether the call should start with video.
Default value: FALSE
"tp-call"
property"tp-call" EmpathyTpCall* : Read / Write / Construct Only
The calls channel wrapper.
"closed"
signalvoid user_function (EmpathyCallHandler *empathycallhandler, gpointer user_data) : Run Last
|
the object which received the signal. |
|
user data set when the signal handler was connected. |
"conference-added"
signalvoid user_function (EmpathyCallHandler *empathycallhandler, FsConference *arg1, gpointer user_data) : Run Last
|
the object which received the signal. |
|
|
|
user data set when the signal handler was connected. |
"request-resource"
signalgboolean user_function (EmpathyCallHandler *empathycallhandler, guint arg1, guint arg2, gpointer user_data) : Run Last
|
the object which received the signal. |
|
|
|
|
|
user data set when the signal handler was connected. |
Returns : |
"sink-pad-added"
signalvoid user_function (EmpathyCallHandler *empathycallhandler, GstPad *arg1, guint arg2, gpointer user_data) : Run Last
|
the object which received the signal. |
|
|
|
|
|
user data set when the signal handler was connected. |
"src-pad-added"
signalvoid user_function (EmpathyCallHandler *empathycallhandler, GstPad *arg1, guint arg2, gpointer user_data) : Run Last
|
the object which received the signal. |
|
|
|
|
|
user data set when the signal handler was connected. |
"stream-closed"
signalvoid user_function (EmpathyCallHandler *empathycallhandler, TfStream *arg1, gpointer user_data) : Run Last
|
the object which received the signal. |
|
|
|
user data set when the signal handler was connected. |