mpv-player / mpv-player/mpv

changing udp channels does not close previous stream

Open
#5,608 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

core:rtsp
Dominant language
C
Stars
37k
Forks
3.5k
Avg merge
1d 10h
Merged PRs (30d)
22

Description

Using v0.27.2 with Linux Mageia 6.

Reproduction steps

Change channel through a playlist of rtsp urls with --rtsp-transport=udp . URLs are TV channels from french internet provider named Free, see the log.

Expected behavior

Previous UDP stream must be stopped before new one is opened. This is VLC behaviour with the same playlist.

Actual behavior

Previous UDP stream is stopped 15 seconds after, if bandwidth is not enough it prevents playing the new stream.

Log file

mpv.log

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the issue with a playlist of the linked RTSP URLs and --rtsp-transport=udp, then inspect the attached mpv.log around channel changes and stream shutdown. Done means the previous UDP stream is stopped before the next stream opens, without the reported 15-second delay or bandwidth-related playback failure.

Written by the indexing model from the issue text.

Assessment

Tech stack
c
Domain
audio-video-rtc
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.