Skip to content

RTSP timeout #5127

Description

@turtledude01

Which version are you using?

1.15.3

Which operating system are you using?

Linux amd64 standard

Describe the issue

This may be a "non issue" but a common use of MediaMTX is in VRChat for streams.

Specifically when using VRChat, MediaMtx v 1.15.1 seems to work perfectly (Though with some OBS config options that seem to be fixed in 1.15.2+)

However, on v1.15.2 and 1.15.3 we get the following type of behavior:

2025/10/24 18:27:01 INF [RTSP] [conn <Client IP>:65044] opened
2025/10/24 18:27:01 INF [RTSP] [session 95450350] created by <Client IP>:65044
2025/10/24 18:27:01 INF [RTSP] [session 95450350] is reading from path 'test', with TCP, 2 tracks (H264, MPEG-4 Audio)
2025/10/24 18:28:01 INF [RTSP] [conn 82.66.60.176:65044] closed: read tcp <Server IP>:554-><Client IP>:65044: i/o timeout
2025/10/24 18:28:01 INF [RTSP] [session 95450350] destroyed: not in use
2025/10/24 18:28:07 INF [RTSP] [conn <Client IP>:65058] opened
2025/10/24 18:28:07 INF [RTSP] [session 6ffb4409] created by <Client IP>:65058
2025/10/24 18:28:07 INF [RTSP] [session 6ffb4409] is reading from path 'test', with TCP, 2 tracks (H264, MPEG-4 Audio)

This happens consistently every minute, increasing the
readTimeout or writeTimeout to anything (I even tried 1000s on each) does not change the behavior.

As it works on a previous version, and broke specifically on 1.15.2, I must conclude it is something in a change between 1.15.1 and 1.15.2

Describe how to replicate the issue

  1. start the MediaMTX
  2. publish with rtmp
  3. read with rtsp(t) (from within a VRChat video player)
  4. Wait 1 minute

MediaMTX configuration

No response

MediaMTX logs

No response

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