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(double rateMultiplier, GstSegmentFlags newFlags)
- this(double rateMultiplier, GstClockTime runningTime, GstClockTime upstreamRunningTime)
- 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
Creates a new event containing information specific to a particular protection system (uniquely identified by @system_id), by which that protection system can acquire key(s) to decrypt a protected stream.
In order for a decryption element to decrypt media protected using a specific system, it first needs all the protection system specific information necessary to acquire the decryption key(s) for that stream. The functions defined here enable this information to be passed in events from elements that extract it (e.g., ISOBMFF demuxers, MPEG DASH demuxers) to protection decrypter elements that use it.
Events containing protection system specific information are created using #gst_event_new_protection, and they can be parsed by downstream elements using #gst_event_parse_protection.
In Common Encryption, protection system specific information may be located within ISOBMFF files, both in movie (moov) boxes and movie fragment (moof) boxes; it may also be contained in ContentProtection elements within MPEG DASH MPDs. The events created by #gst_event_new_protection contain data identifying from which of these locations the encapsulated protection system specific information originated. This origin information is required as some protection systems use different encodings depending upon where the information originates.
The events returned by gst_event_new_protection() are implemented in such a way as to ensure that the most recently-pushed protection info event of a particular @origin and @system_id will be stuck to the output pad of the sending element.