Class

PurpleMediaManager

Description

final class Purple.MediaManager : GObject.Object {
  /* No available fields */
}
No description available.

Ancestors

Functions

purple_media_manager_get

Gets the “global” media manager object. It’s created if it doesn’t already exist.

Instance methods

purple_media_manager_create_media

Creates a media session.

purple_media_manager_create_output_window

Signals that output windows should be created for the chosen stream.

purple_media_manager_create_private_media

Creates a private media session. A private media session is a media session which is private to the caller. It is meant to be used by plugins to create a media session that the front-end does not get notified about. It is useful especially for sessions with a type of PURPLE_MEDIA_APPLICATION which the front-end wouldn’t know how to handle.

purple_media_manager_enumerate_elements
No description available.

Available since: 3.0.0

purple_media_manager_get_active_element
No description available.
purple_media_manager_get_backend_type

Gets which media backend type media objects will use.

purple_media_manager_get_element
No description available.
purple_media_manager_get_element_info
No description available.
purple_media_manager_get_media

Gets all of the media sessions.

purple_media_manager_get_media_by_account

Gets all of the media sessions for a given account.

purple_media_manager_get_pipeline

Gets the pipeline from the media manager.

purple_media_manager_get_private_media

Gets all of the private media sessions.

purple_media_manager_get_private_media_by_account

Gets all of the private media sessions for a given account.

purple_media_manager_get_ui_caps

Gets which media caps the UI supports.

purple_media_manager_get_video_caps

Returns current set of media formats limiting the output from video source.

purple_media_manager_receive_application_data

Receive a buffer of data from a #PURPLE_MEDIA_APPLICATION session. If blocking is set, unless an error occurred, the function will not return until max_size bytes are read.

purple_media_manager_register_element
No description available.
purple_media_manager_remove_media

Removes a media session from the media manager.

purple_media_manager_remove_output_window

Remove a previously registered output window.

purple_media_manager_remove_output_windows

Remove all output windows for a given conference/session/participant/stream.

purple_media_manager_send_application_data

Sends a buffer of data to a #PURPLE_MEDIA_APPLICATION session. If blocking is set, unless an error occurred, the function will not return until the data has been flushed into the network. If the stream is not writable, the data will be queued. It is the responsibility of the user to stop sending data when the stream isn’t writable anymore. It is also the responsibility of the user to only start sending data after the stream has been configured correctly (encryption parameters for example).

purple_media_manager_set_active_element
No description available.
purple_media_manager_set_application_data_callbacks

Set callbacks on a session to be called when the stream becomes writable or readable for media sessions of type #PURPLE_MEDIA_APPLICATION.

purple_media_manager_set_backend_type

Sets which media backend type media objects will use.

purple_media_manager_set_output_window

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

purple_media_manager_set_ui_caps

Sets which media caps the UI supports.

purple_media_manager_set_video_caps

Reduces media formats supported by the video source to given set.

purple_media_manager_unregister_element
No description available.
Methods inherited from GObject (43)

Please see GObject for a full list of methods.

Signals

Purple.MediaManager::elements-changed
No description available.
Purple.MediaManager::init-media
No description available.
Purple.MediaManager::init-private-media
No description available.
Purple.MediaManager::ui-caps-changed
No description available.
Signals inherited from GObject (1)
GObject.Object::notify

The notify signal is emitted on an object when one of its properties has its value set through g_object_set_property(), g_object_set(), et al.

Class structure

struct PurpleMediaManagerClass {
  GObjectClass parent_class;
  
}

The media manager class.

Class members
parent_class
GObjectClass
  No description available.