RB.Player::event

def callback(player, stream_data, data, user_param1, ...)

The 'event' signal provides a means for custom GStreamer elements to communicate events back to the rest of the application. The GStreamer element posts an application message on the GStreamer bus, which is translated into an event signal with the detail of the signal set to the name of the structure found in the message.

player :

instance of RB.Player that is emitting the signal

stream_data :

data associated with the stream

data :

event data

user_param1 :

first user parameter (if any) specified with the connect() method

... :

additional user parameters (if any)