onvif-nvt-ts
Version:
Wrapper for ONVIF spec to control NVT (Network Video Transitter) devices. Forked and added TypeScript support from onvif-nvt.
8 lines (7 loc) • 587 B
TypeScript
export declare function URLWithEnforcedPort(xaddr: string, port: number): URL;
export declare function createUuidV4(): string;
export declare function getTypeOfValue(value: any): "undefined" | "null" | "array" | "boolean" | "string" | "integer" | "float" | "object" | "unknown" | "function";
export declare function isValidCallback(callback: any): boolean;
export declare function execCallback(callback: any, arg1: any, arg2: any): void;
export declare function isXml(xml: string): boolean;
export declare function isInvalidValue(value: any, type: string, allowEmpty?: boolean): string;