mpv doesn't enable cache by default for rtsp streams
Open
Nobody has claimed this yet.
core:rtsp
core:stream
- Dominant language
- C
- Stars
- 37k
- Forks
- 3.5k
- Avg merge
- 1d 10h
- Merged PRs (30d)
- 22
Description
Important Information
- mpv version: 0.33.0-62-ga3e440c611
- Windows Version: win 10, 2004 (19041.74)
- Source of the mpv binary: Windows builds by shinchiro
Reproduction steps
- run
mpv --no-config --rtsp-transport=udp rtsp://192.168.1.99:8086, observe that there's no cache - run
mpv --no-config --rtsp-transport=udp --cache=yes rtsp://192.168.1.99:8086, observe that cache is enabled
Expected behavior
I don't have to specify --cache=yes for rtsp streams
Actual behavior
I do
Log file
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Reproduce the two commands from the issue with --no-config and --rtsp-transport=udp, comparing the default behavior with --cache=yes; review the RTSP and cache handling reached by these command-line entry points. Done means RTSP streams enable caching by default without requiring --cache=yes, while preserving the existing explicit option behavior.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- c
- Domain
- cli, networking
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100