UNPKG

media-stream-player

Version:

Player built on top of media-stream-library

22 lines (21 loc) 719 B
import React from 'react'; import { PlayerNativeElement, VapixParameters } from './PlaybackArea'; import { Format } from './types'; 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 {};