mirror of
https://github.com/UiO-Gaming/infoscreen3.git
synced 2026-11-05 13:56:52 +01:00
fixes: background image will now change after video background. update dependencies. I'm trying websockets instead of http transport for live stream, to just gain 2 sec delay. add new background video.
This commit is contained in:
1 parent
413ae7257d
commit
2481ef09cf
8 files changed
+2400
-661
No files matched your search
+2
-1
@@ -130,7 +130,8 @@ class admin {
|
||||
|
||||
if (serverOptions.isStreaming === false) {
|
||||
serverOptions.loop = false;
|
||||
serverOptions.streamSource = "http://" + config.serverHost + ":" + (config.serverListenPort + 1) + "/live/" + config.streamKey + ".flv";
|
||||
// changed next line from http:// to ws://, to reduce stream lag
|
||||
serverOptions.streamSource = "ws://" + config.serverHost + ":" + (config.serverListenPort + 1) + "/live/" + config.streamKey + ".flv";
|
||||
serverOptions.isStreaming = true;
|
||||
cli.success("start stream");
|
||||
} else {
|
||||
|
||||
Reference in new issue
Block a user