关闭摄像头同时隐藏

This commit is contained in:
杍超
2025-01-24 13:00:44 +08:00
parent 67e692648e
commit 48602513f4
2 changed files with 1 additions and 1 deletions

Binary file not shown.

View File

@@ -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