From 7a039af7986b121e2dd699b127fe6562ee03dd86 Mon Sep 17 00:00:00 2001 From: Rafostar <40623528+Rafostar@users.noreply.github.com> Date: Sat, 12 Dec 2020 00:16:39 +0100 Subject: [PATCH] Allow changing web server port during playback --- clapper_src/playerBase.js | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/clapper_src/playerBase.js b/clapper_src/playerBase.js index f4aa4633..17f1ddd8 100644 --- a/clapper_src/playerBase.js +++ b/clapper_src/playerBase.js @@ -305,6 +305,12 @@ class ClapperPlayerBase extends GstPlayer.Player this.webserver.stopListening(); } break; + case 'webserver-port': + if(!this.webserver) + break; + + this.webserver.setListeningPort(settings.get_int(key)); + break; default: break; }