gst.stream_collection
Module for [StreamCollection] class
Types 3
A collection of #GstStream that are available.
A #GstStreamCollection will be provided by elements that can make those streams available. Applications can use the collection to show the user what streams are available by using %gst.stream_collection.StreamCollection.getStream
Once posted, a #GstStreamCollection is immutable. Updates are made by sending a new #GstStreamCollection message, which may or may not share some of the #GstStream objects from the collection it replaces. The receiver can check the sender of a stream collection message to know which collection is obsoleted.
Several elements in a pipeline can provide #GstStreamCollection.
Applications can activate streams from a collection by using the #GST_EVENT_SELECT_STREAMS event on a pipeline, bin or element.
StreamCollectionGidBuilder builder() static nothrowGet builder for [gst.stream_collection.StreamCollection] Returns: New builder objectvoid upstreamId(string propval) @property nothrowSet `upstreamId` property. Params: propval = stream-iduint getSize() nothrowGet the number of streams this collection contains Returns: The number of streams that collection containsgst.stream.Stream getStream(uint index) nothrowRetrieve the #GstStream with index index from the collection.gulong connectStreamNotify(T)(string detail = null, T callback, Flag!"After" after = No.After) if (isCallable!T
&& is(ReturnType!T == void)
&& (Parameters!T.length < 1 || (ParameterStorageClassTuple!T[0] == ParameterStorageClass.none && is(Parameters!T[0] : gst.stream.Stream)))
&& (Parameters!T.length < 2 || (ParameterStorageClassTuple!T[1] == ParameterStorageClass.none && is(Parameters!T[1] == gobject.param_spec.ParamSpec)))
&& (Parameters!T.length < 3 || (ParameterStorageClassTuple!T[2] == ParameterStorageClass.none && is(Parameters!T[2] : gst.stream_collection.StreamCollection)))
&& Parameters!T.length < 4) nothrowConnect to `StreamNotify` signal.Fluent builder implementation template for gst.stream_collection.StreamCollection
T upstreamId(string propval) nothrowSet `upstreamId` property. Params: propval = stream-id Returns: Builder instance for fluent chainingFluent builder for gst.stream_collection.StreamCollection