@phenixrts/sdk
Version:
JavaScript SDK
15 lines (14 loc) • 551 B
TypeScript
import { ChunkedStreamingOptions, ChunkedStreamingStatistics } from './StreamTypes';
export default class HlsPlayer {
private readonly _videoElement;
private readonly _kind;
private readonly _streamId;
private readonly _manifestURI;
private readonly _options;
private _player;
constructor(videoElement: HTMLVideoElement, kind: string, streamId: string, manifestURI: string, options: ChunkedStreamingOptions);
start(): void;
isSupported(): boolean;
getStats(): ChunkedStreamingStatistics;
dispose(): void;
}