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 679337 - Use an existing socket to establish a RTSP over HTTP tunnel
Use an existing socket to establish a RTSP over HTTP tunnel
Status: RESOLVED FIXED
Product: GStreamer
Classification: Platform
Component: gst-rtsp-server
git master
Other Linux
: Normal enhancement
: 0.11.x
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2012-07-03 16:20 UTC by Ognyan Tonchev (redstar_)
Modified: 2012-07-10 09:40 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Use an existing socket to establish an RTSP over HTTP tunnel (8.24 KB, patch)
2012-07-03 16:20 UTC, Ognyan Tonchev (redstar_)
none Details | Review
Update the initial_buffer accordingly when merging two RTSP Connections (618 bytes, patch)
2012-07-04 10:03 UTC, Ognyan Tonchev (redstar_)
none Details | Review

Description Ognyan Tonchev (redstar_) 2012-07-03 16:20:11 UTC
Created attachment 217944 [details] [review]
Use an existing socket to establish an RTSP over HTTP tunnel

Take an existing network socket and use it for an RTSP connection. This is useful when transferring a socket from an HTTP server which should be used as an RTSP over HTTP tunnel.

While creating the patch i also noticed that gst_rtsp_client_accept () can return FALSE without setting the Error. The same goes for the new function gst_rtsp_client_create_from_socket (). A new bug will come in a short while regarding that problem.
Comment 1 Ognyan Tonchev (redstar_) 2012-07-04 10:03:26 UTC
Created attachment 217996 [details] [review]
Update the initial_buffer accordingly when merging two RTSP Connections

I also found a bug in GstRTSPConnection which needs to be fixed for the transfer fd patch to work. The problem today is that the initial_buffer is not updated accordingly when merging two RTSP connections with gst_rtsp_connection_do_tunnel ()
Comment 2 Wim Taymans 2012-07-10 09:37:20 UTC
commit de9aeb0c72b5a7c7252c821d6119187f3ca855f7
Author: Ognyan Tonchev <ognyan@axis.com>
Date:   Tue Jul 10 11:34:47 2012 +0200

    rtsp: Update the initial_buffer when merging RTSP Connections
    
    See https://bugzilla.gnome.org/show_bug.cgi?id=679337
Comment 3 Wim Taymans 2012-07-10 09:40:50 UTC
commit ed66f974dd14a66ae72ad8fdd34cb84376bf226a
Author: Ognyan Tonchev <ognyan@axis.com>
Date:   Tue Jul 3 18:06:00 2012 +0200

    rtsp-server: use an existing socket to establish HTTP tunnel
    
    Make it possible to transfer a socket from an HTTP server to be used as
    an RTSP over HTTP tunnel.