I want to send a file .mp3 in RTP packets to a client. What I know is, how many bytes I get from .mp3 file to send in each RTP packet, that is, how much bytes of the .mp3 file I place in the payload field of each RTP packet?
开发者_运维百科Thanks for the help.
Greetings!
You should look at RFC 5219 - A More Loss-Tolerant RTP Payload Format for MP3 Audio. It's not as simple as "how many bytes...". This also references the older RFCs for MP3.
精彩评论