UNPKG

camstreamerlib

Version:

Helper library for CamStreamer ACAP applications.

14 lines (13 loc) 849 B
import { TPlaylistPlayType } from '../types/CamSwitcherAPI'; import { TParameters } from './types'; export declare const addParametersToPath: (path: string, params?: TParameters) => string; export declare const paramToUrl: (params?: TParameters) => string; export declare const arrayToUrl: (arr: string | string[]) => string; export declare const isCamera: (id?: string) => boolean; export declare const isStream: (id?: string) => boolean; export declare const isClip: (id?: string) => boolean; export declare const isTracker: (id?: string) => boolean; export declare const isPlaylist: (id?: string) => boolean; export declare const isLoopPlayType: (playType: TPlaylistPlayType) => boolean; export declare function pad(num: number, size: number): string; export declare function isNullish<T>(value: T | undefined | null): value is undefined | null;