Message.newStreamsSelected
gst.message.Message newStreamsSelected(gst.object.ObjectWrap src, gst.stream_collection.StreamCollection collection)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 | The #GstObject that created the message |
collection | The #GstStreamCollection |
Returns
a newly allocated #GstMessage