mirror of
https://github.com/m1k1o/neko.git
synced 2024-07-24 14:40:50 +12:00
screencast as overlay, load when webrtc unstable.
This commit is contained in:
parent
e61b04671b
commit
cee6332587
@ -1,10 +1,10 @@
|
||||
<template>
|
||||
<div ref="component" class="neko-component">
|
||||
<div ref="container" class="neko-container">
|
||||
<video v-show="!screencast || !screencastReady" ref="video" :autoplay="autoplay" :muted="autoplay" playsinline />
|
||||
<video ref="video" :autoplay="autoplay" :muted="autoplay" playsinline />
|
||||
<neko-screencast
|
||||
v-show="screencast && screencastReady"
|
||||
:enabled="screencast"
|
||||
:enabled="screencast || !state.connection.webrtc.stable"
|
||||
:api="api.room"
|
||||
@imageReady="screencastReady = $event"
|
||||
/>
|
||||
@ -57,7 +57,7 @@
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
display: flex;
|
||||
background: #000;
|
||||
background: transparent !important;
|
||||
|
||||
&::-webkit-media-controls {
|
||||
display: none !important;
|
||||
|
Loading…
Reference in New Issue
Block a user