screencast only if not disconnected.

This commit is contained in:
Miroslav Šedivý 2021-08-03 17:22:40 +02:00
parent b3198f4825
commit 2b2ed70912

View File

@ -180,6 +180,8 @@
public get screencast() {
return (
this.state.authenticated &&
this.state.connection.status != 'disconnected' &&
this.state.connection.screencast &&
(!this.state.connection.webrtc.connected ||
(this.state.connection.webrtc.connected && !this.state.video.playable))