Skip to content

rtp: gstrtcpbuffer: fix rtcp packet padding check

srtcp packets possibly contain padding in the last rtcp packet of a compound rtcp packet. This is needed to align to a 32-bit boundary before encryption. Padding bytes should be zero and last byte contains padding byte count, including itself. https://www.rfc-editor.org/rfc/rfc3550

This means max padding byte count is 3.

Merge request reports

Loading