Virtual Method

PurpleMediaBackendset_send_codec

since: 2.7

Declaration [src]

gboolean
set_send_codec (
  PurpleMediaBackend* self,
  const gchar* sess_id,
  PurpleMediaCodec* codec
)

Description [src]

Sets which codec format to send media content in for a session.

Available since: 2.7

Parameters

sess_id

Type: const gchar*

The session id of the session to set the codec for.

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

Type: PurpleMediaCodec

The codec to set.

The data is owned by the caller of the function.

Return value

Type: gboolean

True if set successfully, otherwise False.