Android.Net.Rtp.AudioCodec Class
This class defines a collection of audio codecs to be used with Android.Net.Rtp.AudioStreams.

See Also: AudioCodec Members

Syntax

[Android.Runtime.Register("android/net/rtp/AudioCodec", DoNotGenerateAcw=true)]
public class AudioCodec : Java.Lang.Object

Remarks

This class defines a collection of audio codecs to be used with Android.Net.Rtp.AudioStreams. Their parameters are designed to be exchanged using Session Description Protocol (SDP). Most of the values listed here can be found in RFC 3551, while others are described in separated standards.

java Example

 AudioCodec codec = AudioCodec.getCodec(100, "AMR/8000", "mode-set=1");
 

Few simple configurations are defined as public static instances for the convenience of direct uses. More complicated ones could be obtained using AudioCodec.GetCodec(int, System.String, System.String). For example, one can use the following snippet to create a mode-1-only AMR codec.

See Also

[Android Documentation]

Requirements

Namespace: Android.Net.Rtp
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0
Since: Added in API level 12