media-stream-library
Version:
Media stream library for Node & the Web.
12 lines (11 loc) • 318 B
TypeScript
import { RtspSession } from '../components/rtsp-session';
/**
* Retry failed commands.
*
* This retries RTSP commands that fails up to a certain
* limit of times.
*/
export declare const addRTSPRetry: (rtspSession: RtspSession, { maxRetries, errors }?: {
maxRetries: number;
errors: number[];
}) => void;