[FFmpeg-trac] #8642(undetermined:new): HTTP 302 redirect to udp://
FFmpeg
trac at avcodec.org
Wed Apr 29 11:24:46 EEST 2020
#8642: HTTP 302 redirect to udp://
-------------------------------------+-------------------------------------
Reporter: barhom | Type: defect
Status: new | Priority: normal
Component: | Version:
undetermined | unspecified
Keywords: | Blocked By:
Blocking: | Reproduced by developer: 0
Analyzed by developer: 0 |
-------------------------------------+-------------------------------------
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://239.193.0.188: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:// ?
--
Ticket URL: <https://trac.ffmpeg.org/ticket/8642>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker
More information about the FFmpeg-trac
mailing list