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 #GstStreamCollection to which the various streams belong to.

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

Parameters

src gst.object.ObjectGst

The #GstObject that created the message

collection gst.stream_collection.StreamCollection

The #GstStreamCollection

Return Value

Type: gst.message.Message

a newly allocated #GstMessage