summaryrefslogtreecommitdiff
path: root/win32
diff options
context:
space:
mode:
authorWim Taymans <wim.taymans@collabora.co.uk>2009-03-04 12:21:29 +0100
committerWim Taymans <wim.taymans@collabora.co.uk>2009-03-04 12:21:29 +0100
commitb6d7a1dc0331ebb17807ffed8ee694ba4b338904 (patch)
tree0654647955deb832967d83e4fa43de03963ccf4b /win32
parent3b6e9fc8701920848ea5d13db97f885dd01e655c (diff)
RTSP: Add support for server tunneling
Save the tunnelid in the connection. Add a method to retrieve the tunnelid so that a server can store and match the id against other tunnel requests. Fix the URI in the tunnel requests so that they contain the absolute uri and the query string if any instead of just the hostname. Transparently base64 decode the input stream when tunneling. Add method to set the connection ip address so that it can be included in the tunnel response. Add method to connect the two tunnel requests. Add two callbacks for the async mode to notify a tunnel start and tunnel complete event. Add method to reset the watch after the connection has been tunneled. Various little refactoring to make more stuff reusable. API: RTSP::gst_rtsp_connection_set_ip() API: RTSP::gst_rtsp_connection_get_tunnelid() API: RTSP::gst_rtsp_connection_do_tunnel() API: RTSP::gst_rtsp_watch_reset()
Diffstat (limited to 'win32')
-rw-r--r--win32/common/libgstrtsp.def4
1 files changed, 4 insertions, 0 deletions
diff --git a/win32/common/libgstrtsp.def b/win32/common/libgstrtsp.def
index 6bcc2a4a5..9f10b8670 100644
--- a/win32/common/libgstrtsp.def
+++ b/win32/common/libgstrtsp.def
@@ -7,9 +7,11 @@ EXPORTS
gst_rtsp_connection_close
gst_rtsp_connection_connect
gst_rtsp_connection_create
+ gst_rtsp_connection_do_tunnel
gst_rtsp_connection_flush
gst_rtsp_connection_free
gst_rtsp_connection_get_ip
+ gst_rtsp_connection_get_tunnelid
gst_rtsp_connection_get_url
gst_rtsp_connection_is_tunneled
gst_rtsp_connection_next_timeout
@@ -20,6 +22,7 @@ EXPORTS
gst_rtsp_connection_send
gst_rtsp_connection_set_auth
gst_rtsp_connection_set_auth_param
+ gst_rtsp_connection_set_ip
gst_rtsp_connection_set_qos_dscp
gst_rtsp_connection_set_tunneled
gst_rtsp_connection_write
@@ -95,4 +98,5 @@ EXPORTS
gst_rtsp_watch_attach
gst_rtsp_watch_new
gst_rtsp_watch_queue_message
+ gst_rtsp_watch_reset
gst_rtsp_watch_unref