rtspconnection: Support authentication during tunneling setup
authorEvan Callaway <evan.callaway@ipconfigure.com>
Mon, 14 Dec 2015 14:10:16 +0000 (09:10 -0500)
committerSebastian Dröge <sebastian@centricular.com>
Mon, 14 Dec 2015 15:00:45 +0000 (16:00 +0100)
commit65c7bd7a2ced2c3c82f6bb4663217c9afdb9faad
tree0b3b7fa43b6936bb5acd873875cf6fe282917a5f
parentd6be67265f590ee4258cfdaf7e7d42256a985f4f
rtspconnection: Support authentication during tunneling setup

gst_rtsp_connection_connect_with_response accepts a response pointer
which it fills with the response from setup_tunneling if the
connection is configured to be tunneled.  The motivation for this is to
allow the caller to inspect the response header to determine if
additional authentication is required so that the connection can be
retried with the appropriate authentication headers.

The function prototype of gst_rtsp_connection_connect has been
preserved for compatability with existing code and wraps
gst_rtsp_connection_connect_with_response.

https://bugzilla.gnome.org/show_bug.cgi?id=749596
docs/libs/gst-plugins-base-libs-sections.txt
gst-libs/gst/rtsp/gstrtspconnection.c
gst-libs/gst/rtsp/gstrtspconnection.h
win32/common/libgstrtsp.def