UNPKG

easemob-chat-uikit

Version:

![Static Badge](https://img.shields.io/badge/platform-React-green) ![Static Badge](https://img.shields.io/badge/language-typescript-green) ![GitHub commit activity](https://img.shields.io/github/commit-activity/y/easemob/Easemob-UIKit-web) ![GitHub last c

34 lines (33 loc) 980 B
import React from 'react'; export interface VideoWindowProps { id: string; stream?: MediaStream; videoElement?: HTMLVideoElement; muted?: boolean; nickname?: string; avatar?: string; isLocalVideo?: boolean; onVideoClick?: (id: string) => void; } export interface VideoLayoutProps { videos: VideoWindowProps[]; className?: string; style?: React.CSSProperties; prefix?: string; maxVideos?: number; aspectRatio?: number; gap?: number; onVideoClick?: (id: string) => void; showControls?: boolean; muted?: boolean; cameraEnabled?: boolean; speakerEnabled?: boolean; screenSharing?: boolean; onMuteToggle?: (muted: boolean) => void; onCameraToggle?: (enabled: boolean) => void; onSpeakerToggle?: (enabled: boolean) => void; onScreenShareToggle?: (sharing: boolean) => void; onHangup?: () => void; } declare const VideoLayout: React.FC<VideoLayoutProps>; export default VideoLayout;