mirror of
https://github.com/mpv-player/mpv
synced 2024-12-26 09:02:38 +00:00
b0f7a26f1a
By default, libavformat uses UDP for rtsp playback. This doesn't work very well. Apparently the reason is that the buffer sizes libavformat chooses for UDP are way too small, and switching to TCP gets rid of this issue entirely (thanks go to Reimar Döffinger for figuring this out). In theory, you can set buffer sizes as libavformat options, but that doesn't seem to help. Add an option to select the rtsp transport, and make TCP the default. Also remove an outdated comment from stream.c. |
||
---|---|---|
.. | ||
man | ||
OUTDATED-tech | ||
crosscompile-mingw.txt | ||
edl.rst | ||
encoding.rst | ||
tech-overview.txt |