media-stream-player
Version:
Player built on top of media-stream-library
11 lines (10 loc) • 431 B
TypeScript
import { Debugger } from 'debug';
/**
* Show debug logs with information received from
* 'progress' & 'timeupdate' events including the current
* up time, delay and end time of last buffer.
* bufferedEnd: the last buffered time
* currentTime: current playback time
* delay: the last buffered time - current playback time
*/
export declare const useVideoDebug: (videoEl: HTMLVideoElement | null, debugLog: Debugger) => void;