Table of Contents

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 : IPushSourceSettings

Inheritance

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

isLive bool

if set to true source is live.

sampleRate int

The sample rate.

channels int

The channels.

format AudioFormatX

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

bool

Channels

Gets or sets the channels.

public int Channels { get; set; }

Property Value

int

DoTimestamp

Gets or sets a value indicating whether to add timestamp.

public bool DoTimestamp { get; set; }

Property Value

bool

Format

Gets or sets the format.

public AudioFormatX Format { get; set; }

Property Value

AudioFormatX

IsLive

Gets a value indicating whether this instance is live.

public bool IsLive { get; set; }

Property Value

bool

PushFormat

Gets or sets the format.

public PushSourceFormat PushFormat { get; set; }

Property Value

PushSourceFormat

SampleRate

Gets or sets the sample rate.

public int SampleRate { get; set; }

Property Value

int

StreamType

Gets or sets the type of the stream.

public PushSourceStreamType StreamType { get; set; }

Property Value

PushSourceStreamType

Methods

GetSourceType()

Gets the type of the source.

public PushSourceType GetSourceType()

Returns

PushSourceType

PushSourceType.

See Also