IoT SDK for Android v1.8.0
Static Public Attributes | List of all members
io.agora.rtc.AgoraRtcService.AudioCodecType Class Reference

Static Public Attributes

static final int AUDIO_CODEC_DISABLED = 0
 
static final int AUDIO_CODEC_TYPE_OPUS = 1
 
static final int AUDIO_CODEC_TYPE_G722 = 2
 
static final int AUDIO_CODEC_TYPE_G711A = 3
 
static final int AUDIO_CODEC_TYPE_G711U = 4
 

Detailed Description

Type of the SDK built-in encoder and decoder.

Member Data Documentation

◆ AUDIO_CODEC_DISABLED

final int io.agora.rtc.AgoraRtcService.AudioCodecType.AUDIO_CODEC_DISABLED = 0
static

0: Disables the SDK built-in encoder and decoder.

◆ AUDIO_CODEC_TYPE_G711A

final int io.agora.rtc.AgoraRtcService.AudioCodecType.AUDIO_CODEC_TYPE_G711A = 3
static

3: Uses the SDK built-in G711A encoder and decoder. For G711, the SDK supports a sampling frequency of 8 KHz for a single channel.

◆ AUDIO_CODEC_TYPE_G711U

final int io.agora.rtc.AgoraRtcService.AudioCodecType.AUDIO_CODEC_TYPE_G711U = 4
static

4: Uses the SDK built-in G711U encoder and decoder. For G711, the SDK supports a sampling frequency of 8 KHz for a single channel.

◆ AUDIO_CODEC_TYPE_G722

final int io.agora.rtc.AgoraRtcService.AudioCodecType.AUDIO_CODEC_TYPE_G722 = 2
static

2: Uses the SDK built-in G722 encoder and decoder. For G722, the SDK supports a sampling frequency of 16 KHz for a single channel.

◆ AUDIO_CODEC_TYPE_OPUS

final int io.agora.rtc.AgoraRtcService.AudioCodecType.AUDIO_CODEC_TYPE_OPUS = 1
static

1: Uses the SDK built-in Opus encoder and decoder. For Opus, the SDK supports a sampling frequency of 16 KHz or 48 KHz for a single channel.


The documentation for this class was generated from the following file: