Method

PurpleMediaManagerset_output_window

since: 2.6

Declaration [src]

gulong
purple_media_manager_set_output_window (
  PurpleMediaManager* manager,
  PurpleMedia* media,
  const gchar* session_id,
  const gchar* participant
)

Description [src]

Registers a video output window to be created for a given stream.

Available since: 2.6

Parameters

media

Type: PurpleMedia

The media instance to find the stream in.

The data is owned by the caller of the function.
session_id

Type: const gchar*

The session 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.

Return value

Type: gulong

A unique ID to the registered output window, 0 if it failed.