UNPKG

matrix-react-sdk

Version:
11 lines (10 loc) 533 B
import { CallType } from "matrix-js-sdk/src/webrtc/call"; import { Room } from "matrix-js-sdk/src/matrix"; import { PlatformCallType } from "../../hooks/room/useRoomCall"; /** * Helper to place a call in a room that works with all the legacy modes * @param room the room to place the call in * @param callType the type of call * @param platformCallType the platform to pass the call on */ export declare const placeCall: (room: Room, callType: CallType, platformCallType: PlatformCallType, skipLobby: boolean) => Promise<void>;