@phenixrts/sdk
Version:
JavaScript SDK
21 lines (20 loc) • 916 B
TypeScript
import IDisposable from '../../lang/IDisposable';
import { ChunkedStreamingOptions, ChunkedStreamingStatistics } from './StreamTypes';
import { ShakaPlayerType } from './IShakaPlayer';
import { HlsPlayerType } from './IHlsPlayer';
import { WebPlayerType } from './IWebPlayer';
export declare class ChunkedStreaming {
private static _pending;
private static _hlsPlayer;
private static _phenixWebPlayer;
private static _shaka;
private static _options;
private static _player;
static get hlsPlayer(): HlsPlayerType;
static get phenixWebPlayer(): WebPlayerType;
static get shaka(): ShakaPlayerType;
static start(videoElement: HTMLVideoElement, streamId: string, offerSdp: string, options: ChunkedStreamingOptions, handleStreamFailure: Function): Promise<IDisposable>;
static getStats(): ChunkedStreamingStatistics | null;
private static play;
private static loaded;
}