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

Hadoop - How to setup a Hadoop Cluster

Below is a step-by-step guide which I had used to setup a Hadoop Cluster Scenario 3 VMs involved: 1) NameNode, ResourceManager - Host...