Event.this
- this(GstEvent* gstEvent, bool ownedRef)
- this(GstFormat format, long minsize, long maxsize, bool async)
- this(Caps caps)
- this(GstEventType type, Structure structure)
- this(bool resetTime)
- this(GstClockTime timestamp, GstClockTime duration)
- this(GstClockTime latency)
- this(Structure structure)
- this(string systemId, Buffer data, string origin)
- this(GstQOSType type, double proportion, GstClockTimeDiff diff, GstClockTime timestamp)
- this()
- this(double rate, GstFormat format, GstSeekFlags flags, GstSeekType startType, long start, GstSeekType stopType, long stop)
- this(Segment segment)
- this(GstFormat format, long position)
- this(ListG streams)
- this(string name, Message msg)
- this(GstFormat format, ulong amount, double rate, bool flush, bool intermediate)
- this(StreamCollection collection)
- this(uint groupId)
- this(string streamId)
- this(TagList taglist)
- this(Toc toc, bool updated)
gstreamer Event Event
constructorsfunctionsstatic functionsvariables
Create a new STREAM_START event. The stream start event can only travel downstream synchronized with the buffer flow. It is expected to be the first event that is sent for a new stream.
Source elements, demuxers and other elements that create new streams are supposed to send this event as the first event of a new stream. It should not be sent after a flushing seek or in similar situations and is used to mark the beginning of a new logical stream. Elements combining multiple streams must ensure that this event is only forwarded downstream once and not for every single input stream.
The @stream_id should be a unique string that consists of the upstream stream-id, / as separator and a unique stream-id for this specific stream. A new stream-id should only be created for a stream if the upstream stream is split into (potentially) multiple new streams, e.g. in a demuxer, but not for every single element in the pipeline. gst_pad_create_stream_id() or gst_pad_create_stream_id_printf() can be used to create a stream-id. There are no particular semantics for the stream-id, though it should be deterministic (to support stream matching) and it might be used to order streams (besides any information conveyed by stream flags).