Skip to content

udpsink: add socket-priority & socket-txtime options

George Kiagiadakis requested to merge gkiagia/gstreamer:udp_so_txtime_2 into main

socket-priority allows the user to set the SO_PRIORITY value on the socket, which can then be mapped to a traffic class for traffic control.

socket-txtime enables synchronization of packets on the kernel / device via the SO_TXTIME socket option. This allows granular, sub-millisecond synchronization of packets that can't be achieved reliably in the userland. When this option is enabled, udpsink disables synchronization in GstBaseSink and also provides a clock, a GstSystemClock that uses CLOCK_TAI. Currently, synchronization will not work properly if another clock is selected.

Edited by Nicolas Dufresne

Merge request reports

Loading