show screencast if not playing instead of unplayable.

This commit is contained in:
Miroslav Šedivý 2022-03-11 00:23:44 +01:00
parent cee6332587
commit 9ea1fb00d3

View File

@ -210,7 +210,7 @@
this.state.connection.status != 'disconnected' &&
this.state.connection.screencast &&
(!this.state.connection.webrtc.connected ||
(this.state.connection.webrtc.connected && !this.state.video.playable))
(this.state.connection.webrtc.connected && !this.state.video.playing))
)
}