do not show screencast if not connected to webrtc.

This commit is contained in:
Miroslav Šedivý 2022-03-27 22:49:52 +02:00
parent f7f533f269
commit 7435ff68a6

View File

@ -5,7 +5,7 @@
<neko-screencast
v-show="screencast && screencastReady"
:image="fallbackImage"
:enabled="screencast || !state.connection.webrtc.stable"
:enabled="screencast || (!state.connection.webrtc.stable && state.connection.webrtc.connected)"
:api="api.room"
@imageReady="screencastReady = $event"
/>