Class Format
A G.711 format.
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)
Namespace: FM.LiveSwitch.G711
Assembly: FM.LiveSwitch.dll
Syntax
public abstract class Format : AudioFormat
Constructors
Format(String, Int32, Int32)
Initializes a new instance of the Format class.
Declaration
public Format(string name, int clockRate, int channelCount)
Parameters
Type | Name | Description |
---|---|---|
System.String | name | The name. |
System.Int32 | clockRate | The clock rate. |
System.Int32 | channelCount | The channel count. |
Properties
DefaultChannelCount
Gets the default clock rate (1).
Declaration
public static int DefaultChannelCount { get; }
Property Value
Type | Description |
---|---|
System.Int32 |
DefaultClockRate
Gets the default clock rate (8000).
Declaration
public static int DefaultClockRate { get; }
Property Value
Type | Description |
---|---|
System.Int32 |
DefaultConfig
Gets the default configuration (8000/1).
Declaration
public static AudioConfig DefaultConfig { get; }
Property Value
Type | Description |
---|---|
AudioConfig |
MaxBitrate
Gets the maximum bitrate supported by this format, in kbps.
Declaration
public override int MaxBitrate { get; }
Property Value
Type | Description |
---|---|
System.Int32 |
Overrides
FM.LiveSwitch.MediaFormat<FM.LiveSwitch.AudioFormat>.MaxBitrate
MinBitrate
Gets the minimum bitrate supported by this format, in kbps.
Declaration
public override int MinBitrate { get; }
Property Value
Type | Description |
---|---|
System.Int32 |
Overrides
FM.LiveSwitch.MediaFormat<FM.LiveSwitch.AudioFormat>.MinBitrate