skip to main content
Transmit audio object
Describes the codec, duplex mode and framing specifications for transmitted audio.
Property
Type
Required
Description
encoder
Number
Required
Specifies the codec used to transmit audio; acceptable values are: \return1: G.711 alaw (64 kbps)\return2: G.711 ulaw (64 kbps)\return3: GSM 6.10 (13.3 kbps)\return10: AMR Narrowband (4.75 kbps)\return11: AMR Narrowband (5.15 kbps)\return12: AMR Narrowband (5.9 kbps)\return13: AMR Narrowband (6.7 kbps)\return14: AMR Narrowband (7.4 kbps)\return15: AMR Narrowband (7.95 kbps)\return16: AMR Narrowband (10.2 kbps)\return17: AMR Narrowband (12.2 kbps)\return20: Opus Narrowband (6 kbps)\return21: Opus Narrowband (8 kbps)\return22: Opus Narrowband (10 kbps)\return23: Opus Narrowband (12 kbps)\return24: Opus Narrowband (14 kbps)\return25: Opus Narrowband (16 kbps)\return26: Opus Narrowband (18 kbps)\return27: Opus Narrowband (20 kbps)\return28: Opus Narrowband (22 kbps)\return29: Opus Narrowband (24 kbps)\return30: MELPe Narrowband (600 bps)\return31: MELPe Narrowband (1.2 kbps)\return32: MELPe Narrowband (2.4 kbps)
fdx
Boolean
Optional
Full duplex mode when true; half duplex mode when false. Default false.
framingMs
Number
Optional
The number of milliseconds of audio to be encapsulated into each transmitted UDP packet. Typically 20.
maxTxSecs
Number
Optional
The longest transmit duration (in seconds) allowable on this channel. When 0 no limit is applied. Default 0.
noHdrExt
Boolean
Optional
When true no custom RTP headers wills be appended to transmitted audio packets; useful to disable on interop channels. Default false.