12 lines
573 B
TypeScript
12 lines
573 B
TypeScript
export type PlaybackEngine = "hls" | "videojs";
|
|
export type EngineStrategy = "auto" | "force-hls" | "force-videojs";
|
|
export interface EngineSelectionInput {
|
|
src?: string | null;
|
|
type?: string | null;
|
|
strategy?: EngineStrategy;
|
|
hlsSupported?: boolean;
|
|
isIOS?: boolean;
|
|
}
|
|
export declare const isHlsSource: ({ src, type }: Pick<EngineSelectionInput, "src" | "type">) => boolean;
|
|
export declare const selectPlaybackEngine: ({ src, type, strategy, hlsSupported, isIOS, }: EngineSelectionInput) => PlaybackEngine;
|
|
//# sourceMappingURL=engine-selector.d.ts.map
|