UNPKG

mediasfu-reactnative-expo

Version:

mediasfu-reactnative-expo – Expo-managed React Native WebRTC SDK for video conferencing, webinars, live streaming, broadcast, screen sharing, whiteboard, chat, recording, live subtitles, translation, and AI agent rooms on iOS, Android, and web. Prebuilt r

26 lines (25 loc) 1.01 kB
import { ShowAlert, SwitchUserVideoParameters, SwitchUserVideoType } from '../../@types/types'; export interface SwitchVideoParameters extends SwitchUserVideoParameters { recordStarted: boolean; recordResumed: boolean; recordStopped: boolean; recordPaused: boolean; recordingMediaOptions: string; videoAlreadyOn: boolean; userDefaultVideoInputDevice: string; defVideoID: string; allowed: boolean; updateDefVideoID: (deviceId: string) => void; updatePrevVideoInputDevice: (deviceId: string) => void; updateUserDefaultVideoInputDevice: (deviceId: string) => void; updateIsMediaSettingsModalVisible: (isVisible: boolean) => void; showAlert?: ShowAlert; switchUserVideo: SwitchUserVideoType; [key: string]: any; } export interface SwitchVideoOptions { videoPreference: string; parameters: SwitchVideoParameters; } export type SwitchVideoType = (options: SwitchVideoOptions) => Promise<void>; export declare const switchVideo: SwitchVideoType;