Method

PurpleMediaget_codecs

since: 2.6

Declaration [src]

GList*
purple_media_get_codecs (
  PurpleMedia* media,
  const gchar* sess_id
)

Description [src]

Gets the codecs from a session.

Available since: 2.6

Parameters

sess_id

Type: const gchar*

The session id of the session to get the codecs from.

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

Return value

Type: A list of None

The retrieved codecs.

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