Method

PurpleMediaManagerget_element

Declaration [src]

GstElement*
purple_media_manager_get_element (
  PurpleMediaManager* manager,
  PurpleMediaSessionType type,
  PurpleMedia* media,
  const gchar* session_id,
  const gchar* participant
)

Description

No description available.

Parameters

type PurpleMediaSessionType
 

The type of source/sink to get.

media PurpleMedia
 

The media call this element is requested for.

 The data is owned by the caller of the function.
session_id 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 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

Returns: 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.