Method

PurpleMediaget_local_candidates

since: 2.6

Declaration [src]

GList*
purple_media_get_local_candidates (
  PurpleMedia* media,
  const gchar* sess_id,
  const gchar* participant
)

Description [src]

Gets the local candidates from a stream.

Available since: 2.6

Parameters

sess_id

Type: const gchar*

The session id of the session to 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 get the candidates from.

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

Return value

Type: A list of None

The local candidates.

The caller of the method takes ownership of the data, and is responsible for freeing it.