fix: show_local_video type

This commit is contained in:
neil.xh
2025-01-22 19:43:03 +08:00
parent 053b365b7b
commit 84def426bd
3 changed files with 3 additions and 3 deletions

View File

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

View File

@@ -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 = () => {};

View File

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