Which version are you using?
1.18.2
Which operating system are you using?
Linux arm64 Docker
Describe the issue
When MediaMTX tries to switch to the always available file when the stream "ends", it has the following error:
muxer error: unable to extract DTS: DTS is greater than PTS. This results in all video players freezing.
Describe how to replicate the issue
- start MediaMTX & for
alwaysAvailableFile put a H265 MPEG-4-audio mp4 file
- publish with SRT: HEVC (H265) & MPEG-4 Audio
- read with web player
- stop publishing
- observe the error
MediaMTX configuration
paths:
mypath:
source: publisher
useAbsoluteTimestamp: false
alwaysAvailable: true
alwaysAvailableFile: "end.mp4"
MediaMTX logs
INF [HLS] [muxer mypath] destroyed: muxer error: unable to extract DTS: DTS is greater than PTS
Packet dump
No response
Which version are you using?
1.18.2
Which operating system are you using?
Linux arm64 Docker
Describe the issue
When MediaMTX tries to switch to the always available file when the stream "ends", it has the following error:
muxer error: unable to extract DTS: DTS is greater than PTS. This results in all video players freezing.Describe how to replicate the issue
alwaysAvailableFileput a H265 MPEG-4-audio mp4 fileMediaMTX configuration
MediaMTX logs
Packet dump
No response