ThreePipe
    Preparing search index...

    Interface ICanvasRecorder<T>

    interface ICanvasRecorder<T extends string = any> {
        dispose: () => void;
        isBusy?: () => boolean;
        isRecording: () => boolean;
        isWriting?: () => boolean;
        options: CanvasRecorderOptions;
        pause: () => void;
        requestFrame: () => boolean;
        setOptions: (options: Partial<CanvasRecorderOptions>) => void;
        start: () => void;
        state: TRecorderStates;
        stop: (recordingCallback: (b?: Blob) => void) => void;
    }

    Type Parameters

    • T extends string = any

    Hierarchy

    Implemented by

    Index
    dispose: () => void
    isBusy?: () => boolean

    A frame still records, so the next frame would wait (a step-mode browser recorder)

    isRecording: () => boolean
    isWriting?: () => boolean

    Frames are still being written (a frame sink): the next frame waits for them, however long that takes

    pause: () => void
    requestFrame: () => boolean
    setOptions: (options: Partial<CanvasRecorderOptions>) => void
    start: () => void
    stop: (recordingCallback: (b?: Blob) => void) => void

    Calls back with the recording; an image sequence (written to a folder or a frame sink) has none