Method

PurpleMediaset_remote_codecs

since: 2.6

Declaration [src]

gboolean
purple_media_set_remote_codecs (
  PurpleMedia* media,
  const gchar* sess_id,
  const gchar* participant,
  GList* codecs
)

Description [src]

Sets remote codecs from the stream.

Available since: 2.6

Parameters

sess_id

Type: const gchar*

The session id of the session find the stream in.

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

Type: const gchar*

The name of the remote user to set the codecs for.

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

Type: A list of None

The list of remote codecs to set.

The data is owned by the caller of the function.

Return value

Type: gboolean

TRUE The codecs were set successfully, or FALSE otherwise.