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.02 kB
import { ShowAlert, SwitchUserVideoAltType, SwitchUserVideoAltParameters } from '../../@types/types'; export interface SwitchVideoAltParameters extends SwitchUserVideoAltParameters { recordStarted: boolean; recordResumed: boolean; recordStopped: boolean; recordPaused: boolean; recordingMediaOptions: string; videoAlreadyOn: boolean; currentFacingMode: string; prevFacingMode: string; allowed: boolean; audioOnlyRoom: boolean; updateCurrentFacingMode: (mode: string) => void; updatePrevFacingMode: (mode: string) => void; updateIsMediaSettingsModalVisible: (isVisible: boolean) => void; showAlert?: ShowAlert; switchUserVideoAlt: SwitchUserVideoAltType; getUpdatedAllParams: () => SwitchVideoAltParameters; [key: string]: any; } export interface SwitchVideoAltOptions { parameters: SwitchVideoAltParameters; } export type SwitchVideoAltType = (options: SwitchVideoAltOptions) => Promise<void>; export declare const switchVideoAlt: SwitchVideoAltType;