UNPKG

@d-id/client-sdk

Version:
5 lines (4 loc) 410 B
/// <reference types="node" /> import { StreamingState } from '../../../types'; import { VideoRTCStatsReport } from './report'; export declare function pollStats(peerConnection: RTCPeerConnection, getIsConnected: () => boolean, onConnected: () => void, onVideoStateChange?: (state: StreamingState, statsReport?: VideoRTCStatsReport) => void, warmup?: boolean, shouldWaitForGreeting?: boolean): NodeJS.Timeout;