UNPKG

@tianfeng98/hls.js

Version:

HLS.js is a JavaScript library that supports playing MPEG-TS and HEVC encoded HLS streams in browsers with support for MSE.

8 lines (6 loc) 212 B
export const isFiniteNumber = Number.isFinite || function (value) { return typeof value === 'number' && isFinite(value); }; export const MAX_SAFE_INTEGER = Number.MAX_SAFE_INTEGER || 9007199254740991;