APPENDIX C: RTP FORMAT
An audio stream encoder must respect the size and the payload type described underneath.
RTP frame size
The maximum payload size in bytes for the encoder can be calculated from the formula:
where chans is the number of channels, bps is the number of bytes per sample and samplerate is the sampling
rate in Hertz.
The maximum payload size for MP3 is 1400 bytes.
RTP payload types
The following table shows the defined RTP payload types that the encoder must respect.
RTP
payload
Audio formats
type
μ-Law, 8bit, mono, 8kHz
0
A-Law, 8bit, mono, 8kHz
8
PCM, 16bit, MSB first, signed, 44.1 kHz stereo, left channel first
10
PCM, 16bit, MSB first, signed, 44.1 kHz mono
11
MPEG audio
14
PCM ,16bit, MSB first, signed, 8 kHz mono
96
PCM, 16bit, MSB first, signed, 24 kHz mono
99
PCM, 16bit, MSB first, signed, 32 kHz mono reserved
102
PCM 16bit, MSB first, signed, 48 kHz stereo, left channel first
103
PCM ,16bit, MSB first, signed, 12 kHz mono
111
Other formats
127
Payload types 0, 8, 10, 11 and 14 are defined by the RTP standard. Digigram defines assignment for payload
types 96 to 127 (dynamic payload types) in the above tables.
20
Min(1300, 20.chans.Bps.samplerate/1000)
Need help?
Do you have a question about the PYKO-in and is the answer not in the manual?
Questions and answers