diff --git a/SkyNX-Streamer/index.html b/SkyNX-Streamer/index.html index 876a6dd..add27fd 100644 --- a/SkyNX-Streamer/index.html +++ b/SkyNX-Streamer/index.html @@ -102,7 +102,7 @@
- Ready! + Streamer stopped.
diff --git a/SkyNX-Streamer/js/console.js b/SkyNX-Streamer/js/console.js index 62af188..406eb47 100644 --- a/SkyNX-Streamer/js/console.js +++ b/SkyNX-Streamer/js/console.js @@ -6,6 +6,10 @@ ipcRenderer.on('log', function (event, genHtml) { var fps = genHtml.split("fps= ")[1].split(" ")[0]; var bitrate = genHtml.split("bitrate=")[1].split(" ")[0]; $("#statusbartext").html("Framrate: " + fps + " Bitrate: " + bitrate); + } else if (genHtml.includes("Connection timed out") || genHtml.includes("Waiting for connection")) { + $("#statusbartext").html("Waiting for connection..."); + } else if (genHtml.includes("streamerProcess process exited")) { + $("#statusbartext").html("Streamer stopped."); } clearTimeout(logTimeout); logTimeout = setTimeout(function () {