开发者

Send MP3 file via RTP

开发者 https://www.devze.com 2023-01-30 10:44 出处:网络
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 f

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.

0

精彩评论

暂无评论...
验证码 换一张
取 消