UNPKG

@sawport/peers-caller

Version:

WebRTC multi-peer video call library with mesh architecture supporting up to 4 participants

23 lines 854 B
import React from "react"; import type { CallParticipant, MediaStreamConfig } from "../../types"; interface ControlPanelProps { localParticipant: CallParticipant | null; isConnected: boolean; isRecording: boolean; isCallActive?: boolean; canJoinCall?: boolean; onStartCall: (config?: MediaStreamConfig) => void; onJoinCall: (config?: MediaStreamConfig) => void; onJoinOrStartCall?: (config?: MediaStreamConfig) => void; onEndCall: () => void; onToggleAudio: (enabled: boolean) => void; onToggleVideo: (enabled: boolean) => void; onStartScreenShare: () => void; onStopScreenShare: () => void; onStartRecording: () => void; onStopRecording: () => void; className?: string; } export declare const ControlPanel: React.FC<ControlPanelProps>; export {}; //# sourceMappingURL=ControlPanel.d.ts.map