EmpathyTpCall

EmpathyTpCall

Synopsis

                    EmpathyTpCall;
enum                EmpathyTpCallStatus;
EmpathyTpCall*      empathy_tp_call_new                 (TpChannel *channel);
void                empathy_tp_call_accept_incoming_call
                                                        (EmpathyTpCall *call);
void                empathy_tp_call_request_video_stream_direction
                                                        (EmpathyTpCall *call,
                                                         gboolean is_sending);
void                empathy_tp_call_add_preview_video   (EmpathyTpCall *call,
                                                         guint preview_video_socket_id);
void                empathy_tp_call_remove_preview_video
                                                        (EmpathyTpCall *call,
                                                         guint preview_video_socket_id);
void                empathy_tp_call_add_output_video    (EmpathyTpCall *call,
                                                         guint output_video_socket_id);
void                empathy_tp_call_set_output_volume   (EmpathyTpCall *call,
                                                         guint volume);
void                empathy_tp_call_mute_output         (EmpathyTpCall *call,
                                                         gboolean is_muted);
void                empathy_tp_call_mute_input          (EmpathyTpCall *call,
                                                         gboolean is_muted);
void                empathy_tp_call_start_tone          (EmpathyTpCall *call,
                                                         TpDTMFEvent event);
void                empathy_tp_call_stop_tone           (EmpathyTpCall *call);
gboolean            empathy_tp_call_has_dtmf            (EmpathyTpCall *call);

Object Hierarchy

  GObject
   +----EmpathyTpCall

Properties

  "audio-stream"             gpointer              : Read
  "channel"                  TpChannel*            : Read / Write / Construct Only
  "contact"                  EmpathyContact*       : Read
  "is-incoming"              gboolean              : Read
  "status"                   guint                 : Read
  "video-stream"             gpointer              : Read

Description

Details

EmpathyTpCall

typedef struct _EmpathyTpCall EmpathyTpCall;


enum EmpathyTpCallStatus

typedef enum
{
  EMPATHY_TP_CALL_STATUS_READYING,
  EMPATHY_TP_CALL_STATUS_PENDING,
  EMPATHY_TP_CALL_STATUS_ACCEPTED,
  EMPATHY_TP_CALL_STATUS_CLOSED
} EmpathyTpCallStatus;


empathy_tp_call_new ()

EmpathyTpCall*      empathy_tp_call_new                 (TpChannel *channel);

channel :

Returns :


empathy_tp_call_accept_incoming_call ()

void                empathy_tp_call_accept_incoming_call
                                                        (EmpathyTpCall *call);

call :


empathy_tp_call_request_video_stream_direction ()

void                empathy_tp_call_request_video_stream_direction
                                                        (EmpathyTpCall *call,
                                                         gboolean is_sending);

call :

is_sending :


empathy_tp_call_add_preview_video ()

void                empathy_tp_call_add_preview_video   (EmpathyTpCall *call,
                                                         guint preview_video_socket_id);

call :

preview_video_socket_id :


empathy_tp_call_remove_preview_video ()

void                empathy_tp_call_remove_preview_video
                                                        (EmpathyTpCall *call,
                                                         guint preview_video_socket_id);

call :

preview_video_socket_id :


empathy_tp_call_add_output_video ()

void                empathy_tp_call_add_output_video    (EmpathyTpCall *call,
                                                         guint output_video_socket_id);

call :

output_video_socket_id :


empathy_tp_call_set_output_volume ()

void                empathy_tp_call_set_output_volume   (EmpathyTpCall *call,
                                                         guint volume);

call :

volume :


empathy_tp_call_mute_output ()

void                empathy_tp_call_mute_output         (EmpathyTpCall *call,
                                                         gboolean is_muted);

call :

is_muted :


empathy_tp_call_mute_input ()

void                empathy_tp_call_mute_input          (EmpathyTpCall *call,
                                                         gboolean is_muted);

call :

is_muted :


empathy_tp_call_start_tone ()

void                empathy_tp_call_start_tone          (EmpathyTpCall *call,
                                                         TpDTMFEvent event);

call :

event :


empathy_tp_call_stop_tone ()

void                empathy_tp_call_stop_tone           (EmpathyTpCall *call);

call :


empathy_tp_call_has_dtmf ()

gboolean            empathy_tp_call_has_dtmf            (EmpathyTpCall *call);

call :

Returns :

Property Details

The "audio-stream" property

  "audio-stream"             gpointer              : Read

Audio stream data.


The "channel" property

  "channel"                  TpChannel*            : Read / Write / Construct Only

channel.


The "contact" property

  "contact"                  EmpathyContact*       : Read

Call contact.


The "is-incoming" property

  "is-incoming"              gboolean              : Read

Is media stream incoming.

Default value: FALSE


The "status" property

  "status"                   guint                 : Read

Call status.

Allowed values: <= 255

Default value: 0


The "video-stream" property

  "video-stream"             gpointer              : Read

Video stream data.