Top | ![]() |
![]() |
![]() |
![]() |
gchar * | content-ns | Read / Write |
gchar * | disposition | Read / Write |
gboolean | locally-created | Read |
gchar * | name | Read / Write / Construct Only |
guint | senders | Read / Write |
WockyJingleSession * | session | Read / Write / Construct Only |
guint | state | Read / Write |
gchar * | transport-ns | Read / Write |
void | completed | Run Last |
void | new-candidates | Run Last |
void | new-share-channel | Run Last |
void | ready | Has Details |
void | removed | Has Details |
void wocky_jingle_content_parse_add (WockyJingleContent *c
,WockyNode *content_node
,gboolean google_mode
,GError **error
);
void wocky_jingle_content_update_senders (WockyJingleContent *c
,WockyNode *content_node
,GError **error
);
void wocky_jingle_content_produce_node (WockyJingleContent *c
,WockyNode *parent
,gboolean include_description
,gboolean include_transport
,WockyNode **trans_node_out
);
void wocky_jingle_content_parse_accept (WockyJingleContent *c
,WockyNode *content_node
,gboolean google_mode
,GError **error
);
void wocky_jingle_content_parse_info (WockyJingleContent *c
,WockyNode *content_node
,GError **error
);
void wocky_jingle_content_parse_transport_info (WockyJingleContent *self
,WockyNode *trans_node
,GError **error
);
void wocky_jingle_content_parse_description_info (WockyJingleContent *self
,WockyNode *trans_node
,GError **error
);
guint wocky_jingle_content_create_share_channel (WockyJingleContent *self
,const gchar *name
);
void wocky_jingle_content_add_candidates (WockyJingleContent *self
,GList *li
);
Adds the candidates listed in li
to the content, communicating them to the
peer if appropriate.
self |
the content |
|
li |
a list of
WockyJingleCandidate structs, allocated with |
[element-type WockyJingleCandidate][transfer full] |
void wocky_jingle_content_set_transport_state (WockyJingleContent *content
,WockyJingleTransportState state
);
void wocky_jingle_content_remove (WockyJingleContent *c
,gboolean signal_peer
);
void wocky_jingle_content_reject (WockyJingleContent *c
,WockyJingleReason reason
);
GList *
wocky_jingle_content_get_remote_candidates
(WockyJingleContent *c
);
GList *
wocky_jingle_content_get_local_candidates
(WockyJingleContent *c
);
gboolean wocky_jingle_content_get_credentials (WockyJingleContent *c
,gchar **ufrag
,gchar **pwd
);
gboolean wocky_jingle_content_change_direction (WockyJingleContent *c
,WockyJingleContentSenders senders
);
void wocky_jingle_content_retransmit_candidates (WockyJingleContent *self
,gboolean all
);
void wocky_jingle_content_inject_candidates (WockyJingleContent *self
,WockyNode *transport_node
);
gboolean
wocky_jingle_content_is_created_by_us (WockyJingleContent *c
);
gboolean
wocky_jingle_content_creator_is_initiator
(WockyJingleContent *c
);
const gchar *
wocky_jingle_content_get_name (WockyJingleContent *self
);
const gchar *
wocky_jingle_content_get_ns (WockyJingleContent *self
);
const gchar *
wocky_jingle_content_get_disposition (WockyJingleContent *self
);
WockyJingleTransportType
wocky_jingle_content_get_transport_type
(WockyJingleContent *c
);
const gchar *
wocky_jingle_content_get_transport_ns (WockyJingleContent *self
);
void
wocky_jingle_content_maybe_send_description
(WockyJingleContent *self
);
gboolean
wocky_jingle_content_receiving (WockyJingleContent *self
);
void wocky_jingle_content_set_sending (WockyJingleContent *self
,gboolean send
);
void wocky_jingle_content_request_receiving (WockyJingleContent *self
,gboolean receive
);
void
wocky_jingle_content_send_complete (WockyJingleContent *self
);
“content-ns”
property“content-ns” gchar *
Namespace identifying the content type.
Flags: Read / Write
Default value: NULL
“disposition”
property“disposition” gchar *
Distinguishes between 'session' and other contents.
Flags: Read / Write
Default value: NULL
“locally-created”
property“locally-created” gboolean
True if the content was created by the local client.
Flags: Read
Default value: FALSE
“name”
property“name” gchar *
A unique content name in the session.
Flags: Read / Write / Construct Only
Default value: NULL
“senders”
property“senders” guint
Valid senders for the stream.
Flags: Read / Write
Default value: 0
“session”
property“session” WockyJingleSession *
Jingle session object that owns this content.
Flags: Read / Write / Construct Only
“state”
property“state” guint
The current state that the content is in.
Flags: Read / Write
Default value: 0
“transport-ns”
property“transport-ns” gchar *
Namespace identifying the transport type.
Flags: Read / Write
Default value: NULL
“completed”
signalvoid user_function (WockyJingleContent *wockyjinglecontent, gpointer user_data)
Flags: Run Last
“new-candidates”
signalvoid user_function (WockyJingleContent *content, gpointer candidates, gpointer user_data)
Emitted when new candidates are received from the peer.
content |
the content |
|
candidates |
a GList of new candidates. |
[type GList][element-type WockyJingleCandidate] |
user_data |
user data set when the signal handler was connected. |
Flags: Run Last
“new-share-channel”
signalvoid user_function (WockyJingleContent *wockyjinglecontent, gchar *arg1, guint arg2, gpointer user_data)
Flags: Run Last
“ready”
signalvoid user_function (WockyJingleContent *wockyjinglecontent, gpointer user_data)
Flags: Has Details
“removed”
signalvoid user_function (WockyJingleContent *wockyjinglecontent, gpointer user_data)
Flags: Has Details