Method

PurpleMediaElementInfocall_create

since: 2.6

Declaration [src]

GstElement*
purple_media_element_info_call_create (
  PurpleMediaElementInfo* info,
  PurpleMedia* media,
  const gchar* session_id,
  const gchar* participant
)

Description [src]

Creates a new call.

Available since: 2.6

Parameters

media

Type: PurpleMedia

The media instance.

The data is owned by the caller of the function.
session_id

Type: const gchar*

The session id.

The data is owned by the caller of the function.
The value is a NUL terminated UTF-8 string.
participant

Type: const gchar*

The participant.

The data is owned by the caller of the function.
The value is a NUL terminated UTF-8 string.

Return value

Type: GstElement

The new GstElement.

The caller of the method takes ownership of the data, and is responsible for freeing it.