Table of Contents

Class AppSink

Namespace
GstApp
Assembly
GstApp-1.0.dll
public class AppSink : BaseSink, URIHandler, NativeObject, IDisposable, GTypeProvider, InstanceFactory
Inheritance
AppSink
Implements
Inherited Members

Constructors

AppSink(params ConstructArgument[])

public AppSink(params ConstructArgument[] constructArguments)

Parameters

constructArguments ConstructArgument[]

AppSink(AppSinkHandle)

public AppSink(AppSinkHandle handle)

Parameters

handle AppSinkHandle

Fields

BufferListPropertyDefinition

public static readonly Property<bool, AppSink> BufferListPropertyDefinition

Field Value

Property<bool, AppSink>

CapsPropertyDefinition

public static readonly Property<Caps, AppSink> CapsPropertyDefinition

Field Value

Property<Caps, AppSink>

DropPropertyDefinition

public static readonly Property<bool, AppSink> DropPropertyDefinition

Field Value

Property<bool, AppSink>

EmitSignalsPropertyDefinition

public static readonly Property<bool, AppSink> EmitSignalsPropertyDefinition

Field Value

Property<bool, AppSink>

EosPropertyDefinition

public static readonly Property<bool, AppSink> EosPropertyDefinition

Field Value

Property<bool, AppSink>

EosSignal

Signal Descriptor for OnEos.

public static readonly Signal<AppSink> EosSignal

Field Value

Signal<AppSink>

MaxBuffersPropertyDefinition

public static readonly Property<uint, AppSink> MaxBuffersPropertyDefinition

Field Value

Property<uint, AppSink>

MaxBytesPropertyDefinition

public static readonly Property<ulong, AppSink> MaxBytesPropertyDefinition

Field Value

Property<ulong, AppSink>

MaxTimePropertyDefinition

public static readonly Property<ulong, AppSink> MaxTimePropertyDefinition

Field Value

Property<ulong, AppSink>

NewPrerollSignal

Signal Descriptor for OnNewPreroll.

public static readonly ReturningSignal<AppSink, FlowReturn> NewPrerollSignal

Field Value

ReturningSignal<AppSink, FlowReturn>

NewSampleSignal

Signal Descriptor for OnNewSample.

public static readonly ReturningSignal<AppSink, FlowReturn> NewSampleSignal

Field Value

ReturningSignal<AppSink, FlowReturn>

NewSerializedEventSignal

Signal Descriptor for OnNewSerializedEvent.

public static readonly ReturningSignal<AppSink, bool> NewSerializedEventSignal

Field Value

ReturningSignal<AppSink, bool>

ProposeAllocationSignal

Signal Descriptor for OnProposeAllocation.

public static readonly ReturningSignal<AppSink, AppSink.ProposeAllocationSignalArgs, bool> ProposeAllocationSignal

Field Value

ReturningSignal<AppSink, AppSink.ProposeAllocationSignalArgs, bool>

PullPrerollSignal

Signal Descriptor for OnPullPreroll.

public static readonly ReturningSignal<AppSink, Sample?> PullPrerollSignal

Field Value

ReturningSignal<AppSink, Sample>

PullSampleSignal

Signal Descriptor for OnPullSample.

public static readonly ReturningSignal<AppSink, Sample?> PullSampleSignal

Field Value

ReturningSignal<AppSink, Sample>

TryPullObjectSignal

Signal Descriptor for OnTryPullObject.

public static readonly ReturningSignal<AppSink, AppSink.TryPullObjectSignalArgs, MiniObject?> TryPullObjectSignal

Field Value

ReturningSignal<AppSink, AppSink.TryPullObjectSignalArgs, MiniObject>

TryPullPrerollSignal

Signal Descriptor for OnTryPullPreroll.

public static readonly ReturningSignal<AppSink, AppSink.TryPullPrerollSignalArgs, Sample?> TryPullPrerollSignal

Field Value

ReturningSignal<AppSink, AppSink.TryPullPrerollSignalArgs, Sample>

TryPullSampleSignal

Signal Descriptor for OnTryPullSample.

public static readonly ReturningSignal<AppSink, AppSink.TryPullSampleSignalArgs, Sample?> TryPullSampleSignal

Field Value

ReturningSignal<AppSink, AppSink.TryPullSampleSignalArgs, Sample>

WaitOnEosPropertyDefinition

public static readonly Property<bool, AppSink> WaitOnEosPropertyDefinition

Field Value

Property<bool, AppSink>

Properties

BufferList

public bool BufferList { get; set; }

Property Value

bool

Caps

public Caps Caps { get; set; }

Property Value

Caps

Drop

public bool Drop { get; set; }

Property Value

bool

EmitSignals

public bool EmitSignals { get; set; }

Property Value

bool

Eos

public bool Eos { get; }

Property Value

bool

MaxBuffers

public uint MaxBuffers { get; set; }

Property Value

uint

MaxBytes

public ulong MaxBytes { get; set; }

Property Value

ulong

MaxTime

public ulong MaxTime { get; set; }

Property Value

ulong

WaitOnEos

public bool WaitOnEos { get; set; }

Property Value

bool

Methods

GetBufferListSupport()

[Version("1.12")]
public bool GetBufferListSupport()

Returns

bool

GetCaps()

public Caps? GetCaps()

Returns

Caps

GetDrop()

public bool GetDrop()

Returns

bool

GetEmitSignals()

public bool GetEmitSignals()

Returns

bool

GetGType()

public static Type GetGType()

Returns

Type

GetMaxBuffers()

public uint GetMaxBuffers()

Returns

uint

GetMaxBytes()

[Version("1.24")]
public ulong GetMaxBytes()

Returns

ulong

GetMaxTime()

[Version("1.24")]
public ClockTime GetMaxTime()

Returns

ClockTime

GetProtocols()

public string[]? GetProtocols()

Returns

string[]

GetUri()

public string? GetUri()

Returns

string

GetUriType()

public URIType GetUriType()

Returns

URIType

GetWaitOnEos()

public bool GetWaitOnEos()

Returns

bool

IsEos()

public bool IsEos()

Returns

bool

PullObject()

[Version("1.20")]
public MiniObject? PullObject()

Returns

MiniObject

PullPreroll()

public Sample? PullPreroll()

Returns

Sample

PullSample()

public Sample? PullSample()

Returns

Sample

SetBufferListSupport(bool)

[Version("1.12")]
public void SetBufferListSupport(bool enableLists)

Parameters

enableLists bool

SetCaps(Caps?)

public void SetCaps(Caps? caps)

Parameters

caps Caps

SetDrop(bool)

public void SetDrop(bool drop)

Parameters

drop bool

SetEmitSignals(bool)

public void SetEmitSignals(bool emit)

Parameters

emit bool

SetMaxBuffers(uint)

public void SetMaxBuffers(uint max)

Parameters

max uint

SetMaxBytes(ulong)

[Version("1.24")]
public void SetMaxBytes(ulong max)

Parameters

max ulong

SetMaxTime(ClockTime)

[Version("1.24")]
public void SetMaxTime(ClockTime max)

Parameters

max ClockTime

SetUri(string)

public bool SetUri(string uri)

Parameters

uri string

Returns

bool

SetWaitOnEos(bool)

public void SetWaitOnEos(bool wait)

Parameters

wait bool

TryPullObject(ClockTime)

[Version("1.20")]
public MiniObject? TryPullObject(ClockTime timeout)

Parameters

timeout ClockTime

Returns

MiniObject

TryPullPreroll(ClockTime)

[Version("1.10")]
public Sample? TryPullPreroll(ClockTime timeout)

Parameters

timeout ClockTime

Returns

Sample

TryPullSample(ClockTime)

[Version("1.10")]
public Sample? TryPullSample(ClockTime timeout)

Parameters

timeout ClockTime

Returns

Sample

Events

OnEos

public event SignalHandler<AppSink> OnEos

Event Type

SignalHandler<AppSink>

OnNewPreroll

public event ReturningSignalHandler<AppSink, FlowReturn> OnNewPreroll

Event Type

ReturningSignalHandler<AppSink, FlowReturn>

OnNewSample

public event ReturningSignalHandler<AppSink, FlowReturn> OnNewSample

Event Type

ReturningSignalHandler<AppSink, FlowReturn>

OnNewSerializedEvent

public event ReturningSignalHandler<AppSink, bool> OnNewSerializedEvent

Event Type

ReturningSignalHandler<AppSink, bool>

OnProposeAllocation

public event ReturningSignalHandler<AppSink, AppSink.ProposeAllocationSignalArgs, bool> OnProposeAllocation

Event Type

ReturningSignalHandler<AppSink, AppSink.ProposeAllocationSignalArgs, bool>

OnPullPreroll

public event ReturningSignalHandler<AppSink, Sample?> OnPullPreroll

Event Type

ReturningSignalHandler<AppSink, Sample>

OnPullSample

public event ReturningSignalHandler<AppSink, Sample?> OnPullSample

Event Type

ReturningSignalHandler<AppSink, Sample>

OnTryPullObject

public event ReturningSignalHandler<AppSink, AppSink.TryPullObjectSignalArgs, MiniObject?> OnTryPullObject

Event Type

ReturningSignalHandler<AppSink, AppSink.TryPullObjectSignalArgs, MiniObject>

OnTryPullPreroll

public event ReturningSignalHandler<AppSink, AppSink.TryPullPrerollSignalArgs, Sample?> OnTryPullPreroll

Event Type

ReturningSignalHandler<AppSink, AppSink.TryPullPrerollSignalArgs, Sample>

OnTryPullSample

public event ReturningSignalHandler<AppSink, AppSink.TryPullSampleSignalArgs, Sample?> OnTryPullSample

Event Type

ReturningSignalHandler<AppSink, AppSink.TryPullSampleSignalArgs, Sample>