100 likes | 266 Vues
A More Loss-Tolerant RTP Payload Format for MP3 Audio. <draft-ietf-avt-rtp-mp3-01.txt>. Ross Finlayson LIVE.COM. Existing RTP payload format for MPEG audio (RFC 2250). Packet boundaries are on MPEG frame boundaries Appropriate for MPEG (1 or 2) layer I or II audio
E N D
A More Loss-Tolerant RTP Payload Format for MP3 Audio <draft-ietf-avt-rtp-mp3-01.txt> Ross Finlayson LIVE.COM
Existing RTP payload format for MPEG audio (RFC 2250) • Packet boundaries are on MPEG frame boundaries • Appropriate for MPEG (1 or 2) layer I or II audio • because their frames are true “application data units” (ADUs) - can be decoded independently • Less appropriate for layer III audio (“mp3”) • mp3 frames contain a back-pointer to earlier frames • ADU boundaries don’t correspond to frame boundaries • causes noticeable audio glitches when packets are lost
frame frame frame frame ADU ADU ADU Illustration
frame frame frame frame ADU ADU ADU Illustration
frame frame frame frame ADU ADU ADU If a frame gets lost...
frame frame frame frame ADU ADU ADU If a frame gets lost... Data received, but useless Data lost Data received, but useless
Alternative: Send headers+ADUs, not frames ADU ADU ADU
A new RTP payload format for MP3 • Identical to the existing format (RFC 2250), except • packets contain complete ADUs - not frames • uses a different payload type (dynamic) • Data-preserving rearrangement of the original • no redundancy added => no increase in bit rate • However, implementations now need more knowledge of the internals of MP3 frames
Recent additions to this Internet-Draft • How to handle streams with layer I or II frames mixed with layer III • probably an uncommon situation • ‘Pseudo-code’ for converting between regular “MP3 frames” and “ADU frames”
Notes • For more information - including audio illustrations: • http://www.live.com/rtp-mp3/ • Some multicast MP3 server and receiver tools that (optionally) use this payload format: • http://www.live.com/liveCaster/ • Let’s have some more implementations!