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>
|
<template>
|
||||||
<div ref="component" class="neko-component">
|
<div ref="component" class="neko-component">
|
||||||
<div ref="container" class="neko-container">
|
<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
|
<neko-screencast
|
||||||
v-show="screencast && screencastReady"
|
v-show="screencast && screencastReady"
|
||||||
:enabled="screencast"
|
:enabled="screencast || !state.connection.webrtc.stable"
|
||||||
:api="api.room"
|
:api="api.room"
|
||||||
@imageReady="screencastReady = $event"
|
@imageReady="screencastReady = $event"
|
||||||
/>
|
/>
|
||||||
@ -57,7 +57,7 @@
|
|||||||
width: 100%;
|
width: 100%;
|
||||||
height: 100%;
|
height: 100%;
|
||||||
display: flex;
|
display: flex;
|
||||||
background: #000;
|
background: transparent !important;
|
||||||
|
|
||||||
&::-webkit-media-controls {
|
&::-webkit-media-controls {
|
||||||
display: none !important;
|
display: none !important;
|
||||||
|
Loading…
Reference in New Issue
Block a user