@musallam/audio-video-client
    Preparing search index...

    Interface PollAudioVideoJobOptions

    interface PollAudioVideoJobOptions {
        axiosRequestConfig?: AxiosRequestConfig<any>;
        intervalMs?: number;
        maxAttempts?: number;
        onProgress?: (status: AudioVideoJobStatusResponse) => void;
        statusUrlOverride?: string;
        timeoutMs?: number;
    }
    Index

    Properties

    axiosRequestConfig?: AxiosRequestConfig<any>

    Authentication and other fetch options

    intervalMs?: number

    Interval between polling attempts in milliseconds

    2000
    
    maxAttempts?: number

    Maximum number of polling attempts

    60
    
    onProgress?: (status: AudioVideoJobStatusResponse) => void

    Callback for progress updates

    statusUrlOverride?: string

    Override the status URL path (if not using the standard endpoints)

    timeoutMs?: number

    Custom timeout in milliseconds (overrides maxAttempts)