Method
PurpleMediaManagercreate_media
Declaration [src]
PurpleMedia*
purple_media_manager_create_media (
PurpleMediaManager* manager,
PurpleAccount* account,
const char* conference_type,
const char* remote_user,
gboolean initiator
)
Parameters
account
-
Type:
PurpleAccount
The account to create the session on.
The data is owned by the caller of the function. conference_type
-
Type:
const char*
The conference type to feed into Farstream.
The data is owned by the caller of the function. The value is a NUL terminated UTF-8 string. remote_user
-
Type:
const char*
The remote user to initiate the session with.
The data is owned by the caller of the function. The value is a NUL terminated UTF-8 string. initiator
-
Type:
gboolean
TRUE if the local user is the initiator of this media call, FALSE otherwise.
Return value
Type: PurpleMedia
A newly created media session.
The caller of the method takes ownership of the data, and is responsible for freeing it. |