Friday, February 25, 2011

RTP - Padding

It is possible that RTP packets contains padding bytes at the end of the payload.

If the padding field at the RTP header is set to 1, it means that padding existing in the packet. The last byte of the packet denote the number of padding bytes should be ignored.

The value include itself. So, if the last byte is a value of 9, it means that the last 9 bytes of the RTP packets are padding.

Some reasons to have padding are

1. The payload are some encrypted data with certain fixed block size
2. Carrying several RTP packets in a lower layer protocol data unit

No comments:

Post a Comment

Facebook - Control privacy setting of liked page

By default, Facebook displayed your liked page to public. It is the user responsibility to adjust the privacy setting. And in my opinion, F...