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

srcThe #GstObject that created the message
collectionThe #GstStreamCollection

Returns

a newly allocated #GstMessage