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
41 lines (40 loc) • 1.74 kB
TypeScript
import { Participant, Stream, OnScreenChangesType, ReorderStreamsType, ChangeVidsType, OnScreenChangesParameters, ReorderStreamsParameters, ChangeVidsParameters, EventType } from '../@types/types';
export interface ReUpdateInterParameters extends OnScreenChangesParameters, ReorderStreamsParameters, ChangeVidsParameters {
screenPageLimit: number;
itemPageLimit: number;
reorderInterval: number;
fastReorderInterval: number;
eventType: EventType;
participants: Participant[];
allVideoStreams: (Participant | Stream)[];
shared: boolean;
shareScreenStarted: boolean;
adminNameStream?: string;
screenShareNameStream?: string;
updateMainWindow: boolean;
sortAudioLoudness: boolean;
lastReorderTime: number;
newLimitedStreams: (Participant | Stream)[];
newLimitedStreamsIDs: string[];
oldSoundIds: string[];
updateUpdateMainWindow: (value: boolean) => void;
updateSortAudioLoudness: (value: boolean) => void;
updateLastReorderTime: (value: number) => void;
updateNewLimitedStreams: (streams: (Participant | Stream)[]) => void;
updateNewLimitedStreamsIDs: (ids: string[]) => void;
updateOldSoundIds: (ids: string[]) => void;
onScreenChanges: OnScreenChangesType;
reorderStreams: ReorderStreamsType;
changeVids: ChangeVidsType;
getUpdatedAllParams: () => ReUpdateInterParameters;
[key: string]: any;
}
export interface ReUpdateInterOptions {
name: string;
add?: boolean;
force?: boolean;
average?: number;
parameters: ReUpdateInterParameters;
}
export type ReUpdateInterType = (options: ReUpdateInterOptions) => Promise<void>;
export declare function reUpdateInter(options: ReUpdateInterOptions): Promise<void>;