From 59343abd51de4b17d88dbcfa15e47102507d4e54 Mon Sep 17 00:00:00 2001 From: nicnacnic Date: Mon, 29 Aug 2022 15:06:58 -0400 Subject: [PATCH] Update README.md --- README.md | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/README.md b/README.md index 69e6be3..f208de5 100644 --- a/README.md +++ b/README.md @@ -5,3 +5,19 @@ A NodeCG bundle to control all aspects of a marathon's stream. Twitch is unreliable, and has the Purple Screen Of Death (which is very annoying!) To use RTMP, make sure your server can transcode the stream into [HLS](https://docs.peer5.com/guides/setting-up-hls-live-streaming-server-using-nginx/) and allows [CORS](https://michielkalkman.com/snippets/nginx-cors-open-configuration/) + +### To add multiple RTMP servers +- Open the config (`/cfg/nodecg-marathon-control.json`) +- Under `RTMPServers`, add a new object for each server. The key is the name displayed on the dashboard, the value is the server URL. +- Save the file. + +For example: +```json +"RTMPServers": { + "US-E": "https://use.example.com/hls/", + "US-W": "https://usw.example.com/hls/", + "ABCDEFG": "https://abcdefg.example.com/hls/" +} + ``` + +This version of nodecg-marathon-control uses OBS Websocket v4.9.1.