feat: release v0.0.1
This commit is contained in:
12
dist/core/engine-selector.d.ts
vendored
Normal file
12
dist/core/engine-selector.d.ts
vendored
Normal file
@@ -0,0 +1,12 @@
|
||||
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
|
||||
Reference in New Issue
Block a user