GNOME Bugzilla – Bug 695774
rtsp-client: add gst_rtsp_client_get_uri()
Last modified: 2014-02-25 22:28:04 UTC
Created attachment 238781 [details] [review] rtsp-client: expose url The patch exposes the client's url. This information is needed when the specific sdp fields are created (in the create_sdp virtual function) based on the requested url.
Comment on attachment 238781 [details] [review] rtsp-client: expose url Quite a bit of _url/_uri confusion in our API :) I think _uri dominates though, so I'm happy with that unless Wim feels differently. There's one thing which needs fixing: the function should actually return a copy or ref or the GstRTSPUrl, not just return the client->uri pointer. That's needed for thread-safety reasons, but also for bindings given the (transfer full) annotation. Also seems like the right thing to do. Unit tests will need updating for that then.
Created attachment 239099 [details] [review] rtsp-client: expose url
Thank you for your response. I've corrected the patch: the copy of the GstRTSPUrl is now returned by the _get_uri function.
commit 8a08fddb41c7a25e025eaccf92961e1797fd6576 Author: Patricia Muscalu <patricia@axis.com> Date: Mon Mar 18 09:25:54 2013 +0100 rtsp-client: expose uri