Message.newStreamsSelected

Creates a new steams-selected message. The message is used to announce that an array of streams has been selected. This is generally in response to a GST_EVENT_SELECT_STREAMS event, or when an element (such as decodebin3) makes an initial selection of streams.

The message also contains the gstreamer.StreamCollection to which the various streams belong to.

Users of Message.newStreamsSelected can add the selected streams with Message.streamsSelectedAdd.

class Message
static
newStreamsSelected

Parameters

src ObjectGst

The GstObject that created the message

collection StreamCollection

The gstreamer.StreamCollection

Return: a newly allocated gstreamer.Message

Throws

ConstructionException GTK+ fails to create the object.

Meta

Since

1.10