Virtual Method

PurpleMediaBackendset_remote_codecs

since: 2.7

Declaration [src]

gboolean
set_remote_codecs (
  PurpleMediaBackend* self,
  const gchar* sess_id,
  const gchar* participant,
  GList* codecs
)

Description [src]

Sets the remote codecs on a stream.

Available since: 2.7

Parameters

sess_id

Type: const gchar*

The session id the stream is associated with.

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 stream is associated with.

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 if the remote codecs were set successfully, otherwise False.