gstreamer/gst-libs/gst/rtsp
Per Förlin 535c02c73b gstrtspconnection: Add support to ignore x-server header reply
When connecting to an RTSP server in tunnled mode (HTTP) the server
usually replies with a x-server header. This contains the address
of the intended streaming server. However some servers return an
"invalid" address. Here follows two examples when it might happen.

1. A server use Apache combined with a separate RTSP process to handle
   Https request on port 443. In this case Apache handle TLS and
   connects to the local RTSP server, which results in a local
   address 127.0.0.1 or ::1 in the x-server reply. This address is
   returned to the actual RTSP client in the x-server header.
   The client will receive this address and try to  connect to it
   and fail.

2. The client use a ipv6 link local address with a specified scope id
   fe80::aaaa:bbbb:cccc:dddd%eth0 and connects via Http on port 80.
   The RTSP server receives the connection and returns the address
   in the x-server header. The client will receive this address and
   try to connect to it "as is" without the scope id and fail.

In the case of streaming data from RTSP servers like 1. and 2. it's
useful to have the option to simply ignore the x-server header reply
and continue using the original address.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-base/-/merge_requests/1192>
2021-08-16 09:06:37 +00:00
..
gstrtsp.h libs: Add missing single include headers and use them in GIRs 2012-11-21 11:01:24 +01:00
gstrtspconnection.c gstrtspconnection: Add support to ignore x-server header reply 2021-08-16 09:06:37 +00:00
gstrtspconnection.h gstrtspconnection: Add support to ignore x-server header reply 2021-08-16 09:06:37 +00:00
gstrtspdefs.c libs: Fix various Since markers 2019-04-23 12:28:26 +00:00
gstrtspdefs.h Pass the code through codespell 2019-08-30 13:05:36 +00:00
gstrtspextension.c gst: don't use volatile to mean atomic 2021-03-19 04:20:19 +00:00
gstrtspextension.h Pass the code through codespell 2019-08-30 13:05:36 +00:00
gstrtspmessage.c Use g_memdup2() where available and add fallback for older GLib versions 2021-06-02 14:21:02 +00:00
gstrtspmessage.h Fix up and add various "Since" markers and other related docs fixes 2020-06-19 12:17:55 +03:00
gstrtsprange.c gst-libs: include config.h in all source files 2018-08-13 09:23:34 +01:00
gstrtsprange.h rtsp: GST_EXPORT -> GST_RTSP_API 2018-03-13 12:16:42 +00:00
gstrtsptransport.c rtsptransport: support single port for client_port and server_port 2020-10-09 23:43:33 +02:00
gstrtsptransport.h pbutils, rtsp: fix deprecation guards 2018-08-13 00:24:50 +01:00
gstrtspurl.c Add missing colons to Since markers in the docs 2020-05-01 10:08:40 +03:00
gstrtspurl.h rtspurl: add API method to create request uri combined with control url 2019-12-27 16:57:08 +00:00
meson.build Meson: Use pkg-config generator 2020-10-23 11:19:11 -04:00
rtsp-prelude.h libs: fix API export/import and 'inconsistent linkage' on MSVC 2018-09-24 08:45:34 +01:00
rtsp.h rtsp: GST_EXPORT -> GST_RTSP_API 2018-03-13 12:16:42 +00:00