After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 745460 - media-factory: complete DSCP QoS setting support
media-factory: complete DSCP QoS setting support
Status: RESOLVED OBSOLETE
Product: GStreamer
Classification: Platform
Component: gst-rtsp-server
git master
Other Linux
: Normal enhancement
: git master
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2015-03-02 14:43 UTC by gregor.boirie
Modified: 2018-11-03 15:38 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
rtsp-media: propagate buffer size down to sinks (4.02 KB, patch)
2015-03-02 14:54 UTC, gregor.boirie
none Details | Review
rtsp-media: propagate buffer size down to sinks (4.82 KB, patch)
2015-03-03 14:44 UTC, gregor.boirie
reviewed Details | Review
media-factory: complete DSCP QoS setting support (11.42 KB, patch)
2015-03-03 14:45 UTC, gregor.boirie
none Details | Review
media-factory: complete DSCP QoS setting support (11.65 KB, patch)
2016-02-16 13:52 UTC, gregor.boirie
none Details | Review

Description gregor.boirie 2015-03-02 14:43:20 UTC
Buffer size set at media factory level is not applied down to UDP sink.
This can be easily verified by running one of the sample tests:
* with GST_DEBUG="multiudpsink:7"
* modified to use gst_rtsp_media_factory_set_buffer_size()
* with suitable permissions.

Moreover, it is not possible to configure the DSCP/QoS field of UDP sinks neither at the media factory level nor at the media level.

Althought it is possible for an application to set this using gst_rtsp_stream_set_dscp_qos() at media-configure time, an additional handy "gst_rtsp_media_factory_set_dscp_qos()" method would be more consistent with the overall factory/media/stream API.
Comment 1 gregor.boirie 2015-03-02 14:54:48 UTC
Created attachment 298305 [details] [review]
rtsp-media: propagate buffer size down to sinks

Apply media buffer size settings to related streams for RTP data only outgoing sockets, i.e., not onto RTCP related sinks.
Comment 2 gregor.boirie 2015-03-03 14:44:22 UTC
Created attachment 298434 [details] [review]
rtsp-media: propagate buffer size down to sinks

Apply media buffer size settings to related streams for RTP data only outgoing sockets, i.e., not onto RTCP related sinks.
Comment 3 gregor.boirie 2015-03-03 14:45:48 UTC
Created attachment 298435 [details] [review]
media-factory: complete DSCP QoS setting support

add dscp_qos setting support at factory and media level to setup IP DSCP field of bounded UDP sinks.
Comment 4 Tim-Philipp Müller 2016-01-18 23:16:04 UTC
Comment on attachment 298434 [details] [review]
rtsp-media: propagate buffer size down to sinks

Looks like this has been fixed independently with #749095, sorry.
Comment 5 Tim-Philipp Müller 2016-01-18 23:22:08 UTC
Retitling to reflect remaining issue/patch.
Comment 6 Sebastian Dröge (slomo) 2016-01-19 08:16:22 UTC
Comment on attachment 298435 [details] [review]
media-factory: complete DSCP QoS setting support

Looks good but does not apply to latest GIT master. Please rebase :)
Comment 7 Sebastian Dröge (slomo) 2016-02-16 11:32:16 UTC
Ping?
Comment 8 gregor.boirie 2016-02-16 13:52:51 UTC
Created attachment 321372 [details] [review]
media-factory: complete DSCP QoS setting support

add dscp_qos setting support at factory and media level to setup IP DSCP
field of bounded UDP sinks.
Comment 9 gregor.boirie 2016-02-16 13:56:09 UTC
Sorry for the late answer,

patch rebased but needs testing as I have no up to date gstreamer build at the present time (unless you can afford waiting for next week...)

Regards
Comment 10 Sebastian Dröge (slomo) 2016-02-16 13:59:57 UTC
No need to hurry, let's wait until you tested it then :) Please let us know
Comment 11 gregor.boirie 2016-02-16 14:02:11 UTC
(In reply to Sebastian Dröge (slomo) from comment #10)
> No need to hurry, let's wait until you tested it then :) Please let us know

Perfect. I come back to you next week ;)
Comment 12 Tim-Philipp Müller 2018-01-25 10:31:05 UTC
Gregor, did you ever get around to testing this?
Comment 13 GStreamer system administrator 2018-11-03 15:38:20 UTC
-- GitLab Migration Automatic Message --

This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.freedesktop.org/gstreamer/gst-rtsp-server/issues/6.