GNOME Bugzilla – Bug 702645
DSCP QoS support
Last modified: 2014-02-25 22:29:13 UTC
We need to be able to set DSCP QoS on the udp sockets sending rtp data. The information is deduced from the URL and/or general settings in the rest of the application and need to be communicated and used in rtsp-stream.c when creating the multiudpsocket. I don't have a full patch yet, but my idea is that we could communicate this information as metadata on the payloader elements. g_object_set_data_full / g_object_get_data If this sounds acceptable I will create a patch for review. If not, then I would appriciate a pointer on how stream-specific data like this should be communicated.
It sounds like another option to configure on the rtsp-stream object. We currently configure the MTU (on the stream payloader). So, it looks like we want another gst_rtsp_stream_set_qos_dscp() and then some vmethod to configure the stream.
Would it be ok to configure the stream in the new_stream signal handler? At that point I don't think the udpsink exists yet, but that could be easily handled.
Created attachment 247602 [details] [review] Patch
commit c3f867317494ccd38e8bbc76f5235e2287b846b3 Author: Alexander Schrab <alexas@axis.com> Date: Mon Jun 24 10:43:59 2013 +0200 dscp qos support in gst-rtsp-stream Fixes https://bugzilla.gnome.org/show_bug.cgi?id=702645