You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Set video codec to "H264" and press the publish button
The live stream works well, but mediamtx keeps creating new recording segments for the stream and closes them instantly. So in the end there ends up being many 1 second long recording segments (mp4 files) for one stream, even though the recordSegmentDuration setting is set to the default "1h". This seems to be affected by the recordPartDuration setting which was the default "1s". When I changed the recordPartDuration to "10s" then mediamtx creates a new recording segment every 10 seconds so each recording segment (mp4 file) duration ends up being 10s.
This seems to happen only when using Firefox. On Chrome the recording segment creating and closing (output mp4 file durations) seems to be affected as expected by the recordSegmentDuration setting instead of the recordPartDuration setting.
Which version are you using?
bluenviron/mediamtx:1.9.3-ffmpeg docker image
Which operating system are you using?
Windows amd64 Docker (WSL backend)
Describe how to replicate the issue
The live stream works well, but mediamtx keeps creating new recording segments for the stream and closes them instantly. So in the end there ends up being many 1 second long recording segments (mp4 files) for one stream, even though the recordSegmentDuration setting is set to the default "1h". This seems to be affected by the recordPartDuration setting which was the default "1s". When I changed the recordPartDuration to "10s" then mediamtx creates a new recording segment every 10 seconds so each recording segment (mp4 file) duration ends up being 10s.
This seems to happen only when using Firefox. On Chrome the recording segment creating and closing (output mp4 file durations) seems to be affected as expected by the recordSegmentDuration setting instead of the recordPartDuration setting.
Server logs
firefox-webrtc-h264-record-bug.log
Network dump
No response
The text was updated successfully, but these errors were encountered: