mirror of
https://github.com/HumanAIGC-Engineering/gradio-webrtc.git
synced 2026-02-05 18:09:23 +08:00
关闭摄像头同时隐藏
This commit is contained in:
@@ -277,7 +277,7 @@
|
||||
class:local-video={stream_state === "open"}
|
||||
class:remote-video={stream_state !== "open"}
|
||||
bind:this={local_video_source}
|
||||
class:hide={!webcam_accessed}
|
||||
class:hide={!webcam_accessed || cameraOff}
|
||||
autoplay={true}
|
||||
playsinline={true}
|
||||
muted
|
||||
|
||||
Reference in New Issue
Block a user