Audio Codecs
A number of API functions take encoding as an argument. The table below lists the supprted values of the argument and the associated codecs.
Value | Associated Codec |
---|---|
0 | G.711 uLaw, 64 kBit/s, 1 frame(s) per packet by default (audio: 8 kHz/Mono/16 Bit, frame: 10 ms/80 bytes) |
1 | G.711 uLaw, 64 kBit/s, 2 frame(s) per packet by default (audio: 8 kHz/Mono/16 Bit, frame: 10 ms/80 bytes) |
2 | G.711 uLaw, 64 kBit/s, 4 frame(s) per packet by default (audio: 8 kHz/Mono/16 Bit, frame: 10 ms/80 bytes) |
3 | G.711 aLaw, 64 kBit/s, 1 frame(s) per packet by default (audio: 8 kHz/Mono/16 Bit, frame: 10 ms/80 bytes) |
4 | G.711 aLaw, 64 kBit/s, 2 frame(s) per packet by default (audio: 8 kHz/Mono/16 Bit, frame: 10 ms/80 bytes) |
5 | G.711 aLaw, 64 kBit/s, 4 frame(s) per packet by default (audio: 8 kHz/Mono/16 Bit, frame: 10 ms/80 bytes) |
6 | G.723.1, 6.3 kBit/s, 1 frame(s) per packet by default (audio: 8 kHz/Mono/16 Bit, frame: 30 ms/24 bytes) |
7 | G.723.1, 6.3 kBit/s, 2 frame(s) per packet by default (audio: 8 kHz/Mono/16 Bit, frame: 30 ms/24 bytes) |
8 | G.723.1, 6.3 kBit/s, 3 frame(s) per packet by default (audio: 8 kHz/Mono/16 Bit, frame: 30 ms/24 bytes) |
9 | G.723.1, 5.3 kBit/s, 1 frame(s) per packet by default (audio: 8 kHz/Mono/16 Bit, frame: 30 ms/20 bytes) |
10 | G.723.1, 5.3 kBit/s, 2 frame(s) per packet by default (audio: 8 kHz/Mono/16 Bit, frame: 30 ms/20 bytes) |
11 | G.723.1, 5.3 kBit/s, 3 frame(s) per packet by default (audio: 8 kHz/Mono/16 Bit, frame: 30 ms/20 bytes) |
12 | GSM 06.10, 13 kBit/s, 1 frame(s) per packet by default (audio: 8 kHz/Mono/16 Bit, frame: 20 ms/33 bytes, RPE/LTP, aka GSM-FR) |
13 | LPC-10, 2.4 kBit/s, 1 frame(s) per packet by default (audio: 8 kHz/Mono/16 Bit, frame: 22.5 ms/8 bytes) |
14 | G.729a, 8 kBit/s, 1 frame(s) per packet by default (audio: 8 kHz/Mono/16 Bit, frame: 10 ms/10 bytes) |
15 | G.729a, 8 kBit/s, 2 frame(s) per packet by default (audio: 8 kHz/Mono/16 Bit, frame: 10 ms/10 bytes) |
16 | G.729a, 8 kBit/s, 3 frame(s) per packet by default (audio: 8 kHz/Mono/16 Bit, frame: 10 ms/10 bytes) |
17 | G.729a, 8 kBit/s, 4 frame(s) per packet by default (audio: 8 kHz/Mono/16 Bit, frame: 10 ms/10 bytes) |
18 | AMR, 4.75 kBit/s, octet-aligned, 1 frame(s) per packet by default (audio: 8 kHz/Mono/16 Bit, frame: 20 ms/14 bytes) |
19 | AMR, 5.15 kBit/s, octet-aligned, 1 frame(s) per packet by default (audio: 8 kHz/Mono/16 Bit, frame: 20 ms/15 bytes) |
20 | AMR, 5.90 kBit/s, octet-aligned, 1 frame(s) per packet by default (audio: 8 kHz/Mono/16 Bit, frame: 20 ms/17 bytes) |
21 | AMR, 6.70 kBit/s, octet-aligned, 1 frame(s) per packet by default (audio: 8 kHz/Mono/16 Bit, frame: 20 ms/19 bytes, aka PDC-EFR) |
22 | AMR, 7.40 kBit/s, octet-aligned, 1 frame(s) per packet by default (audio: 8 kHz/Mono/16 Bit, frame: 20 ms/21 bytes, aka TDMA-EFR) |
23 | AMR, 7.95 kBit/s, octet-aligned, 1 frame(s) per packet by default (audio: 8 kHz/Mono/16 Bit, frame: 20 ms/22 bytes) |
24 | AMR, 10.2 kBit/s, octet-aligned, 1 frame(s) per packet by default (audio: 8 kHz/Mono/16 Bit, frame: 20 ms/28 bytes) |
25 | AMR, 12.2 kBit/s, octet-aligned, 1 frame(s) per packet by default (audio: 8 kHz/Mono/16 Bit, frame: 20 ms/33 bytes, aka GSM-EFR) |
26 | AMR, 4.75 kBit/s, bandwidth-efficient, 1 frame(s) per packet by default (audio: 8 kHz/Mono/16 Bit, frame: 20 ms/14 bytes) |
27 | AMR, 5.15 kBit/s, bandwidth-efficient, 1 frame(s) per packet by default (audio: 8 kHz/Mono/16 Bit, frame: 20 ms/15 bytes) |
28 | AMR, 5.90 kBit/s, bandwidth-efficient, 1 frame(s) per packet by default (audio: 8 kHz/Mono/16 Bit, frame: 20 ms/16 bytes) |
29 | AMR, 6.70 kBit/s, bandwidth-efficient, 1 frame(s) per packet by default (audio: 8 kHz/Mono/16 Bit, frame: 20 ms/18 bytes, aka PDC-EFR) |
30 | AMR, 7.40 kBit/s, bandwidth-efficient, 1 frame(s) per packet by default (audio: 8 kHz/Mono/16 Bit, frame: 20 ms/20 bytes, aka TDMA-EFR) |
31 | AMR, 7.95 kBit/s, bandwidth-efficient, 1 frame(s) per packet by default (audio: 8 kHz/Mono/16 Bit, frame: 20 ms/22 bytes) |
32 | AMR, 10.2 kBit/s, bandwidth-efficient, 1 frame(s) per packet by default (audio: 8 kHz/Mono/16 Bit, frame: 20 ms/27 bytes) |
33 | AMR, 12.2 kBit/s, bandwidth-efficient, 1 frame(s) per packet by default (audio: 8 kHz/Mono/16 Bit, frame: 20 ms/32 bytes, aka GSM-EFR) |
34 | AMR-WB, 6.60 kBit/s, octet-aligned, 1 frame(s) per packet by default (audio: 16 kHz/Mono/16 Bit, frame: 20 ms/19 bytes) |
35 | AMR-WB, 8.85 kBit/s, octet-aligned, 1 frame(s) per packet by default (audio: 16 kHz/Mono/16 Bit, frame: 20 ms/25 bytes) |
36 | AMR-WB, 12.65 kBit/s, octet-aligned, 1 frame(s) per packet by default (audio: 16 kHz/Mono/16 Bit, frame: 20 ms/34 bytes) |
37 | AMR-WB, 14.25 kBit/s, octet-aligned, 1 frame(s) per packet by default (audio: 16 kHz/Mono/16 Bit, frame: 20 ms/38 bytes) |
38 | AMR-WB, 15.85 kBit/s, octet-aligned, 1 frame(s) per packet by default (audio: 16 kHz/Mono/16 Bit, frame: 20 ms/42 bytes) |
39 | AMR-WB, 18.25 kBit/s, octet-aligned, 1 frame(s) per packet by default (audio: 16 kHz/Mono/16 Bit, frame: 20 ms/48 bytes) |
40 | AMR-WB, 19.85 kBit/s, octet-aligned, 1 frame(s) per packet by default (audio: 16 kHz/Mono/16 Bit, frame: 20 ms/52 bytes) |
41 | AMR-WB, 23.05 kBit/s, octet-aligned, 1 frame(s) per packet by default (audio: 16 kHz/Mono/16 Bit, frame: 20 ms/60 bytes) |
42 | AMR-WB, 23.85 kBit/s, octet-aligned, 1 frame(s) per packet by default (audio: 16 kHz/Mono/16 Bit, frame: 20 ms/62 bytes) |
43 | AMR-WB, 6.60 kBit/s, bandwidth-efficient, 1 frame(s) per packet by default (audio: 16 kHz/Mono/16 Bit, frame: 20 ms/18 bytes) |
44 | AMR-WB, 8.85 kBit/s, bandwidth-efficient, 1 frame(s) per packet by default (audio: 16 kHz/Mono/16 Bit, frame: 20 ms/24 bytes) |
45 | AMR-WB, 12.65 kBit/s, bandwidth-efficient, 1 frame(s) per packet by default (audio: 16 kHz/Mono/16 Bit, frame: 20 ms/33 bytes) |
46 | GAMR-WB, 14.25 kBit/s, bandwidth-efficient, 1 frame(s) per packet by default (audio: 16 kHz/Mono/16 Bit, frame: 20 ms/37 bytes) |
47 | AMR-WB, 15.85 kBit/s, bandwidth-efficient, 1 frame(s) per packet by default (audio: 16 kHz/Mono/16 Bit, frame: 20 ms/41 bytes) |
48 | AMR-WB, 18.25 kBit/s, bandwidth-efficient, 1 frame(s) per packet by default (audio: 16 kHz/Mono/16 Bit, frame: 20 ms/47 bytes) |
49 | AMR-WB, 19.85 kBit/s, bandwidth-efficient, 1 frame(s) per packet by default (audio: 16 kHz/Mono/16 Bit, frame: 20 ms/51 bytes) |
50 | AMR-WB, 23.05 kBit/s, bandwidth-efficient, 1 frame(s) per packet by default (audio: 16 kHz/Mono/16 Bit, frame: 20 ms/59 bytes) |
51 | AMR-WB, 23.85 kBit/s, bandwidth-efficient, 1 frame(s) per packet by default (audio: 16 kHz/Mono/16 Bit, frame: 20 ms/61 bytes) |
52 | G.722, 64 kBit/s, 2 frame(s) per packet by default (audio: 16 kHz/Mono/16 Bit, frame: 10 ms/80 bytes) |
53 | G.722, 56 kBit/s, 2 frame(s) per packet by default (audio: 16 kHz/Mono/16 Bit, frame: 10 ms/80 bytes) |
54 | G.722, 48 kBit/s, 2 frame(s) per packet by default (audio: 16 kHz/Mono/16 Bit, frame: 10 ms/80 bytes) |
55 | AMR, 4.75 kBit/s, over IuUP, 1 frame(s) per packet by default (audio: 8 kHz/Mono/16 Bit, frame: 20 ms/14 bytes) |
56 | AMR, 5.15 kBit/s, over IuUP, 1 frame(s) per packet by default (audio: 8 kHz/Mono/16 Bit, frame: 20 ms/15 bytes) |
57 | AMR, 5.90 kBit/s, over IuUP, 1 frame(s) per packet by default (audio: 8 kHz/Mono/16 Bit, frame: 20 ms/17 bytes) |
58 | AMR, 6.70 kBit/s, over IuUP, 1 frame(s) per packet by default (audio: 8 kHz/Mono/16 Bit, frame: 20 ms/19 bytes) |
59 | AMR, 7.40 kBit/s, over IuUP, 1 frame(s) per packet by default (audio: 8 kHz/Mono/16 Bit, frame: 20 ms/21 bytes) |
60 | AMR, 7.95 kBit/s, over IuUP, 1 frame(s) per packet by default (audio: 8 kHz/Mono/16 Bit, frame: 20 ms/22 bytes) |
61 | AMR, 10.2 kBit/s, over IuUP, 1 frame(s) per packet by default (audio: 8 kHz/Mono/16 Bit, frame: 20 ms/28 bytes) |
62 | AMR, 12.2 kBit/s, over IuUP, 1 frame(s) per packet by default (audio: 8 kHz/Mono/16 Bit, frame: 20 ms/33 bytes) |
63 | AMR-WB, 6.60 kBit/s, over IuUP, 1 frame(s) per packet by default (audio: 16 kHz/Mono/16 Bit, frame: 20 ms/19 bytes) |
64 | AMR-WB, 8.85 kBit/s, over IuUP, 1 frame(s) per packet by default (audio: 16 kHz/Mono/16 Bit, frame: 20 ms/25 bytes) |
65 | AMR-WB, 12.65 kBit/s, over IuUP, 1 frame(s) per packet by default (audio: 16 kHz/Mono/16 Bit, frame: 20 ms/34 bytes) |
66 | AMR-WB, 14.25 kBit/s, over IuUP, 1 frame(s) per packet by default (audio: 16 kHz/Mono/16 Bit, frame: 20 ms/38 bytes) |
67 | AMR-WB, 15.85 kBit/s, over IuUP, 1 frame(s) per packet by default (audio: 16 kHz/Mono/16 Bit, frame: 20 ms/42 bytes) |
68 | AMR-WB, 18.25 kBit/s, over IuUP, 1 frame(s) per packet by default (audio: 16 kHz/Mono/16 Bit, frame: 20 ms/48 bytes) |
69 | AMR-WB, 19.85 kBit/s, over IuUP, 1 frame(s) per packet by default (audio: 16 kHz/Mono/16 Bit, frame: 20 ms/52 bytes) |
70 | AMR-WB, 23.05 kBit/s, over IuUP, 1 frame(s) per packet by default (audio: 16 kHz/Mono/16 Bit, frame: 20 ms/60 bytes) |
71 | AMR-WB, 23.85 kBit/s, over IuUP, 1 frame(s) per packet by default (audio: 16 kHz/Mono/16 Bit, frame: 20 ms/62 bytes) |