Top | ![]() |
![]() |
![]() |
![]() |
void wocky_jingle_factory_register_content_type (WockyJingleFactory *self
,gchar *xmlns
,GType content_type
);
GType wocky_jingle_factory_lookup_content_type (WockyJingleFactory *self
,const gchar *xmlns
);
void wocky_jingle_factory_register_transport (WockyJingleFactory *self
,gchar *xmlns
,GType transport_type
);
GType wocky_jingle_factory_lookup_transport (WockyJingleFactory *self
,const gchar *xmlns
);
WockyJingleSession * wocky_jingle_factory_create_session (WockyJingleFactory *fac
,const gchar *jid
,WockyJingleDialect dialect
,gboolean local_hold
);
Creates a new WockyJingleSession to the specified contact. Note that the
session will not be initiated until at least one content is added with
wocky_jingle_session_add_content()
, and those contents are ready.
You would typically determine which dialect
to use from the peer's
capabilities.
fac |
the factory |
|
jid |
the full JID (typically including a resource) to establish a session with |
|
dialect |
the variant of the Jingle protocol to use |
|
local_hold |
whether the call should start out on hold; if in doubt, pass |
WockyJingleInfo *
wocky_jingle_factory_get_jingle_info (WockyJingleFactory *fac
);
“session”
property“session” WockySession *
WockySession to listen for Jingle sessions on.
Flags: Read / Write / Construct Only
“new-session”
signalvoid user_function (WockyJingleFactory *wockyjinglefactory, WockyJingleSession *arg1, gboolean arg2, gpointer user_data)
Flags: Run Last
“query-cap”
signalgboolean user_function (WockyJingleFactory *wockyjinglefactory, WockyContact *arg1, gchar *arg2, gpointer user_data)
Flags: Run Last