Method

PurpleMediaset_send_codec

since: 2.6

Declaration [src]

gboolean
purple_media_set_send_codec (
  PurpleMedia* media,
  const gchar* sess_id,
  PurpleMediaCodec* codec
)

Description [src]

Sets the send codec for the a session.

Available since: 2.6

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 session to stream.

The data is owned by the caller of the function.

Return value

Type: gboolean

TRUE The codec was successfully changed, or FALSE otherwise.