Class Event
- Namespace
- Gst
- Assembly
- Gst-1.0.dll
public sealed class Event : BoxedRecord, IEquatable<Event>
- Inheritance
-
Event
- Implements
- Inherited Members
Constructors
Event()
public Event()
Event(EventOwnedHandle)
public Event(EventOwnedHandle handle)
Parameters
handle
EventOwnedHandle
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
segment
Segment
Equals(Event?)
Indicates whether the current object is equal to another object of the same type.
public bool Equals(Event? other)
Parameters
other
EventAn 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
obj
objectThe 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
name
string
Returns
HasNameId(Quark)
[Version("1.18")]
public bool HasNameId(Quark name)
Parameters
name
Quark
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
caps
Caps
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
resetTime
bool
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
rateMultiplier
doublenewFlags
SegmentFlags
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
latency
ClockTime
Returns
NewNavigation(Structure)
public static Event NewNavigation(Structure structure)
Parameters
structure
Structure
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
type
QOSTypeproportion
doublediff
ClockTimeDifftimestamp
ClockTime
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
segment
Segment
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
streams
List
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
collection
StreamCollection
Returns
NewStreamGroupDone(uint)
[Version("1.10")]
public static Event NewStreamGroupDone(uint groupId)
Parameters
groupId
uint
Returns
NewStreamStart(string)
public static Event NewStreamStart(string streamId)
Parameters
streamId
string
Returns
NewTag(TagList)
public static Event NewTag(TagList taglist)
Parameters
taglist
TagList
Returns
NewToc(Toc, bool)
public static Event NewToc(Toc toc, bool updated)
Parameters
Returns
NewTocSelect(string)
public static Event NewTocSelect(string uid)
Parameters
uid
string
Returns
ParseFlushStop(out bool)
public void ParseFlushStop(out bool resetTime)
Parameters
resetTime
bool
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
groupId
uint
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
latency
ClockTime
ParseSeekTrickmodeInterval(out ClockTime)
[Version("1.16")]
public void ParseSeekTrickmodeInterval(out ClockTime interval)
Parameters
interval
ClockTime
ParseStreamGroupDone(out uint)
[Version("1.10")]
public void ParseStreamGroupDone(out uint groupId)
Parameters
groupId
uint
ParseStreamStart(out string)
public void ParseStreamStart(out string streamId)
Parameters
streamId
string
ParseTocSelect(out string)
public void ParseTocSelect(out string uid)
Parameters
uid
string
SetGapFlags(GapFlags)
[Version("1.20")]
public void SetGapFlags(GapFlags flags)
Parameters
flags
GapFlags
SetGroupId(uint)
[Version("1.2")]
public void SetGroupId(uint groupId)
Parameters
groupId
uint
SetRunningTimeOffset(long)
[Version("1.4")]
public void SetRunningTimeOffset(long offset)
Parameters
offset
long
SetSeekTrickmodeInterval(ClockTime)
[Version("1.16")]
public void SetSeekTrickmodeInterval(ClockTime interval)
Parameters
interval
ClockTime
SetSeqnum(uint)
public void SetSeqnum(uint seqnum)
Parameters
seqnum
uint
SetStream(Stream)
[Version("1.10")]
public void SetStream(Stream stream)
Parameters
stream
Stream
SetStreamFlags(StreamFlags)
[Version("1.2")]
public void SetStreamFlags(StreamFlags flags)
Parameters
flags
StreamFlags
WritableStructure()
public Structure WritableStructure()