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.17 kB
import { ClickVideoParameters } from '../methods/streamMethods/clickVideo'; import { ShowAlert, VidCons, RequestPermissionCameraType, StreamSuccessVideoType, SleepType, StreamSuccessVideoParameters, MediaDevices } from '../@types/types'; export interface SwitchUserVideoAltParameters extends StreamSuccessVideoParameters, ClickVideoParameters { audioOnlyRoom: boolean; frameRate: number; vidCons: VidCons; showAlert?: ShowAlert; mediaDevices: MediaDevices; hasCameraPermission: boolean; updateVideoSwitching: (state: boolean) => void; updateCurrentFacingMode: (mode: string) => void; requestPermissionCamera: RequestPermissionCameraType; streamSuccessVideo: StreamSuccessVideoType; sleep: SleepType; checkMediaPermission: boolean; getUpdatedAllParams: () => SwitchUserVideoAltParameters; [key: string]: any; } export interface SwitchUserVideoAltOptions { videoPreference: string; checkoff: boolean; parameters: SwitchUserVideoAltParameters; } export type SwitchUserVideoAltType = (options: SwitchUserVideoAltOptions) => Promise<void>; export declare const switchUserVideoAlt: SwitchUserVideoAltType;