You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+48-6Lines changed: 48 additions & 6 deletions
Original file line number
Diff line number
Diff line change
@@ -58,7 +58,7 @@ Edit `config.json` to your own settings.
58
58
59
59
Here is an example config with comments (click to enlarge):
60
60
61
-
**_PLEASE NOTE CONFIG MAY NOT REPRESENT CURRENT CONFIG_**
61
+
**_PLEASE NOTE CONFIG ARCHITECTURE MAY NOT REPRESENT CURRENT CONFIG ARCHITECTURE_**
62
62
63
63
")
64
64
@@ -92,7 +92,7 @@ This script gives you the option to enable some simple chat commands to help you
92
92
> | Admins | !switch (scene) | switches to the provided SCENE ([fuzzy match](https://wikipedia.org/wiki/Approximate_string_matching)). | !switch INTRO |
93
93
> | Admins | !alias (add/remove) (alias) (command) | add an alias for a command | !alias add ss switch |
94
94
> | 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 |
96
96
> | MODs | !trigger (value) | changes the low bitrate threshold to the defined value. | !trigger 1000 |
97
97
> | MODs | !sourceinfo | gives you details about the SOURCE in chat. | !sourceinfo |
98
98
> | 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:
111
111
### Using the inbuilt server
112
112
Defining a nodeMediaServer block in config.json will enable a fully functional node-media-server RTMP server to accept incoming streams:
113
113
114
-
```
114
+
```JSON
115
115
"rtmp": {
116
116
"application": "publish",
117
117
"key": "live"
@@ -137,7 +137,7 @@ Defining a nodeMediaServer block in config.json will enable a fully functional n
137
137
### Using an external server
138
138
Modify the RTMP section in config.json like this to connect to a node-media-server running externally:
139
139
140
-
```
140
+
```JSON
141
141
"rtmp": {
142
142
"server": "node-media-server",
143
143
"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
146
146
},
147
147
```
148
148
149
-
## Using nimble SRT instead of nginx rtmp
149
+
## Using Nimble Streamer Server (with SRT protocol)
150
150
151
151
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)
152
152
153
153
Modify the RTMP section in config.json to this:
154
154
155
-
```
155
+
```JSON
156
156
"rtmp": {
157
157
"server": "nimble",
158
158
"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
173
173
174
174
You can change the high RTT trigger value inside config.json:
175
175
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
+
},
176
195
```
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
177
208
"obs": {
178
209
...
179
210
"highRttTrigger": 2500,
180
211
},
181
212
```
182
213
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
+
183
225
## Help it won't change scenes
184
226
185
227
It will only change scenes when OBS is set on a scene that's in the config.
0 commit comments