Skip to content

RTMP stream closed with "too many reordered frames" error #5137

@FlyveHest

Description

@FlyveHest

Which version are you using?

v1.15.3

Which operating system are you using?

Linux amd64 standard

Describe the issue

I have been running v1.15.0 for a while with 0 issues, and upgraded to v1.15.3 today.

All of a sudden, streams that worked fine before close after a couple of seconds with a "closed: too many reordered frames (11)" error in the log.

I went back to 1.15.0, stream worked fine, then I tried 1.15.1 and 1.15.2, no problems, issue is only present in 1.15.3.

Source stream technical quality is not the best, plenty of warnings when analyzing with ffmpeg, but the visual quality is fine, no artifacts or anything.

Describe how to replicate the issue

  1. Upgrade to 1.15.3
  2. Watch RTMP stream
  3. Stram closes after a few seconds.

MediaMTX configuration

No response

MediaMTX logs

2025/10/27 18:09:57 INF [RTMP] [conn x.x.x.x:51211] opened
2025/10/27 18:09:57 INF [path XYZ] [RTMP source] started on demand
2025/10/27 18:10:01 INF [path XYZ] [RTMP source] ready: 2 tracks (H264, MPEG-4 Audio)
2025/10/27 18:10:01 INF [RTMP] [conn x.x.x.x:51211] is reading from path 'XYZ', 2 tracks (H264, MPEG-4 Audio)
2025/10/27 18:10:10 INF [RTMP] [conn x.x.x.x:51211] closed: too many reordered frames (11)

Network dump

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions