You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
}),this.switchSceneEmit("live",this.previousScene),log.info("Stream went online switching to scene: \"".concat(this.previousScene,"\""))),bitrate<=this.lowBitrateTrigger&¤tScene.name!==this.lowBitrateScene&&bitrate!==0&&(this.obs.setCurrentScene({
148
-
"scene-name": this.lowBitrateScene
149
-
}),this.previousScene=this.lowBitrateScene,this.switchSceneEmit("lowBitrateScene"),log.info("Low bitrate detected switching to scene: \"".concat(this.lowBitrateScene,"\""))),bitrate>this.lowBitrateTrigger&¤tScene.name!==this.normalScene&&(this.obs.setCurrentScene({
150
-
"scene-name": this.normalScene
151
-
}),this.previousScene=this.normalScene,this.switchSceneEmit("normalScene"),log.info("Switching to normal scene: \"".concat(this.normalScene,"\""))));
}),this.switchSceneEmit("live",this.previousScene),log.info("Stream went online switching to scene: \"".concat(this.previousScene,"\""))),(rtt<this.highRttTrigger||rtt>=this.highRttTrigger)&&bitrate<=this.lowBitrateTrigger&¤tScene.name!==this.lowBitrateScene&&bitrate!==0&&(this.obs.setCurrentScene({
164
+
"scene-name": this.lowBitrateScene
165
+
}),this.previousScene=this.lowBitrateScene,this.switchSceneEmit("lowBitrateScene"),log.info("Low bitrate detected switching to scene: \"".concat(this.lowBitrateScene,"\""))),rtt>=this.highRttTrigger&&bitrate>this.lowBitrateTrigger&¤tScene.name!==this.lowBitrateScene&&bitrate!==0&&(this.obs.setCurrentScene({
166
+
"scene-name": this.lowBitrateScene
167
+
}),this.previousScene=this.lowBitrateScene,this.switchSceneEmit("lowBitrateScene"),log.info("High RTT detected switching to scene: \"".concat(this.lowBitrateScene,"\""))),rtt<this.highRttTrigger&&bitrate>this.lowBitrateTrigger&¤tScene.name!==this.normalScene&&(this.obs.setCurrentScene({
168
+
"scene-name": this.normalScene
169
+
}),this.previousScene=this.normalScene,this.switchSceneEmit("normalScene"),log.info("Switching to normal scene: \"".concat(this.normalScene,"\""))));
}),this.switchSceneEmit("live",this.previousScene),log.info("Stream went online switching to scene: \"".concat(this.previousScene,"\""))),bitrate<=this.lowBitrateTrigger&¤tScene.name!==this.lowBitrateScene&&bitrate!==0&&(this.obs.setCurrentScene({
174
+
"scene-name": this.lowBitrateScene
175
+
}),this.previousScene=this.lowBitrateScene,this.switchSceneEmit("lowBitrateScene"),log.info("Low bitrate detected switching to scene: \"".concat(this.lowBitrateScene,"\""))),bitrate>this.lowBitrateTrigger&¤tScene.name!==this.normalScene&&(this.obs.setCurrentScene({
176
+
"scene-name": this.normalScene
177
+
}),this.previousScene=this.normalScene,this.switchSceneEmit("normalScene"),log.info("Switching to normal scene: \"".concat(this.normalScene,"\""))));
}),this.switchSceneEmit("offlineScene"),this.streamStatus=null,log.warn("Error receiving current bitrate or stream is offline. Switching to offline scene: \"".concat(this.offlineScene,"\"")));
0 commit comments