UNPKG

react-video-call

Version:

ReactVideoCall is a simple yet powerful WebRTC-based video call component for React. It uses Firebase for signaling and supports both desktop and mobile views with minimal setup.

10 lines (9 loc) 376 B
import React from "react"; import "./ReactVideoCall.scss"; import { FirebaseOptions } from "firebase/app"; export interface ReactVideoCallProps { roomName: string; firebaseConfig: FirebaseOptions; RTCConfiguration: RTCConfiguration; } export declare const ReactVideoCall: ({ roomName, firebaseConfig, RTCConfiguration }: ReactVideoCallProps) => React.JSX.Element;