SpeechDecoder Class |
Namespace: StreamCoders.Decoder
The SpeechDecoder type exposes the following members.
Name | Description | |
---|---|---|
![]() | SpeechDecoder |
Default constructor.
|
Name | Description | |
---|---|---|
![]() ![]() | Bitrate |
Represents the bitrate the currently selected codec is using.
|
![]() | MaximumInputDataLength |
Set/Get the maximum size of the input data in bytes that can be decoded at once.
|
![]() ![]() | StreamType |
Gets or sets or Sets the StreamType property.
|
Name | Description | |
---|---|---|
![]() | Decode(OffsetBuffer<Byte>) | |
![]() | Decode(RtpFrame) |
Decodes RTPFrames containing speech data.
|
![]() | Decode(RtpPacket) |
Decodes.
|
![]() ![]() | Decode(Byte[], Int32, Int32) |
Decodes a byte array to PCM.
Note: The size of the input data is dependent on the value of MaximumInputDataLength |
![]() | Dispose |
Destructor.
|
![]() | GetCodec |
Gets the currently selected codec.
|
![]() | Init |
Initializes the SpeechDecoder.
|
![]() | SetCodec(Codec) |
Sets the codec type of the data to be decoded and default frame duration.
|
![]() | SetCodec(Codec, Int32) |
Sets the codec type of the data to be decoded and default frame duration.
|
Name | Description | |
---|---|---|
![]() | Copy() | Overloaded.
Creates a copy of the object.
(Defined by ObjectExtensions.) |
![]() | Copy(Object) | Overloaded.
Creates a deep copy of the object using the supplied object as a target for the copy operation.
(Defined by ObjectExtensions.) |
SpeechDecoder handles 16-bit sample sizes and 1 channel.
Supported codecs are: