Method

PurpleMediaManagerset_output_window

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.

Parameters

media PurpleMedia
 

The media instance to find the stream in.

 The data is owned by the caller of the function.
session_id 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 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

Returns: gulong
 

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