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:
Reaby committed 2021-11-23 20:02:32 +02:00
1 parent 413ae7257d
commit 2481ef09cf
8 files changed
+2400 -661

No files matched your search

+2 -1
View File
@@ -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 {