Skip to content

Commit 2f41010

Browse files
authored
Updated to work with SLS (srt-live-server)
715209 made NOALBS work with SLS (srt-live-server) please follow the steps in the "Using SLS (SRT-LIVE-SERVER)" section.
1 parent 7bb0d4e commit 2f41010

File tree

1 file changed

+48
-6
lines changed

1 file changed

+48
-6
lines changed

README.md

Lines changed: 48 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ Edit `config.json` to your own settings.
5858

5959
Here is an example config with comments (click to enlarge):
6060

61-
**_PLEASE NOTE CONFIG MAY NOT REPRESENT CURRENT CONFIG_**
61+
**_PLEASE NOTE CONFIG ARCHITECTURE MAY NOT REPRESENT CURRENT CONFIG ARCHITECTURE_**
6262

6363
![alt text](https://i.imgur.com/cVbz1bN.png "Configuration Comments (Click to Enlarge)")
6464

@@ -92,7 +92,7 @@ This script gives you the option to enable some simple chat commands to help you
9292
> | Admins | !switch (scene) | switches to the provided SCENE ([fuzzy match](https://wikipedia.org/wiki/Approximate_string_matching)). | !switch INTRO |
9393
> | Admins | !alias (add/remove) (alias) (command) | add an alias for a command | !alias add ss switch |
9494
> | MODs | !refresh | changes to the REFRESH scene for the set interval. | !refresh |
95-
> | MODs | !fix | tries to fix the stream. | !fix |
95+
> | MODs | !fix | tries to fix the stream. (ONLY works with NGINX-RTMP server type.) | !fix |
9696
> | MODs | !trigger (value) | changes the low bitrate threshold to the defined value. | !trigger 1000 |
9797
> | MODs | !sourceinfo | gives you details about the SOURCE in chat. | !sourceinfo |
9898
> | MODs | !obsinfo | gives you details about OBS in chat. | !obsinfo |
@@ -111,7 +111,7 @@ You can also enable/disable certain features from chat, see below:
111111
### Using the inbuilt server
112112
Defining a nodeMediaServer block in config.json will enable a fully functional node-media-server RTMP server to accept incoming streams:
113113

114-
```
114+
```JSON
115115
"rtmp": {
116116
"application": "publish",
117117
"key": "live"
@@ -137,7 +137,7 @@ Defining a nodeMediaServer block in config.json will enable a fully functional n
137137
### Using an external server
138138
Modify the RTMP section in config.json like this to connect to a node-media-server running externally:
139139

140-
```
140+
```JSON
141141
"rtmp": {
142142
"server": "node-media-server",
143143
"stats": "http://localhost:8000/api/streams",
@@ -146,13 +146,13 @@ Modify the RTMP section in config.json like this to connect to a node-media-serv
146146
},
147147
```
148148

149-
## Using nimble SRT instead of nginx rtmp
149+
## Using Nimble Streamer Server (with SRT protocol)
150150

151151
Nimble must have [API access enabled](https://wmspanel.com/nimble/api) and be configured as a SRT receiver - see ["Set up receiving of SRT"](https://blog.wmspanel.com/2017/07/setup-srt-secure-reliable-transport-nimble-streamer.html) and have an outgoing stream ("Add outgoing stream" on same page)
152152

153153
Modify the RTMP section in config.json to this:
154154

155-
```
155+
```JSON
156156
"rtmp": {
157157
"server": "nimble",
158158
"stats": "http://nimble:8082",
@@ -173,13 +173,55 @@ Switches on low bitrate or high RTT (high RTT seems to be a more accurate way of
173173

174174
You can change the high RTT trigger value inside config.json:
175175

176+
```JSON
177+
"obs": {
178+
...
179+
"highRttTrigger": 2500,
180+
},
181+
```
182+
183+
## Using SLS (SRT-LIVE-SERVER)
184+
185+
If you're using [Matt's modified version](https://gitlab.com/mattwb65/srt-live-server) of SLS then follow this section;
186+
187+
Modify the RTMP section in config.json to this:
188+
189+
```JSON
190+
"rtmp": {
191+
"server": "srt-live-server",
192+
"stats": "http://127.0.0.1:8181/stats",
193+
"publisher": "publish/live/feed1"
194+
},
176195
```
196+
197+
- `server`: Type of streaming server. (ex; nginx, nms, nimble or srt-live-server )
198+
- `stats`: URL to SLS stats page (ex; http://127.0.0.1:8181/stats )
199+
- `publisher`: StreamID of the where you are publishing the feed. (ex; publish/live/feed1 )
200+
201+
---
202+
203+
Switches on low bitrate or high RTT (high RTT seems to be a more accurate way of determining if the stream is bad with this)
204+
205+
You can change the high RTT trigger value inside config.json:
206+
207+
```JSON
177208
"obs": {
178209
...
179210
"highRttTrigger": 2500,
180211
},
181212
```
182213

214+
====
215+
How do I publish to the SLS Server? see [HERE](https://gitlab.com/mattwb65/srt-live-server#1test-with-ffmpeg)
216+
217+
How do I pull the feed into OBS?
218+
219+
- Add Media Source
220+
- Uncheck Local File
221+
- In the "Input" field enter in: `srt://<SERVER-IP>:<PORT>/?streamid=<PUBLISHER>`
222+
- In the "Input Format" field enter in: `mpegts`
223+
- Check `Seekable` then click `OK`
224+
183225
## Help it won't change scenes
184226

185227
It will only change scenes when OBS is set on a scene that's in the config.

0 commit comments

Comments
 (0)