Class Event
- Namespace
- Gst
- Assembly
- Gst-1.0.dll
public sealed class Event : BoxedRecord, GTypeProvider, InstanceFactory, IEquatable<Event>, IDisposable
- Inheritance
-
Event
- Implements
- Inherited Members
Constructors
Event()
public Event()
Event(EventOwnedHandle)
public Event(EventOwnedHandle handle)
Parameters
handleEventOwnedHandle
Properties
Handle
public EventOwnedHandle Handle { get; }
Property Value
Seqnum
public uint Seqnum { get; set; }
Property Value
Timestamp
public ulong Timestamp { get; set; }
Property Value
Type
public EventType Type { get; set; }
Property Value
Methods
CopySegment(Segment)
public void CopySegment(Segment segment)
Parameters
segmentSegment
Dispose()
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
public void Dispose()
Equals(Event?)
Indicates whether the current object is equal to another object of the same type.
public bool Equals(Event? other)
Parameters
otherEventAn object to compare with this object.
Returns
Equals(object?)
Determines whether the specified object is equal to the current object.
public override bool Equals(object? obj)
Parameters
objobjectThe object to compare with the current object.
Returns
GetGType()
public static Type GetGType()
Returns
GetHashCode()
Serves as the default hash function.
public override int GetHashCode()
Returns
- int
A hash code for the current object.
GetRunningTimeOffset()
[Version("1.4")]
public long GetRunningTimeOffset()
Returns
GetSeqnum()
public uint GetSeqnum()
Returns
GetStructure()
public Structure? GetStructure()
Returns
HasName(string)
public bool HasName(string name)
Parameters
namestring
Returns
HasNameId(Quark)
[Version("1.18")]
public bool HasNameId(Quark name)
Parameters
nameQuark
Returns
NewBufferSize(Format, long, long, bool)
public static Event NewBufferSize(Format format, long minsize, long maxsize, bool async)
Parameters
Returns
NewCaps(Caps)
public static Event NewCaps(Caps caps)
Parameters
capsCaps
Returns
NewCustom(EventType, Structure)
public static Event NewCustom(EventType type, Structure structure)
Parameters
Returns
NewEos()
public static Event NewEos()
Returns
NewFlushStart()
public static Event NewFlushStart()
Returns
NewFlushStop(bool)
public static Event NewFlushStop(bool resetTime)
Parameters
resetTimebool
Returns
NewGap(ClockTime, ClockTime)
public static Event NewGap(ClockTime timestamp, ClockTime duration)
Parameters
Returns
NewInstantRateChange(double, SegmentFlags)
[Version("1.18")]
public static Event NewInstantRateChange(double rateMultiplier, SegmentFlags newFlags)
Parameters
rateMultiplierdoublenewFlagsSegmentFlags
Returns
NewInstantRateSyncTime(double, ClockTime, ClockTime)
[Version("1.18")]
public static Event NewInstantRateSyncTime(double rateMultiplier, ClockTime runningTime, ClockTime upstreamRunningTime)
Parameters
Returns
NewLatency(ClockTime)
public static Event NewLatency(ClockTime latency)
Parameters
latencyClockTime
Returns
NewNavigation(Structure)
public static Event NewNavigation(Structure structure)
Parameters
structureStructure
Returns
NewProtection(string, Buffer, string)
[Version("1.6")]
public static Event NewProtection(string systemId, Buffer data, string origin)
Parameters
Returns
NewQos(QOSType, double, ClockTimeDiff, ClockTime)
public static Event NewQos(QOSType type, double proportion, ClockTimeDiff diff, ClockTime timestamp)
Parameters
typeQOSTypeproportiondoublediffClockTimeDifftimestampClockTime
Returns
NewReconfigure()
public static Event NewReconfigure()
Returns
NewSeek(double, Format, SeekFlags, SeekType, long, SeekType, long)
public static Event NewSeek(double rate, Format format, SeekFlags flags, SeekType startType, long start, SeekType stopType, long stop)
Parameters
Returns
NewSegment(Segment)
public static Event NewSegment(Segment segment)
Parameters
segmentSegment
Returns
NewSegmentDone(Format, long)
public static Event NewSegmentDone(Format format, long position)
Parameters
Returns
NewSelectStreams(List)
[Version("1.10")]
public static Event NewSelectStreams(List streams)
Parameters
streamsList
Returns
NewSinkMessage(string, Message)
public static Event NewSinkMessage(string name, Message msg)
Parameters
Returns
NewStep(Format, ulong, double, bool, bool)
public static Event NewStep(Format format, ulong amount, double rate, bool flush, bool intermediate)
Parameters
Returns
NewStreamCollection(StreamCollection)
[Version("1.10")]
public static Event NewStreamCollection(StreamCollection collection)
Parameters
collectionStreamCollection
Returns
NewStreamGroupDone(uint)
[Version("1.10")]
public static Event NewStreamGroupDone(uint groupId)
Parameters
groupIduint
Returns
NewStreamStart(string)
public static Event NewStreamStart(string streamId)
Parameters
streamIdstring
Returns
NewTag(TagList)
public static Event NewTag(TagList taglist)
Parameters
taglistTagList
Returns
NewToc(Toc, bool)
public static Event NewToc(Toc toc, bool updated)
Parameters
Returns
NewTocSelect(string)
public static Event NewTocSelect(string uid)
Parameters
uidstring
Returns
ParseFlushStop(out bool)
public void ParseFlushStop(out bool resetTime)
Parameters
resetTimebool
ParseGap(out ClockTime, out ClockTime)
public void ParseGap(out ClockTime timestamp, out ClockTime duration)
Parameters
ParseGroupId(out uint)
[Version("1.2")]
public bool ParseGroupId(out uint groupId)
Parameters
groupIduint
Returns
ParseInstantRateSyncTime(out double, out ClockTime, out ClockTime)
[Version("1.18")]
public void ParseInstantRateSyncTime(out double rateMultiplier, out ClockTime runningTime, out ClockTime upstreamRunningTime)
Parameters
ParseLatency(out ClockTime)
public void ParseLatency(out ClockTime latency)
Parameters
latencyClockTime
ParseSeekTrickmodeInterval(out ClockTime)
[Version("1.16")]
public void ParseSeekTrickmodeInterval(out ClockTime interval)
Parameters
intervalClockTime
ParseStreamGroupDone(out uint)
[Version("1.10")]
public void ParseStreamGroupDone(out uint groupId)
Parameters
groupIduint
ParseStreamStart(out string)
public void ParseStreamStart(out string streamId)
Parameters
streamIdstring
ParseTocSelect(out string)
public void ParseTocSelect(out string uid)
Parameters
uidstring
SetGapFlags(GapFlags)
[Version("1.20")]
public void SetGapFlags(GapFlags flags)
Parameters
flagsGapFlags
SetGroupId(uint)
[Version("1.2")]
public void SetGroupId(uint groupId)
Parameters
groupIduint
SetRunningTimeOffset(long)
[Version("1.4")]
public void SetRunningTimeOffset(long offset)
Parameters
offsetlong
SetSeekTrickmodeInterval(ClockTime)
[Version("1.16")]
public void SetSeekTrickmodeInterval(ClockTime interval)
Parameters
intervalClockTime
SetSeqnum(uint)
public void SetSeqnum(uint seqnum)
Parameters
seqnumuint
SetStream(Stream)
[Version("1.10")]
public void SetStream(Stream stream)
Parameters
streamStream
SetStreamFlags(StreamFlags)
[Version("1.2")]
public void SetStreamFlags(StreamFlags flags)
Parameters
flagsStreamFlags
WritableStructure()
public Structure WritableStructure()