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
constructArgumentsConstructArgument[]
AppSink(AppSinkHandle)
public AppSink(AppSinkHandle handle)
Parameters
handleAppSinkHandle
Fields
BufferListPropertyDefinition
public static readonly Property<bool, AppSink> BufferListPropertyDefinition
Field Value
CapsPropertyDefinition
public static readonly Property<Caps, AppSink> CapsPropertyDefinition
Field Value
DropPropertyDefinition
public static readonly Property<bool, AppSink> DropPropertyDefinition
Field Value
EmitSignalsPropertyDefinition
public static readonly Property<bool, AppSink> EmitSignalsPropertyDefinition
Field Value
EosPropertyDefinition
public static readonly Property<bool, AppSink> EosPropertyDefinition
Field Value
EosSignal
Signal Descriptor for OnEos.
public static readonly Signal<AppSink> EosSignal
Field Value
MaxBuffersPropertyDefinition
public static readonly Property<uint, AppSink> MaxBuffersPropertyDefinition
Field Value
MaxBytesPropertyDefinition
public static readonly Property<ulong, AppSink> MaxBytesPropertyDefinition
Field Value
MaxTimePropertyDefinition
public static readonly Property<ulong, AppSink> MaxTimePropertyDefinition
Field Value
NewPrerollSignal
Signal Descriptor for OnNewPreroll.
public static readonly ReturningSignal<AppSink, FlowReturn> NewPrerollSignal
Field Value
NewSampleSignal
Signal Descriptor for OnNewSample.
public static readonly ReturningSignal<AppSink, FlowReturn> NewSampleSignal
Field Value
NewSerializedEventSignal
Signal Descriptor for OnNewSerializedEvent.
public static readonly ReturningSignal<AppSink, bool> NewSerializedEventSignal
Field Value
ProposeAllocationSignal
Signal Descriptor for OnProposeAllocation.
public static readonly ReturningSignal<AppSink, AppSink.ProposeAllocationSignalArgs, bool> ProposeAllocationSignal
Field Value
PullPrerollSignal
Signal Descriptor for OnPullPreroll.
public static readonly ReturningSignal<AppSink, Sample?> PullPrerollSignal
Field Value
PullSampleSignal
Signal Descriptor for OnPullSample.
public static readonly ReturningSignal<AppSink, Sample?> PullSampleSignal
Field Value
TryPullObjectSignal
Signal Descriptor for OnTryPullObject.
public static readonly ReturningSignal<AppSink, AppSink.TryPullObjectSignalArgs, MiniObject?> TryPullObjectSignal
Field Value
TryPullPrerollSignal
Signal Descriptor for OnTryPullPreroll.
public static readonly ReturningSignal<AppSink, AppSink.TryPullPrerollSignalArgs, Sample?> TryPullPrerollSignal
Field Value
TryPullSampleSignal
Signal Descriptor for OnTryPullSample.
public static readonly ReturningSignal<AppSink, AppSink.TryPullSampleSignalArgs, Sample?> TryPullSampleSignal
Field Value
WaitOnEosPropertyDefinition
public static readonly Property<bool, AppSink> WaitOnEosPropertyDefinition
Field Value
Properties
BufferList
public bool BufferList { get; set; }
Property Value
Caps
public Caps Caps { get; set; }
Property Value
Drop
public bool Drop { get; set; }
Property Value
EmitSignals
public bool EmitSignals { get; set; }
Property Value
Eos
public bool Eos { get; }
Property Value
MaxBuffers
public uint MaxBuffers { get; set; }
Property Value
MaxBytes
public ulong MaxBytes { get; set; }
Property Value
MaxTime
public ulong MaxTime { get; set; }
Property Value
WaitOnEos
public bool WaitOnEos { get; set; }
Property Value
Methods
GetBufferListSupport()
[Version("1.12")]
public bool GetBufferListSupport()
Returns
GetCaps()
public Caps? GetCaps()
Returns
GetDrop()
public bool GetDrop()
Returns
GetEmitSignals()
public bool GetEmitSignals()
Returns
GetGType()
public static Type GetGType()
Returns
GetMaxBuffers()
public uint GetMaxBuffers()
Returns
GetMaxBytes()
[Version("1.24")]
public ulong GetMaxBytes()
Returns
GetMaxTime()
[Version("1.24")]
public ClockTime GetMaxTime()
Returns
GetProtocols()
public string[]? GetProtocols()
Returns
- string[]
GetUri()
public string? GetUri()
Returns
GetUriType()
public URIType GetUriType()
Returns
GetWaitOnEos()
public bool GetWaitOnEos()
Returns
IsEos()
public bool IsEos()
Returns
PullObject()
[Version("1.20")]
public MiniObject? PullObject()
Returns
PullPreroll()
public Sample? PullPreroll()
Returns
PullSample()
public Sample? PullSample()
Returns
SetBufferListSupport(bool)
[Version("1.12")]
public void SetBufferListSupport(bool enableLists)
Parameters
enableListsbool
SetCaps(Caps?)
public void SetCaps(Caps? caps)
Parameters
capsCaps
SetDrop(bool)
public void SetDrop(bool drop)
Parameters
dropbool
SetEmitSignals(bool)
public void SetEmitSignals(bool emit)
Parameters
emitbool
SetMaxBuffers(uint)
public void SetMaxBuffers(uint max)
Parameters
maxuint
SetMaxBytes(ulong)
[Version("1.24")]
public void SetMaxBytes(ulong max)
Parameters
maxulong
SetMaxTime(ClockTime)
[Version("1.24")]
public void SetMaxTime(ClockTime max)
Parameters
maxClockTime
SetUri(string)
public bool SetUri(string uri)
Parameters
uristring
Returns
SetWaitOnEos(bool)
public void SetWaitOnEos(bool wait)
Parameters
waitbool
TryPullObject(ClockTime)
[Version("1.20")]
public MiniObject? TryPullObject(ClockTime timeout)
Parameters
timeoutClockTime
Returns
TryPullPreroll(ClockTime)
[Version("1.10")]
public Sample? TryPullPreroll(ClockTime timeout)
Parameters
timeoutClockTime
Returns
TryPullSample(ClockTime)
[Version("1.10")]
public Sample? TryPullSample(ClockTime timeout)
Parameters
timeoutClockTime
Returns
Events
OnEos
public event SignalHandler<AppSink> OnEos
Event Type
OnNewPreroll
public event ReturningSignalHandler<AppSink, FlowReturn> OnNewPreroll
Event Type
OnNewSample
public event ReturningSignalHandler<AppSink, FlowReturn> OnNewSample
Event Type
OnNewSerializedEvent
public event ReturningSignalHandler<AppSink, bool> OnNewSerializedEvent
Event Type
OnProposeAllocation
public event ReturningSignalHandler<AppSink, AppSink.ProposeAllocationSignalArgs, bool> OnProposeAllocation
Event Type
OnPullPreroll
public event ReturningSignalHandler<AppSink, Sample?> OnPullPreroll
Event Type
OnPullSample
public event ReturningSignalHandler<AppSink, Sample?> OnPullSample
Event Type
OnTryPullObject
public event ReturningSignalHandler<AppSink, AppSink.TryPullObjectSignalArgs, MiniObject?> OnTryPullObject
Event Type
OnTryPullPreroll
public event ReturningSignalHandler<AppSink, AppSink.TryPullPrerollSignalArgs, Sample?> OnTryPullPreroll
Event Type
OnTryPullSample
public event ReturningSignalHandler<AppSink, AppSink.TryPullSampleSignalArgs, Sample?> OnTryPullSample