MediaMTX - RTSP Protocol Problem

Hello everyone,

I finally “fixed” this by moving MediaMTX from my Windows 10 computer to a second computer running Linux - Ubuntu (aka a home-server)

In Ubuntu, I installed MediaMTX through docker by using Docker Compose (if you’re going to do it, do it this way) with the following configuration in the “compose.yaml”

In OBS, I stream to my MediaMTX server like this (192.168.1.95 is my Ubuntu server, I send using RTMP protocol on 1935) :

and read from the server using either HLS or RTSP protocol

RTSP:

rtsp://MY-PUBLIC-IP:8554/live/testStream

HLS:

http://MY-PUBLIC-IP:8888/live/testStream/index.m3u8

For this, in my router I had to forward the ports 1935, 8854, 8888 so they would point to my Ubuntu machine (set them to forward both TCP/UDP).

So anyway, now it runs perfectly, HLS protocol having a 7s delay in all worlds & RTSP protocol having 4s delay. I’ve tested and RTSP protocol can run in VRChat with PC-VR, but I haven’t tested with stand-alone Quest.