mirror of
https://github.com/HumanAIGC-Engineering/gradio-webrtc.git
synced 2026-02-04 17:39:23 +08:00
fix: show_local_video type
This commit is contained in:
@@ -33,7 +33,7 @@
|
||||
export let time_limit: number | null = null;
|
||||
export let modality: "video" | "audio" | "audio-video" = "video";
|
||||
export let mode: "send-receive" | "receive" | "send" = "send-receive";
|
||||
export let show_local_video = false;
|
||||
export let show_local_video: string | undefined = undefined;
|
||||
export let rtp_params: RTCRtpParameters = {} as RTCRtpParameters;
|
||||
export let track_constraints: MediaTrackConstraints = {};
|
||||
export let icon: string | undefined = undefined;
|
||||
|
||||
@@ -12,7 +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 show_local_video: string | undefined;
|
||||
export let i18n: I18nFormatter;
|
||||
export let active_source: "webcam" | "upload" = "webcam";
|
||||
export let handle_reset_value: () => void = () => {};
|
||||
|
||||
@@ -62,7 +62,7 @@
|
||||
};
|
||||
|
||||
export let include_audio: boolean;
|
||||
export let show_local_video: string;
|
||||
export let show_local_video: string | undefined;
|
||||
export let i18n: I18nFormatter;
|
||||
|
||||
let volumeMuted = false
|
||||
|
||||
Reference in New Issue
Block a user