Method
PurpleMediaManagerget_element
Declaration [src]
GstElement*
purple_media_manager_get_element (
PurpleMediaManager* manager,
PurpleMediaSessionType type,
PurpleMedia* media,
const gchar* session_id,
const gchar* participant
)
Parameters
type
-
Type:
PurpleMediaSessionType
The type of source/sink to get.
media
-
Type:
PurpleMedia
The media call this element is requested for.
The data is owned by the caller of the function. session_id
-
Type:
const gchar*
The id of the session this element is requested for or NULL.
The data is owned by the caller of the function. The value is a NUL terminated UTF-8 string. participant
-
Type:
const gchar*
The remote user this element is requested for or NULL.
The data is owned by the caller of the function. The value is a NUL terminated UTF-8 string.
Return value
Type: GstElement
A GStreamer source or sink for audio or video.
The caller of the method takes ownership of the data, and is responsible for freeing it. |