Class BaseSink
- Namespace
- GstBase
- Assembly
- GstBase-1.0.dll
public class BaseSink : Element, IDisposable, GTypeProvider, InstanceFactory
- Inheritance
-
BaseSink
- Implements
-
- Derived
-
- Inherited Members
-
Constructors
BaseSink(params ConstructArgument[])
public BaseSink(params ConstructArgument[] constructArguments)
Parameters
constructArguments ConstructArgument[]
BaseSink(BaseSinkHandle)
public BaseSink(BaseSinkHandle handle)
Parameters
handle BaseSinkHandle
Fields
AsyncPropertyDefinition
public static readonly Property<bool, BaseSink> AsyncPropertyDefinition
Field Value
- Property<bool, BaseSink>
BlocksizePropertyDefinition
public static readonly Property<uint, BaseSink> BlocksizePropertyDefinition
Field Value
- Property<uint, BaseSink>
EnableLastSamplePropertyDefinition
public static readonly Property<bool, BaseSink> EnableLastSamplePropertyDefinition
Field Value
- Property<bool, BaseSink>
LastSamplePropertyDefinition
public static readonly Property<Sample, BaseSink> LastSamplePropertyDefinition
Field Value
- Property<Sample, BaseSink>
MaxBitratePropertyDefinition
public static readonly Property<ulong, BaseSink> MaxBitratePropertyDefinition
Field Value
- Property<ulong, BaseSink>
MaxLatenessPropertyDefinition
public static readonly Property<long, BaseSink> MaxLatenessPropertyDefinition
Field Value
- Property<long, BaseSink>
ProcessingDeadlinePropertyDefinition
public static readonly Property<ulong, BaseSink> ProcessingDeadlinePropertyDefinition
Field Value
- Property<ulong, BaseSink>
QosPropertyDefinition
public static readonly Property<bool, BaseSink> QosPropertyDefinition
Field Value
- Property<bool, BaseSink>
RenderDelayPropertyDefinition
public static readonly Property<ulong, BaseSink> RenderDelayPropertyDefinition
Field Value
- Property<ulong, BaseSink>
StatsPropertyDefinition
public static readonly Property<Structure, BaseSink> StatsPropertyDefinition
Field Value
- Property<Structure, BaseSink>
SyncPropertyDefinition
public static readonly Property<bool, BaseSink> SyncPropertyDefinition
Field Value
- Property<bool, BaseSink>
ThrottleTimePropertyDefinition
public static readonly Property<ulong, BaseSink> ThrottleTimePropertyDefinition
Field Value
- Property<ulong, BaseSink>
TsOffsetPropertyDefinition
public static readonly Property<long, BaseSink> TsOffsetPropertyDefinition
Field Value
- Property<long, BaseSink>
Properties
Async
public bool Async { get; set; }
Property Value
- bool
Blocksize
public uint Blocksize { get; set; }
Property Value
- uint
EnableLastSample
public bool EnableLastSample { get; set; }
Property Value
- bool
LastSample
public Sample LastSample { get; }
Property Value
- Sample
MaxBitrate
public ulong MaxBitrate { get; set; }
Property Value
- ulong
MaxLateness
public long MaxLateness { get; set; }
Property Value
- long
ProcessingDeadline
public ulong ProcessingDeadline { get; set; }
Property Value
- ulong
Qos
public bool Qos { get; set; }
Property Value
- bool
RenderDelay
public ulong RenderDelay { get; set; }
Property Value
- ulong
Stats
public Structure Stats { get; }
Property Value
- Structure
Sync
public bool Sync { get; set; }
Property Value
- bool
ThrottleTime
public ulong ThrottleTime { get; set; }
Property Value
- ulong
TsOffset
public long TsOffset { get; set; }
Property Value
- long
Methods
DoPreroll(MiniObject)
public FlowReturn DoPreroll(MiniObject obj)
Parameters
obj MiniObject
Returns
- FlowReturn
GetBlocksize()
public uint GetBlocksize()
Returns
- uint
GetDropOutOfSegment()
[Version("1.12")]
public bool GetDropOutOfSegment()
Returns
- bool
GetGType()
public static Type GetGType()
Returns
- Type
GetLastSample()
public Sample? GetLastSample()
Returns
- Sample
GetLatency()
public ClockTime GetLatency()
Returns
- ClockTime
GetMaxBitrate()
[Version("1.2")]
public ulong GetMaxBitrate()
Returns
- ulong
GetMaxLateness()
public long GetMaxLateness()
Returns
- long
GetProcessingDeadline()
[Version("1.16")]
public ClockTime GetProcessingDeadline()
Returns
- ClockTime
GetRenderDelay()
public ClockTime GetRenderDelay()
Returns
- ClockTime
GetStats()
[Version("1.18")]
public Structure GetStats()
Returns
- Structure
GetSync()
Returns
- bool
GetThrottleTime()
public ulong GetThrottleTime()
Returns
- ulong
GetTsOffset()
public ClockTimeDiff GetTsOffset()
Returns
- ClockTimeDiff
IsAsyncEnabled()
public bool IsAsyncEnabled()
Returns
- bool
IsLastSampleEnabled()
public bool IsLastSampleEnabled()
Returns
- bool
IsQosEnabled()
public bool IsQosEnabled()
Returns
- bool
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
live bool
upstreamLive bool
minLatency ClockTime
maxLatency ClockTime
Returns
- bool
SetAsyncEnabled(bool)
public void SetAsyncEnabled(bool enabled)
Parameters
enabled bool
SetBlocksize(uint)
public void SetBlocksize(uint blocksize)
Parameters
blocksize uint
SetDropOutOfSegment(bool)
[Version("1.12")]
public void SetDropOutOfSegment(bool dropOutOfSegment)
Parameters
dropOutOfSegment bool
SetLastSampleEnabled(bool)
public void SetLastSampleEnabled(bool enabled)
Parameters
enabled bool
SetMaxBitrate(ulong)
[Version("1.2")]
public void SetMaxBitrate(ulong maxBitrate)
Parameters
maxBitrate ulong
SetMaxLateness(long)
public void SetMaxLateness(long maxLateness)
Parameters
maxLateness long
SetProcessingDeadline(ClockTime)
[Version("1.16")]
public void SetProcessingDeadline(ClockTime processingDeadline)
Parameters
processingDeadline ClockTime
SetQosEnabled(bool)
public void SetQosEnabled(bool enabled)
Parameters
enabled bool
SetRenderDelay(ClockTime)
public void SetRenderDelay(ClockTime delay)
Parameters
delay ClockTime
SetSync(bool)
public void SetSync(bool sync)
Parameters
sync bool
SetThrottleTime(ulong)
public void SetThrottleTime(ulong throttle)
Parameters
throttle ulong
SetTsOffset(ClockTimeDiff)
public void SetTsOffset(ClockTimeDiff offset)
Parameters
offset ClockTimeDiff
Wait(ClockTime, out ClockTimeDiff)
public FlowReturn Wait(ClockTime time, out ClockTimeDiff jitter)
Parameters
time ClockTime
jitter ClockTimeDiff
Returns
- FlowReturn
WaitClock(ClockTime, out ClockTimeDiff)
public ClockReturn WaitClock(ClockTime time, out ClockTimeDiff jitter)
Parameters
time ClockTime
jitter ClockTimeDiff
Returns
- ClockReturn
WaitPreroll()
public FlowReturn WaitPreroll()
Returns
- FlowReturn