Table of Contents

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

EventOwnedHandle

Seqnum

public uint Seqnum { get; set; }

Property Value

uint

Timestamp

public ulong Timestamp { get; set; }

Property Value

ulong

Type

public EventType Type { get; set; }

Property Value

EventType

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 Event

An object to compare with this object.

Returns

bool

true if the current object is equal to the other parameter; otherwise, false.

Equals(object?)

Determines whether the specified object is equal to the current object.

public override bool Equals(object? obj)

Parameters

obj object

The object to compare with the current object.

Returns

bool

true if the specified object is equal to the current object; otherwise, false.

GetGType()

public static Type GetGType()

Returns

Type

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

long

GetSeqnum()

public uint GetSeqnum()

Returns

uint

GetStructure()

public Structure? GetStructure()

Returns

Structure

HasName(string)

public bool HasName(string name)

Parameters

name string

Returns

bool

HasNameId(Quark)

[Version("1.18")]
public bool HasNameId(Quark name)

Parameters

name Quark

Returns

bool

NewBufferSize(Format, long, long, bool)

public static Event NewBufferSize(Format format, long minsize, long maxsize, bool async)

Parameters

format Format
minsize long
maxsize long
async bool

Returns

Event

NewCaps(Caps)

public static Event NewCaps(Caps caps)

Parameters

caps Caps

Returns

Event

NewCustom(EventType, Structure)

public static Event NewCustom(EventType type, Structure structure)

Parameters

type EventType
structure Structure

Returns

Event

NewEos()

public static Event NewEos()

Returns

Event

NewFlushStart()

public static Event NewFlushStart()

Returns

Event

NewFlushStop(bool)

public static Event NewFlushStop(bool resetTime)

Parameters

resetTime bool

Returns

Event

NewGap(ClockTime, ClockTime)

public static Event NewGap(ClockTime timestamp, ClockTime duration)

Parameters

timestamp ClockTime
duration ClockTime

Returns

Event

NewInstantRateChange(double, SegmentFlags)

[Version("1.18")]
public static Event NewInstantRateChange(double rateMultiplier, SegmentFlags newFlags)

Parameters

rateMultiplier double
newFlags SegmentFlags

Returns

Event

NewInstantRateSyncTime(double, ClockTime, ClockTime)

[Version("1.18")]
public static Event NewInstantRateSyncTime(double rateMultiplier, ClockTime runningTime, ClockTime upstreamRunningTime)

Parameters

rateMultiplier double
runningTime ClockTime
upstreamRunningTime ClockTime

Returns

Event

NewLatency(ClockTime)

public static Event NewLatency(ClockTime latency)

Parameters

latency ClockTime

Returns

Event

NewNavigation(Structure)

public static Event NewNavigation(Structure structure)

Parameters

structure Structure

Returns

Event

NewProtection(string, Buffer, string)

[Version("1.6")]
public static Event NewProtection(string systemId, Buffer data, string origin)

Parameters

systemId string
data Buffer
origin string

Returns

Event

NewQos(QOSType, double, ClockTimeDiff, ClockTime)

public static Event NewQos(QOSType type, double proportion, ClockTimeDiff diff, ClockTime timestamp)

Parameters

type QOSType
proportion double
diff ClockTimeDiff
timestamp ClockTime

Returns

Event

NewReconfigure()

public static Event NewReconfigure()

Returns

Event

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

rate double
format Format
flags SeekFlags
startType SeekType
start long
stopType SeekType
stop long

Returns

Event

NewSegment(Segment)

public static Event NewSegment(Segment segment)

Parameters

segment Segment

Returns

Event

NewSegmentDone(Format, long)

public static Event NewSegmentDone(Format format, long position)

Parameters

format Format
position long

Returns

Event

NewSelectStreams(List)

[Version("1.10")]
public static Event NewSelectStreams(List streams)

Parameters

streams List

Returns

Event

NewSinkMessage(string, Message)

public static Event NewSinkMessage(string name, Message msg)

Parameters

name string
msg Message

Returns

Event

NewStep(Format, ulong, double, bool, bool)

public static Event NewStep(Format format, ulong amount, double rate, bool flush, bool intermediate)

Parameters

format Format
amount ulong
rate double
flush bool
intermediate bool

Returns

Event

NewStreamCollection(StreamCollection)

[Version("1.10")]
public static Event NewStreamCollection(StreamCollection collection)

Parameters

collection StreamCollection

Returns

Event

NewStreamGroupDone(uint)

[Version("1.10")]
public static Event NewStreamGroupDone(uint groupId)

Parameters

groupId uint

Returns

Event

NewStreamStart(string)

public static Event NewStreamStart(string streamId)

Parameters

streamId string

Returns

Event

NewTag(TagList)

public static Event NewTag(TagList taglist)

Parameters

taglist TagList

Returns

Event

NewToc(Toc, bool)

public static Event NewToc(Toc toc, bool updated)

Parameters

toc Toc
updated bool

Returns

Event

NewTocSelect(string)

public static Event NewTocSelect(string uid)

Parameters

uid string

Returns

Event

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

timestamp ClockTime
duration ClockTime

ParseGroupId(out uint)

[Version("1.2")]
public bool ParseGroupId(out uint groupId)

Parameters

groupId uint

Returns

bool

ParseInstantRateSyncTime(out double, out ClockTime, out ClockTime)

[Version("1.18")]
public void ParseInstantRateSyncTime(out double rateMultiplier, out ClockTime runningTime, out ClockTime upstreamRunningTime)

Parameters

rateMultiplier double
runningTime ClockTime
upstreamRunningTime ClockTime

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()

Returns

Structure