UNPKG

@jxstjh/jhvideo

Version:

HTML5 jhvideo base on MPEG2-TS Stream Player

20 lines (19 loc) 902 B
export function getSeekableBlob(inputBlob: any, mimeType: any, callback: any): void; /** * 协议标准化工具 * @param {string} protocol 原始协议 (ws, hls, httpflv 等) * @param {boolean} isHttps 当前是否为 https 环境 */ export function getNormalizedProtocol(protocol: string, isHttps: boolean): "ws" | "hls" | "hlss" | "wss"; export function guid(): string; export function openFullscreen(element: any, isMobile: any): void; export function exitFullScreen(isMobile: any): void; export function filterAisleIdChart(aisleId: any): any; export function replaceStreamNO(channel: any, streamNo: any): any; export function getNowDate(): string; export function getDateStrBySize(data: any, size: any): string; export function formatStrDate(data: any): string; export function throttle(func: any, wait?: number, opts?: { noStart: boolean; noEnd: boolean; }): (...args: any[]) => any;