Class AudioDepacketizer
An audio depacketizer.
Inheritance
System.Object
MediaPipe<IAudioOutput, IAudioOutputCollection, IAudioInput, IAudioInputCollection, AudioPipe, AudioFrame, AudioBuffer, AudioBufferCollection, AudioFormat>
AudioDepacketizer
Implements
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: FM.LiveSwitch
Assembly: FM.LiveSwitch.dll
Syntax
public abstract class AudioDepacketizer : AudioPipe, IAudioInput, IMediaInput<IAudioOutput, IAudioInput, AudioFrame, AudioBuffer, AudioBufferCollection, AudioFormat>, IInput<IAudioOutput, IAudioInput, AudioFrame, AudioBuffer, AudioBufferCollection, AudioFormat>, IAudioOutput, IMediaOutput<IAudioOutput, IAudioInput, AudioFrame, AudioBuffer, AudioBufferCollection, AudioFormat>, IOutput<IAudioOutput, IAudioInput, AudioFrame, AudioBuffer, AudioBufferCollection, AudioFormat>, IAudioElement, IMediaElement, IElement
Constructors
AudioDepacketizer(AudioFormat)
Initializes a new instance of the AudioDepacketizer class.
Declaration
public AudioDepacketizer(AudioFormat format)
Parameters
Type | Name | Description |
---|---|---|
AudioFormat | format | The format. |
AudioDepacketizer(AudioFormat, AudioFormat)
Initializes a new instance of the AudioDepacketizer class.
Declaration
public AudioDepacketizer(AudioFormat inputFormat, AudioFormat outputFormat)
Parameters
Type | Name | Description |
---|---|---|
AudioFormat | inputFormat | The input format. |
AudioFormat | outputFormat | The output format. |
AudioDepacketizer(IAudioOutput)
Initializes a new instance of the AudioDepacketizer class.
Declaration
public AudioDepacketizer(IAudioOutput input)
Parameters
Type | Name | Description |
---|---|---|
IAudioOutput | input | The input. |
Properties
AllowDiagnosticTimer
Gets whether this pipe is allowed to be timed.
Declaration
protected override bool AllowDiagnosticTimer { get; }
Property Value
Type | Description |
---|---|
System.Boolean |
Overrides
FM.LiveSwitch.MediaPipe<FM.LiveSwitch.IAudioOutput, FM.LiveSwitch.IAudioOutputCollection, FM.LiveSwitch.IAudioInput, FM.LiveSwitch.IAudioInputCollection, FM.LiveSwitch.AudioPipe, FM.LiveSwitch.AudioFrame, FM.LiveSwitch.AudioBuffer, FM.LiveSwitch.AudioBufferCollection, FM.LiveSwitch.AudioFormat>.AllowDiagnosticTimer
FramesReceived
Gets the number of received frames.
Declaration
public long FramesReceived { get; }
Property Value
Type | Description |
---|---|
System.Int64 |
Methods
DoProcessTrackStatsFromInput(MediaTrackStats)
Process track stats from an input.
Declaration
protected override void DoProcessTrackStatsFromInput(MediaTrackStats trackStats)
Parameters
Type | Name | Description |
---|---|---|
MediaTrackStats | trackStats | The track stats. |
Overrides
FM.LiveSwitch.MediaPipe<FM.LiveSwitch.IAudioOutput, FM.LiveSwitch.IAudioOutputCollection, FM.LiveSwitch.IAudioInput, FM.LiveSwitch.IAudioInputCollection, FM.LiveSwitch.AudioPipe, FM.LiveSwitch.AudioFrame, FM.LiveSwitch.AudioBuffer, FM.LiveSwitch.AudioBufferCollection, FM.LiveSwitch.AudioFormat>.DoProcessTrackStatsFromInput(FM.LiveSwitch.MediaTrackStats)
RaiseFrame(AudioFrame)
Raises the frame.
Declaration
protected override void RaiseFrame(AudioFrame frame)
Parameters
Type | Name | Description |
---|---|---|
AudioFrame | frame | The frame. |