Method

PurpleMediaBackendset_require_encryption

since: 2.14

Declaration [src]

gboolean
purple_media_backend_set_require_encryption (
  PurpleMediaBackend* self,
  const gchar* sess_id,
  const gchar* participant,
  gboolean require_encryption
)

Description [src]

Sets whether a session participant’s media requires encryption.

Available since: 2.14

Parameters

sess_id

Type: const gchar*

The id of the session to set parameters of.

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 of the session to set parameters of.

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

Type: gboolean

TRUE if the media requires encryption.

Return value

Type: gboolean

TRUE if the change was successful.