Question

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.

Was it helpful?

Solution

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:

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top