Top |
void | (*OwrBusMessageCallback) () |
OwrBus * | owr_bus_new () |
void | owr_bus_set_message_callback () |
void | owr_bus_add_message_origin () |
void | owr_bus_remove_message_origin () |
void (*OwrBusMessageCallback) (OwrMessageOrigin *origin
,OwrMessageType type
,OwrMessageSubType sub_type
,GHashTable *data
,gpointer user_data
);
origin |
the origin of the message, an OwrMessageOrigin. |
[transfer none] |
type |
the OwrMessageType of the message |
|
sub_type |
the OwrMessageSubType of the message |
|
data |
the data passed to owr_bus_set_message_callback. |
[element-type utf8 GValue][nullable][transfer none] |
user_data |
the data passed to owr_bus_set_message_callback. |
[nullable] |
void owr_bus_set_message_callback (OwrBus *bus
,OwrBusMessageCallback callback
,gpointer user_data
,GDestroyNotify destroy_data
);
bus |
an OwrBus |
|
callback |
(scope notified) |
|
user_data |
user data for |
[nullable] |
destroy_data |
a GDestroyNotify for |
[nullable] |
void owr_bus_add_message_origin (OwrBus *bus
,OwrMessageOrigin *origin
);
Adds a message origin to the bus, adding an already existing message origin has no effect.
void owr_bus_remove_message_origin (OwrBus *bus
,OwrMessageOrigin *origin
);
Removes a message origin from the bus if it exists, otherwise nothing is done.
OWR_ERROR_TYPE_PROCESSING_ERROR
: a processing error occured, the origin of the error
will likely not be able to produce or consume anymore data.
OWR_STATS_TYPE_SCHEDULE
: information about a call that was scheduled on the main thread
OWR_STATS_TYPE_SEND_PIPELINE_ADDED
: a send pipeline was added to a media session
OWR_STATS_TYPE_SEND_PIPELINE_REMOVED
: a send pipeline was removed to a media session
OWR_EVENT_TYPE_RENDERER_STARTED
: a renderer was started
OWR_EVENT_TYPE_RENDERER_STOPPED
: a renderer was stopped
OWR_EVENT_TYPE_LOCAL_SOURCE_STARTED
: a local media source was started
OWR_EVENT_TYPE_LOCAL_SOURCE_STOPPED
: a local media source was stopped