Class

PurpleMediaManager

Description [src]

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

The media manager’s data.

Ancestors

Functions

purple_media_manager_get

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

since: 2.6

Instance methods

purple_media_manager_create_media

Creates a media session.

since: 2.6

purple_media_manager_create_output_window

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

since: 2.6

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.

since: 2.6

purple_media_manager_enumerate_elements

Enumerates the elements in manager filtered by type.

since: 3.0

purple_media_manager_get_active_element

Gets the element that is currently active.

since: 2.6

purple_media_manager_get_backend_type

Gets which media backend type media objects will use.

since: 2.7

purple_media_manager_get_element

Gets the media element for the given session.

since: 2.6

purple_media_manager_get_element_info

Gets the element info for the element named name in manager.

since: 2.6

purple_media_manager_get_media

Gets all of the media sessions.

since: 2.6

purple_media_manager_get_media_by_account

Gets all of the media sessions for a given account.

since: 2.6

purple_media_manager_get_pipeline

Gets the pipeline from the media manager.

since: 2.6

purple_media_manager_get_private_media

Gets all of the private media sessions.

since: 2.11

purple_media_manager_get_private_media_by_account

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

since: 2.11

purple_media_manager_get_ui_caps

Gets which media caps the UI supports.

since: 2.6

purple_media_manager_get_video_caps

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

since: 2.8

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.

since: 2.6

purple_media_manager_register_element

Registers info with manager.

since: 2.6

purple_media_manager_remove_media

Removes a media session from the media manager.

since: 2.6

purple_media_manager_remove_output_window

Remove a previously registered output window.

since: 2.6

purple_media_manager_remove_output_windows

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

since: 2.6

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).

since: 2.6

purple_media_manager_set_active_element

Attempts to activate info as the active element.

since: 2.6

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.

since: 2.6

purple_media_manager_set_backend_type

Sets which media backend type media objects will use.

since: 2.7

purple_media_manager_set_output_window

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

since: 2.6

purple_media_manager_set_ui_caps

Sets which media caps the UI supports.

since: 2.6

purple_media_manager_set_video_caps

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

since: 2.8

purple_media_manager_unregister_element

Unregisters the elemented named name from manager.

since: 2.6

Methods inherited from GObject (43)

Please see GObject for a full list of methods.

Signals

Purple.MediaManager::elements-changed

Emitted when the elements have changed in manager.

Purple.MediaManager::init-media

Emitted to initialize media.

Purple.MediaManager::init-private-media

Emitted to initialize media but not tell the user interface about it.

Purple.MediaManager::ui-caps-changed

Emitted when the user interface capabilities have changed.

Signals inherited from GObject (1)
GObject::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.