mirror of
https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs.git
synced 2024-11-25 13:01:07 +00:00
ts/udpsink: handle items in the PadSinkHandler
... instead of forwarding them to a Task via a channel. This improves CPU usage by 5% according to `udpsrc-benchmark-sender` with the `tuning` feature using default audio test buffers and 400 streams on the same ts-context. It is expected to improve latency significantly. This is inferred from `ts-standalone`: latency shrinks from around 5ms to 1.5µs using the `task` sink compared to the `async-mutex` sink. The async Mutex is mandatory here as we need to hold the lock across await points.
This commit is contained in:
parent
29a490f6dc
commit
e1afa43aa3
1 changed files with 588 additions and 666 deletions
File diff suppressed because it is too large
Load diff
Loading…
Reference in a new issue