get_message_bus


Description:

public Bus get_message_bus ()

GstPlay API exposes a Bus instance which purpose is to provide data structures representing play-internal events in form of Message<!-- -->s of type GST_MESSAGE_APPLICATION.

Each message carries a "play-message" field of type Message. Further fields of the message data are specific to each possible value of that enumeration.

Applications can consume the messages asynchronously within their own event-loop / UI-thread etc. Note that in case the application does not consume the messages, the bus will accumulate these internally and eventually fill memory. To avoid that, the bus has to be set "flushing".

Parameters:

this

Play instance

Returns:

The play message bus instance