Files
_hublib-web/dist/core/engine-selector.d.ts
2026-02-27 09:50:13 +03:00

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