RTSP over HTTP fails to camera behind port-forward
Using rtspsrc, I need to connect to a third party's Axis camera which is presented only on HTTP, and it behind port-forwarding on a router that I cannot control.
First part of rtsph connection works: server replies with Content-Type: application/x-rtsp-tunnelled, but also includes X-Server-IP-Address which has the real (i.e. behind the NAT) IP address, and due to https://github.com/GStreamer/gst-plugins-base/blob/master/gst-libs/gst/rtsp/gstrtspconnection.c#L834, gstreamer tries to connect to this IP address to continue the stream, which obviously fails as I have no route to it.
Is that response from the camera wrong? If so, there's not a lot I can do to change it, so could we have an option to implement a workaround to ignore it?
Thanks.