gst-plugins-rs/net/rtp
Sebastian Dröge 3520fc67de rtpav1depay: Don't output full TUs but just OBUs as they come
Simplifies state tracking and potentially reduces latency as it's not
necessary to wait until all fragments of an OBU are received.

The last OBU of a TU is marked with the marker flag to allow parsers to
detect this without first seeing the beginning of the next TU.

Also use a simple `Vec` for collecting complete OBUs instead of a
`gst_base::Adapter` as this reduces the number of allocations.

And also handle invalid packets a little bit more gracefully.

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

Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs/-/merge_requests/1086>
2023-02-09 21:13:06 +02:00
..
src rtpav1depay: Don't output full TUs but just OBUs as they come 2023-02-09 21:13:06 +02:00
tests rtpav1depay: Don't output full TUs but just OBUs as they come 2023-02-09 21:13:06 +02:00
build.rs Rename rtpav1 plugin to just rtp 2022-10-23 20:04:43 +03:00
Cargo.toml rtpav1depay: Don't output full TUs but just OBUs as they come 2023-02-09 21:13:06 +02:00