apt install dockerapt install docker-composeapt-get updategit clone https://github.com/shakib30/rtmp.git- cd rtmp
docker-compose builddocker-compose up- Open OBS and in settings set the server to
rtmp://localhost:1935/liveand the stream key totest?key=supersecret - IF YOU STREAM KEY IS DIFFERENT THAN "TEST" YOU WILL HAVE TO CHANGE THE Channel-1.HTML FILE SO THAT IT LOOKS FOR {other-stream-key}.m3u8} (line 107)
- Open a browser and go to
http://localhost:3000to view your live stream! if you file edit first need the server to stop "cltr-c" 1st edit file, if complete edit usedocker-compose build,docker-compose up
setup guide and code credit : https://youtu.be/yzh8vjYNdzk?si=8kmL8P_RB_YahZ47