ixfx
    Preparing search index...

    Type Alias CaptureOpts

    type CaptureOpts = {
        maxIntervalMs?: number;
        onFrame?: (pixels: ImageData) => void;
        showCanvas?: boolean;
        workerScript?: string;
    }
    Index

    Properties

    maxIntervalMs?: number

    Delay between reading frames. Default: 0, reading as fast as possible

    onFrame?: (pixels: ImageData) => void
    showCanvas?: boolean

    Whether to show the created capture canvas. Default: false

    workerScript?: string