Function
PurpleMediaElementCreateCallback
since: 2.6
Declaration
GstElement*
(* PurpleMediaElementCreateCallback) (
PurpleMediaElementInfo* info,
PurpleMedia* media,
const gchar* session_id,
const gchar* participant
)
Description [src]
A callback that creates a GstElement for the given parameters.
Available since: 2.6
Parameters
info
-
Type:
PurpleMediaElementInfo
The element.
The data is owned by the caller of the function. media
-
Type:
PurpleMedia
The media.
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 element.
The caller of the function takes ownership of the data, and is responsible for freeing it. |