Member Junction
    Preparing search index...

    What runs one decoder process.

    interface AvatarDecoderProcessOptions {
        Args: readonly string[];
        Name: string;
        OnFailure: (reason: string) => void;
        OnOutput: (chunk: Uint8Array) => void;
        Path: string;
        Spawn?: AvatarProcessSpawner;
    }
    Index

    Properties

    Args: readonly string[]

    Its arguments.

    Name: string

    'video' or 'voice', for the log.

    OnFailure: (reason: string) => void

    Called once when the process ends or fails to start without having been disposed, with what happened.

    OnOutput: (chunk: Uint8Array) => void

    Receives everything ffmpeg writes to stdout, in order.

    Path: string

    The ffmpeg binary.

    Starts the process. Default SpawnAvatarDecoderProcess.