UNPKG

agora-classroom-sdk

Version:

For publishing npm package agora-classroom-sdk (Web & Electron). Get more information from https://docs.agora.io

17 lines (16 loc) 570 B
import { CSSProperties } from 'react'; declare type VideoLivePlayerProps = { url: string; style?: CSSProperties; className?: string; ended?: () => void; placeholderIcon?: React.ReactElement; placeholderText?: string; getLiveTime: () => number; }; export declare type VideoLivePlayerRef = { play: (currentTime: number) => void; pause: (currentTime: number) => void; }; export declare const VideoLivePlayer: import("react").ForwardRefExoticComponent<VideoLivePlayerProps & import("react").RefAttributes<VideoLivePlayerRef>>; export {};