UNPKG

media-stream-player

Version:

Player built on top of media-stream-library

21 lines (20 loc) 693 B
import React from 'react'; import { VapixParameters, Format, PlayerNativeElement } from './PlaybackArea'; interface BasicPlayerProps { readonly hostname: string; readonly vapixParams?: VapixParameters; readonly format?: Format; readonly autoPlay?: boolean; /** * Set to true if the camera requires a secure * connection, "https" and "wss" protocols. */ readonly secure?: boolean; readonly className?: string; /** * Activate automatic retries on RTSP errors. */ readonly autoRetry?: boolean; } export declare const BasicPlayer: React.ForwardRefExoticComponent<BasicPlayerProps & React.RefAttributes<PlayerNativeElement>>; export {};