Class VoiceFormat
The audio of voice calls: 48 kHz mono 16-bit samples in 20 ms frames, as Opus over RTP usually carries them.
Inherited Members
Namespace: Uniform.Matrix.Audio
Assembly: Uniform.Matrix.Audio.dll
Syntax
public static class VoiceFormat
Fields
| Edit this page View SourceChannels
Channels; voice is mono.
Declaration
public const int Channels = 1
Field Value
| Type | Description |
|---|---|
| int |
FrameMilliseconds
Length of one frame in milliseconds.
Declaration
public const int FrameMilliseconds = 20
Field Value
| Type | Description |
|---|---|
| int |
FrameSamples
Samples in one frame.
Declaration
public const int FrameSamples = 960
Field Value
| Type | Description |
|---|---|
| int |
SampleRate
Samples per second.
Declaration
public const int SampleRate = 48000
Field Value
| Type | Description |
|---|---|
| int |
Properties
| Edit this page View SourceWaveFormat
The format as NAudio describes it, 16-bit PCM.
Declaration
public static WaveFormat WaveFormat { get; }
Property Value
| Type | Description |
|---|---|
| WaveFormat |