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

Windows 7 - STOP 0x0000007B (0xFFFFF880009A97E8 0xFFFFFFFFC0000034 0x0000000000 0x0000000000)

If you encounter STOP 0x0000007B (0xFFFFF880009A97E8 0xFFFFFFFFC0000034 0x0000000000 0x0000000000) blue screen of death. This is very like...