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 697546 - rtsp-client: expose connection
rtsp-client: expose connection
Status: RESOLVED FIXED
Product: GStreamer
Classification: Platform
Component: gst-rtsp-server
git master
Other Linux
: Normal enhancement
: 1.2.3
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2013-04-08 11:05 UTC by David Svensson Fors
Modified: 2014-02-25 22:28 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Expose connection (2.15 KB, patch)
2013-04-08 11:05 UTC, David Svensson Fors
none Details | Review

Description David Svensson Fors 2013-04-08 11:05:08 UTC
Created attachment 240937 [details] [review]
Expose connection

In our gst-rtsp-server-based server implementation, we need to retrieve the IP address of the requesting host when handling a request. For this and similar tasks, I think it would be useful if GstRTSPClient exposed its GstRTSPConnection. (We can call gst_rtsp_connection_get_ip on that.)

We need the IP address also for failing requests where no streams are set up, so we can't always get it from a GstRTSPTransport.

The attached suggested patch exposes the GstRTSPConnection.
Comment 1 Wim Taymans 2013-04-15 10:19:07 UTC
commit 825d6f0b5190a465ad31dd17c83cc691bc2f421a
Author: David Svensson Fors <davidsf@axis.com>
Date:   Mon Apr 15 12:17:34 2013 +0200

    client: expose connection
    
    Fixes https://bugzilla.gnome.org/show_bug.cgi?id=697546