mirror of
https://github.com/HumanAIGC-Engineering/gradio-webrtc.git
synced 2026-02-04 17:39:23 +08:00
关闭摄像头同时隐藏
This commit is contained in:
BIN
dist/gradio_webrtc-0.0.30.dev0-py3-none-any.whl
vendored
BIN
dist/gradio_webrtc-0.0.30.dev0-py3-none-any.whl
vendored
Binary file not shown.
@@ -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