Allow changing web server port during playback

This commit is contained in:
Rafostar
2020-12-12 00:16:39 +01:00
parent 104db83a1c
commit 7a039af798

View File

@@ -305,6 +305,12 @@ class ClapperPlayerBase extends GstPlayer.Player
this.webserver.stopListening(); this.webserver.stopListening();
} }
break; break;
case 'webserver-port':
if(!this.webserver)
break;
this.webserver.setListeningPort(settings.get_int(key));
break;
default: default:
break; break;
} }