RTP AAC Packet Depacketizer

℡╲_俬逩灬. 提交于 2019-12-14 02:28:14

问题


I asked earlier about H264 at RTP H.264 Packet Depacketizer

My question now is about the audio packets.

I noticed via the RTP packets that audio frames like AAC, G.711, G.726 and others all have the Marker Bit set.

I think frames are independent. am I right?

My question is: Audio is small, but I know that I can have more than one frame per RTP ​​packet. Independent of how many frames I have, they are complete? Or it may be fragmented between RTP packets.


回答1:


The difference between audio and video is that audio is typically encoded either in individual samples, or in certain [small] frames without reference to previous data. Additionally, amount of data is small. So audio does not typically need complicated fragmentation to be transmitted over RTP. However, for any payload type you should again refer to RFC that describes the details:

  • AAC - RTP Payload Format for MPEG-4 Audio/Visual Streams
  • G.711 - RTP Payload Format for ITU-T Recommendation G.711.1
  • G.726 - RTP Profile for Audio and Video Conferences with Minimal Control
  • Other


来源:https://stackoverflow.com/questions/15472788/rtp-aac-packet-depacketizer

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!