gst-plugins-rs/net/rtp
Sebastian Dröge 0ca4a3778a rtp: av1depay: Parse internal size fields of OBUs and handle them
They're not recommended by the spec to include in the RTP packets but it
is valid to include them. Pion is including them.

When parsing the size fields also make sure to only take that much of a
payload unit and to skip any trailing data (which should not exist in
the first place).

Pion is also currently storing multiple OBUs in a single payload unit,
which is not allowed by the spec but can be easily handled with this
code now.

Fixes https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs/-/issues/560

Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs/-/merge_requests/1612>
2024-06-14 13:13:21 +00:00
..
src rtp: av1depay: Parse internal size fields of OBUs and handle them 2024-06-14 13:13:21 +00:00
tests rtpbin2: split send and receive halves into separate elements 2024-05-28 19:58:09 +10:00
build.rs Rename rtpav1 plugin to just rtp 2022-10-23 20:04:43 +03:00
Cargo.toml rtp: Use released version of rtcp-types 2024-05-29 10:30:40 +03:00