Merge branch 'video-chat' of gitlab.alibaba-inc.com:xr-paas/gradio_webrtc into video-chat

This commit is contained in:
杍超
2025-01-22 20:12:50 +08:00
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