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.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs/-/merge_requests/977>
This commit is contained in:
François Laignel 2022-11-04 14:11:44 +01:00 committed by GStreamer Marge Bot
parent 2e52fece61
commit cdf07dd860

File diff suppressed because it is too large Load diff