mirror of
https://github.com/HumanAIGC-Engineering/gradio-webrtc.git
synced 2026-02-05 18:09:23 +08:00
feat: add show_local_video param
This commit is contained in:
@@ -12,6 +12,7 @@
|
||||
export let label: string | undefined = undefined;
|
||||
export let show_label = true;
|
||||
export let include_audio: boolean;
|
||||
export let show_local_video: boolean;
|
||||
export let i18n: I18nFormatter;
|
||||
export let active_source: "webcam" | "upload" = "webcam";
|
||||
export let handle_reset_value: () => void = () => {};
|
||||
@@ -56,6 +57,7 @@
|
||||
<Webcam
|
||||
{rtc_configuration}
|
||||
{include_audio}
|
||||
{show_local_video}
|
||||
{time_limit}
|
||||
{track_constraints}
|
||||
{mode}
|
||||
|
||||
Reference in New Issue
Block a user