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
18 lines (17 loc) • 825 B
TypeScript
import { Producer } from "mediasoup-client/lib/types";
import { Socket } from "socket.io-client";
export interface DisconnectSendTransportScreenParameters {
screenProducer: Producer | null;
socket: Socket;
localSocket?: Socket;
roomName: string;
updateScreenProducer: (screenProducer: Producer | null) => void;
updateLocalScreenProducer?: (localScreenProducer: Producer | null) => void;
getUpdatedAllParams: () => DisconnectSendTransportScreenParameters;
[key: string]: any;
}
export interface DisconnectSendTransportScreenOptions {
parameters: DisconnectSendTransportScreenParameters;
}
export type DisconnectSendTransportScreenType = (options: DisconnectSendTransportScreenOptions) => Promise<void>;
export declare const disconnectSendTransportScreen: DisconnectSendTransportScreenType;