HTTP 302 redirect to udp://
|Reported by:||barhom||Owned by:|
|Blocking:||Reproduced by developer:||no|
|Analyzed by developer:||no|
I am unsure if this is a bug or if it acts as it should be.
I have a use case where I use,
ffmpeg -i http://example.com/?ch=X
Which returns a 302 redirect to "udp://X:Y?pkt_size=1316"
* Connection state changed (MAX_CONCURRENT_STREAMS == 128)! < HTTP/2 302 < server: nginx < date: Wed, 29 Apr 2020 08:10:09 GMT < content-type: text/html < location: udp://184.108.40.206:3301?pkt_size=1316 < access-control-allow-origin: *
The issue right now is that ffmpeg will try to establish a TCP connection (because the initial http connection was TCP).
Should a redirect of this kind work and then pull the input from udp:// ?