rebroadcast: only reset bitrate if it was set

This commit is contained in:
Koushik Dutta
2022-03-20 19:01:42 -07:00
parent c6aafb5a19
commit 0ca2ed96f2
3 changed files with 4 additions and 4 deletions

View File

@@ -811,7 +811,7 @@ class PrebufferSession {
if (this.activeClients)
return;
if (this.mixin.mixinDeviceInterfaces.includes(ScryptedInterface.VideoCameraConfiguration)) {
if (this.needBitrateReset && this.mixin.mixinDeviceInterfaces.includes(ScryptedInterface.VideoCameraConfiguration)) {
this.resetBitrate();
}