[Bug 720667] URI Query component not returned to clients in describe response

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Wed Dec 18 06:24:17 PST 2013


https://bugzilla.gnome.org/show_bug.cgi?id=720667
  GStreamer | gst-rtsp-server | git

--- Comment #3 from Wim Taymans <wim.taymans at gmail.com> 2013-12-18 14:24:10 UTC ---
(In reply to comment #2)
> 2) Then a client will use SETUP /some/url/foo/audio?lang=XX for one of the
> languages and the stream with the right control url is retrieved.

This happens automatically currently. The default make_path_from_uri will
append the query parameters to construct the control url.

> 
> 3) a client can also do SETUP /some/url/foo/audio?lang=nl&bitrate=20000. In
> that case the audio?lang=nl stream is selected and bitrate=XXX is used as an
> extra parameters to configure the transport.

This you can implement by overriding the make_path_from_uri vmethod on the
RTSPClient object. You will look at the uri and generate the path uri
audio?lang=nl that uniquely identifies the stream.

To use the other properties on the url to configure the stream, you would then
override configure_client_transport in GstRTSPClient and use the context to
configure the pipeline of the media. I would like to add a better method for
this  later.

-- 
Configure bugmail: https://bugzilla.gnome.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.


More information about the gstreamer-bugs mailing list