pgs.js
Version:
PGS (Presentation Graphic Stream) Subtitle For HTML5 Media Playback
13 lines • 425 B
TypeScript
import { AcquisitionPointForRender } from "../render";
export type PGSFeederOptionPreloadType = 'none' | 'decode' | 'render';
export type PGSFeederOption = {
preload: PGSFeederOptionPreloadType;
timeshift: number;
};
export default interface PGSFeeder {
content(time: number): AcquisitionPointForRender | null;
onattach(): void;
ondetach(): void;
onseek(): void;
}
//# sourceMappingURL=feeder.d.ts.map