[Bug 751883] rtcpbuffer: Fix validation of packets with padding

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Mon Jul 6 02:09:22 PDT 2015


https://bugzilla.gnome.org/show_bug.cgi?id=751883

Sebastian Dröge (slomo) <slomo at coaxion.net> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED
   Target Milestone|git master                  |1.5.3

--- Comment #3 from Sebastian Dröge (slomo) <slomo at coaxion.net> ---
commit 1586981b1bf88016ae2e39bde18e111306fbf7f2
Author: Stian Selnes <stian at pexip.com>
Date:   Thu Jul 2 20:50:00 2015 +0200

    rtcpbuffer: Fix validation of packets with padding

    The padding (if any) is included in the length of the last packet, see
    RFC 3550.

    Section 6.4.1:
       padding (P): 1 bit
          If the padding bit is set, this individual RTCP packet contains
          some additional padding octets at the end which are not part of
          the control information but are included in the length field. The
          last octet of the padding is a count of how many padding octets
          should be ignored, including itself (it will be a multiple of
          four).

    Section A.2:
       *  The padding bit (P) should be zero for the first packet of a
          compound RTCP packet because padding should only be applied, if it
          is needed, to the last packet.

       *  The length fields of the individual RTCP packets must add up to
          the overall length of the compound RTCP packet as received.

    https://bugzilla.gnome.org/show_bug.cgi?id=751883

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.


More information about the gstreamer-bugs mailing list