camstreamerlib
Version:
Helper library for CamStreamer ACAP applications.
15 lines (14 loc) • 789 B
JavaScript
export var ImageType;
(function (ImageType) {
ImageType[ImageType["PNG"] = 0] = "PNG";
ImageType[ImageType["JPEG"] = 1] = "JPEG";
})(ImageType || (ImageType = {}));
export const isInfoticker = (widget) => widget.name === 'infoticker';
export const isAccuweather = (widget) => widget.name === 'accuweather';
export const isPtzCompass = (widget) => widget.name === 'ptzCompass';
export const isImages = (widget) => widget.name === 'images';
export const isPtz = (widget) => widget.name === 'ptz';
export const isPip = (widget) => widget.name === 'pip';
export const isCustomGraphics = (widget) => widget.name === 'customGraphics';
export const isScreenSharing = (widget) => widget.name === 'screenSharing';
export const isWebCameraSharing = (widget) => widget.name === 'web_camera';