Home > hls.js > RetryConfig
RetryConfig type
Signature:
export type RetryConfig = {
maxNumRetry: number;
retryDelayMs: number;
maxRetryDelayMs: number;
backoff?: 'exponential' | 'linear';
shouldRetry?: (retryConfig: RetryConfig | null | undefined, retryCount: number, isTimeout: boolean, loaderResponse: LoaderResponse | undefined, retry: boolean) => boolean;
};
References: RetryConfig, LoaderResponse