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_new_streams_selected() can add the selected streams with gst_message_streams_selected_add().

class Message
static
newStreamsSelected

Parameters

src ObjectGst

The #GstObject that created the message

collection StreamCollection

The #GstStreamCollection

Return: a newly allocated #GstMessage

Throws

ConstructionException GTK+ fails to create the object.

Meta

Since

1.10