Class BaseSink
- Namespace
- GstBase
- Assembly
- GstBase-1.0.dll
public class BaseSink : Element, IDisposable, NativeObject, GTypeProvider, InstanceFactory
- Inheritance
-
BaseSink
- Implements
- Derived
- Inherited Members
Constructors
BaseSink(params ConstructArgument[])
[Obsolete("Regular C# constructors on native classes will be removed in a future version. Please see the linked documentation for more details. It contains scenarios and possible solutions to prepare for the upcoming changes.", DiagnosticId = "GirCore1007", UrlFormat = "https://gircore.github.io/docs/integration/diagnostic/1007.html")]
public BaseSink(params ConstructArgument[] constructArguments)
Parameters
constructArgumentsConstructArgument[]
BaseSink(CreationData)
[Obsolete("This constructor is a workaround to keep legacy APIs alive. Do not use it.")]
protected BaseSink(CreationData data)
Parameters
dataCreationData
BaseSink(BaseSinkHandle)
protected BaseSink(BaseSinkHandle handle)
Parameters
handleBaseSinkHandle
Fields
AsyncPropertyDefinition
public static readonly Property<bool, BaseSink> AsyncPropertyDefinition
Field Value
BlocksizePropertyDefinition
public static readonly Property<uint, BaseSink> BlocksizePropertyDefinition
Field Value
EnableLastSamplePropertyDefinition
public static readonly Property<bool, BaseSink> EnableLastSamplePropertyDefinition
Field Value
LastSamplePropertyDefinition
public static readonly Property<Sample, BaseSink> LastSamplePropertyDefinition
Field Value
MaxBitratePropertyDefinition
public static readonly Property<ulong, BaseSink> MaxBitratePropertyDefinition
Field Value
MaxLatenessPropertyDefinition
public static readonly Property<long, BaseSink> MaxLatenessPropertyDefinition
Field Value
ProcessingDeadlinePropertyDefinition
public static readonly Property<ulong, BaseSink> ProcessingDeadlinePropertyDefinition
Field Value
QosPropertyDefinition
public static readonly Property<bool, BaseSink> QosPropertyDefinition
Field Value
RenderDelayPropertyDefinition
public static readonly Property<ulong, BaseSink> RenderDelayPropertyDefinition
Field Value
StatsPropertyDefinition
public static readonly Property<Structure, BaseSink> StatsPropertyDefinition
Field Value
SyncPropertyDefinition
public static readonly Property<bool, BaseSink> SyncPropertyDefinition
Field Value
ThrottleTimePropertyDefinition
public static readonly Property<ulong, BaseSink> ThrottleTimePropertyDefinition
Field Value
TsOffsetPropertyDefinition
public static readonly Property<long, BaseSink> TsOffsetPropertyDefinition
Field Value
Properties
Async
public bool Async { get; set; }
Property Value
Blocksize
public uint Blocksize { get; set; }
Property Value
EnableLastSample
public bool EnableLastSample { get; set; }
Property Value
LastSample
public Sample LastSample { get; }
Property Value
MaxBitrate
public ulong MaxBitrate { get; set; }
Property Value
MaxLateness
public long MaxLateness { get; set; }
Property Value
ProcessingDeadline
public ulong ProcessingDeadline { get; set; }
Property Value
Qos
public bool Qos { get; set; }
Property Value
RenderDelay
public ulong RenderDelay { get; set; }
Property Value
Stats
public Structure Stats { get; }
Property Value
Sync
public bool Sync { get; set; }
Property Value
ThrottleTime
public ulong ThrottleTime { get; set; }
Property Value
TsOffset
public long TsOffset { get; set; }
Property Value
Methods
DoPreroll(MiniObject)
public FlowReturn DoPreroll(MiniObject obj)
Parameters
objMiniObject
Returns
GetBlocksize()
public uint GetBlocksize()
Returns
GetDropOutOfSegment()
[Version("1.12")]
public bool GetDropOutOfSegment()
Returns
GetGType()
public static Type GetGType()
Returns
GetLastSample()
public Sample? GetLastSample()
Returns
GetLatency()
public ClockTime GetLatency()
Returns
GetMaxBitrate()
[Version("1.2")]
public ulong GetMaxBitrate()
Returns
GetMaxLateness()
public long GetMaxLateness()
Returns
GetProcessingDeadline()
[Version("1.16")]
public ClockTime GetProcessingDeadline()
Returns
GetRenderDelay()
public ClockTime GetRenderDelay()
Returns
GetStats()
[Version("1.18")]
public Structure GetStats()
Returns
GetSync()
public bool GetSync()
Returns
GetThrottleTime()
public ulong GetThrottleTime()
Returns
GetTsOffset()
public ClockTimeDiff GetTsOffset()
Returns
IsAsyncEnabled()
public bool IsAsyncEnabled()
Returns
IsLastSampleEnabled()
public bool IsLastSampleEnabled()
Returns
IsQosEnabled()
public bool IsQosEnabled()
Returns
NewFromPointer(nint, bool)
Creates a new managed BaseSink instance for a given pointer.
public static BaseSink NewFromPointer(nint ptr, bool ownsHandle)
Parameters
Returns
NewWithProperties(ConstructArgument[])
Creates a new BaseSink and sets the properties specified by the construct arguments.
public static BaseSink NewWithProperties(ConstructArgument[] constructArguments)
Parameters
constructArgumentsConstructArgument[]The properties to set.
Returns
QueryLatency(out bool, out bool, out ClockTime, out ClockTime)
public bool QueryLatency(out bool live, out bool upstreamLive, out ClockTime minLatency, out ClockTime maxLatency)
Parameters
Returns
SetAsyncEnabled(bool)
public void SetAsyncEnabled(bool enabled)
Parameters
enabledbool
SetBlocksize(uint)
public void SetBlocksize(uint blocksize)
Parameters
blocksizeuint
SetDropOutOfSegment(bool)
[Version("1.12")]
public void SetDropOutOfSegment(bool dropOutOfSegment)
Parameters
dropOutOfSegmentbool
SetLastSampleEnabled(bool)
public void SetLastSampleEnabled(bool enabled)
Parameters
enabledbool
SetMaxBitrate(ulong)
[Version("1.2")]
public void SetMaxBitrate(ulong maxBitrate)
Parameters
maxBitrateulong
SetMaxLateness(long)
public void SetMaxLateness(long maxLateness)
Parameters
maxLatenesslong
SetProcessingDeadline(ClockTime)
[Version("1.16")]
public void SetProcessingDeadline(ClockTime processingDeadline)
Parameters
processingDeadlineClockTime
SetQosEnabled(bool)
public void SetQosEnabled(bool enabled)
Parameters
enabledbool
SetRenderDelay(ClockTime)
public void SetRenderDelay(ClockTime delay)
Parameters
delayClockTime
SetSync(bool)
public void SetSync(bool sync)
Parameters
syncbool
SetThrottleTime(ulong)
public void SetThrottleTime(ulong throttle)
Parameters
throttleulong
SetTsOffset(ClockTimeDiff)
public void SetTsOffset(ClockTimeDiff offset)
Parameters
offsetClockTimeDiff
Wait(ClockTime, out ClockTimeDiff)
public FlowReturn Wait(ClockTime time, out ClockTimeDiff jitter)
Parameters
timeClockTimejitterClockTimeDiff
Returns
WaitClock(ClockTime, out ClockTimeDiff)
public ClockReturn WaitClock(ClockTime time, out ClockTimeDiff jitter)
Parameters
timeClockTimejitterClockTimeDiff
Returns
WaitPreroll()
public FlowReturn WaitPreroll()