UNPKG

chaimu

Version:

✨ Chaimu is an audio player that synchronizes audio with video

15 lines 561 B
import { AudioPlayer, ChaimuPlayer } from "./player.js"; import { ChaimuOpts, FetchFunction, FetchOpts } from "./types/controller.js"; export default class Chaimu { _debug: boolean; audioContext: AudioContext | undefined; player: AudioPlayer | ChaimuPlayer; video: HTMLVideoElement; fetchFn: FetchFunction; fetchOpts: FetchOpts; constructor({ url, video, debug, fetchFn, fetchOpts, preferAudio, }: ChaimuOpts); init(): Promise<void>; set debug(value: boolean); get debug(): boolean; } //# sourceMappingURL=client.d.ts.map