feat: add show_local_video param

This commit is contained in:
neil.xh
2025-01-21 20:07:40 +08:00
parent d34f1de277
commit 8e0fbe04f9
5 changed files with 12 additions and 4 deletions

View File

@@ -100,6 +100,7 @@ with gr.Blocks(css=css) as demo:
label="Local",
modality="audio-video",
mode="send-receive",
show_local_video=True,
elem_id="video-source",
)
webrtc.stream(