Class Aggregator
- Namespace
- GstBase
- Assembly
- GstBase-1.0.dll
public class Aggregator : Element, IDisposable, NativeObject, GTypeProvider, InstanceFactory
- Inheritance
-
Aggregator
- Implements
- Derived
- Inherited Members
Constructors
Aggregator(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 Aggregator(params ConstructArgument[] constructArguments)
Parameters
constructArgumentsConstructArgument[]
Aggregator(CreationData)
[Obsolete("This constructor is a workaround to keep legacy APIs alive. Do not use it.")]
protected Aggregator(CreationData data)
Parameters
dataCreationData
Aggregator(AggregatorHandle)
protected Aggregator(AggregatorHandle handle)
Parameters
handleAggregatorHandle
Fields
EmitSignalsPropertyDefinition
public static readonly Property<bool, Aggregator> EmitSignalsPropertyDefinition
Field Value
LatencyPropertyDefinition
public static readonly Property<ulong, Aggregator> LatencyPropertyDefinition
Field Value
MinUpstreamLatencyPropertyDefinition
public static readonly Property<ulong, Aggregator> MinUpstreamLatencyPropertyDefinition
Field Value
SamplesSelectedSignal
Signal Descriptor for OnSamplesSelected.
public static readonly Signal<Aggregator, Aggregator.SamplesSelectedSignalArgs> SamplesSelectedSignal
Field Value
StartTimePropertyDefinition
public static readonly Property<ulong, Aggregator> StartTimePropertyDefinition
Field Value
StartTimeSelectionPropertyDefinition
public static readonly Property<AggregatorStartTimeSelection, Aggregator> StartTimeSelectionPropertyDefinition
Field Value
Properties
EmitSignals
public bool EmitSignals { get; set; }
Property Value
Latency
public ulong Latency { get; set; }
Property Value
MinUpstreamLatency
public ulong MinUpstreamLatency { get; set; }
Property Value
StartTime
public ulong StartTime { get; set; }
Property Value
StartTimeSelection
public AggregatorStartTimeSelection StartTimeSelection { get; set; }
Property Value
Methods
FinishBuffer(Buffer)
public FlowReturn FinishBuffer(Buffer buffer)
Parameters
bufferBuffer
Returns
FinishBufferList(BufferList)
[Version("1.18")]
public FlowReturn FinishBufferList(BufferList bufferlist)
Parameters
bufferlistBufferList
Returns
GetBufferPool()
public BufferPool? GetBufferPool()
Returns
GetForceLive()
[Version("1.22")]
public bool GetForceLive()
Returns
GetGType()
public static Type GetGType()
Returns
GetIgnoreInactivePads()
[Version("1.20")]
public bool GetIgnoreInactivePads()
Returns
GetLatency()
public ClockTime GetLatency()
Returns
Negotiate()
[Version("1.18")]
public bool Negotiate()
Returns
NewFromPointer(nint, bool)
Creates a new managed Aggregator instance for a given pointer.
public static Aggregator NewFromPointer(nint ptr, bool ownsHandle)
Parameters
Returns
NewWithProperties(ConstructArgument[])
Creates a new Aggregator and sets the properties specified by the construct arguments.
public static Aggregator NewWithProperties(ConstructArgument[] constructArguments)
Parameters
constructArgumentsConstructArgument[]The properties to set.
Returns
PeekNextSample(AggregatorPad)
[Version("1.18")]
public Sample? PeekNextSample(AggregatorPad pad)
Parameters
padAggregatorPad
Returns
PushSrcEvent(Event)
[Version("1.26")]
public bool PushSrcEvent(Event @event)
Parameters
eventEvent
Returns
SelectedSamples(ClockTime, ClockTime, ClockTime, Structure?)
[Version("1.18")]
public void SelectedSamples(ClockTime pts, ClockTime dts, ClockTime duration, Structure? info)
Parameters
SetForceLive(bool)
[Version("1.22")]
public void SetForceLive(bool forceLive)
Parameters
forceLivebool
SetIgnoreInactivePads(bool)
[Version("1.20")]
public void SetIgnoreInactivePads(bool ignore)
Parameters
ignorebool
SetLatency(ClockTime, ClockTime)
public void SetLatency(ClockTime minLatency, ClockTime maxLatency)
Parameters
SetSrcCaps(Caps)
public void SetSrcCaps(Caps caps)
Parameters
capsCaps
SimpleGetNextTime()
[Version("1.16")]
public ClockTime SimpleGetNextTime()
Returns
UpdateSegment(Segment)
[Version("1.18")]
public void UpdateSegment(Segment segment)
Parameters
segmentSegment
Events
OnSamplesSelected
public event SignalHandler<Aggregator, Aggregator.SamplesSelectedSignalArgs> OnSamplesSelected