UNPKG

matrix-react-sdk

Version:
28 lines (27 loc) 819 B
import React from 'react'; import { MatrixCall } from 'matrix-js-sdk/src/webrtc/call'; interface IProps { } interface IState { roomId: string; primaryCall: MatrixCall; secondaryCall: MatrixCall; } /** * CallPreview shows a small version of CallView hovering over the UI in 'picture-in-picture' * (PiP mode). It displays the call(s) which is *not* in the room the user is currently viewing. */ export default class CallPreview extends React.Component<IProps, IState> { private roomStoreToken; private dispatcherRef; private settingsWatcherRef; constructor(props: IProps); componentDidMount(): void; componentWillUnmount(): void; private onRoomViewStoreUpdate; private onAction; private updateCalls; private onCallRemoteHold; render(): JSX.Element; } export {};