Class PushAudioSourceSettings
- Namespace
- VisioForge.Core.Types.X.Sources
- Assembly
- VisioForge.Core.dll
Push audio source settings. Implements the VisioForge.Core.Types.X.Sources.IPushSourceSettings
public class PushAudioSourceSettings : IPushSourceSettingsInheritance
Implements
Inherited Members
Constructors
PushAudioSourceSettings(bool, int, int, AudioFormatX)
Initializes a new instance of the VisioForge.Core.Types.X.Sources.PushAudioSourceSettings class.
public PushAudioSourceSettings(bool isLive = true, int sampleRate = 48000, int channels = 2, AudioFormatX format = AudioFormatX.S16)Parameters
isLivebool-
if set to
truesource is live. sampleRateint-
The sample rate.
channelsint-
The channels.
formatAudioFormatX-
The format.
Properties
BlockPushData
Gets or sets a value indicating whether to block pushing data until it's read.
public bool BlockPushData { get; set; }Property Value
Channels
Gets or sets the channels.
public int Channels { get; set; }Property Value
DoTimestamp
Gets or sets a value indicating whether to add timestamp.
public bool DoTimestamp { get; set; }Property Value
Format
Gets or sets the format.
public AudioFormatX Format { get; set; }Property Value
IsLive
Gets a value indicating whether this instance is live.
public bool IsLive { get; set; }Property Value
PushFormat
Gets or sets the format.
public PushSourceFormat PushFormat { get; set; }Property Value
SampleRate
Gets or sets the sample rate.
public int SampleRate { get; set; }Property Value
StreamType
Gets or sets the type of the stream.
public PushSourceStreamType StreamType { get; set; }Property Value
Methods
GetSourceType()
Gets the type of the source.
public PushSourceType GetSourceType()Returns
- PushSourceType
-
PushSourceType.