mirror of
https://github.com/UiO-Gaming/infoscreen3.git
synced 2026-11-05 13:56:52 +01:00
Fix stream url to match doc, make sure port is int
This commit is contained in:
1 parent
250b31a7a2
commit
1d2b29417c
1 file changed
+1
-1
+1
-1
@@ -134,7 +134,7 @@ export default class admin {
|
||||
serverOptions.loop = false;
|
||||
// changed next line from http:// to ws://, to reduce stream lag
|
||||
|
||||
serverOptions.streamSource = "http://" + config.serverHost + ":" + (config.serverListenPort + 1) + "//" + config.streamKey + ".flv";
|
||||
serverOptions.streamSource = "http://" + config.serverHost + ":" + (parseInt(config.serverListenPort) + 1) + "/live/" + config.streamKey + ".flv";
|
||||
serverOptions.isStreaming = true;
|
||||
cli.success("start stream");
|
||||
} else {
|
||||
|
||||
Reference in new issue
Block a user