UNPKG

camstreamerlib

Version:

Helper library for CamStreamer ACAP applications.

38 lines (37 loc) 1.6 kB
import { z } from 'zod'; export declare const audioChannelSchema: z.ZodUnion<[z.ZodLiteral<"mono">, z.ZodLiteral<"stereo">]>; export type TAudioChannel = z.infer<typeof audioChannelSchema>; export declare const audioChannelCountSchema: z.ZodUnion<[z.ZodLiteral<1>, z.ZodLiteral<2>]>; export type TAudioChannelCount = z.infer<typeof audioChannelCountSchema>; export declare const h264ProfileSchema: z.ZodUnion<[z.ZodLiteral<"high">, z.ZodLiteral<"main">, z.ZodLiteral<"baseline">]>; export type TH264Profile = z.infer<typeof h264ProfileSchema>; export declare const storageTypeSchema: z.ZodUnion<[z.ZodLiteral<"SD_DISK">, z.ZodLiteral<"FLASH">]>; export type TStorageType = z.infer<typeof storageTypeSchema>; export declare const networkCameraListSchema: z.ZodArray<z.ZodObject<{ name: z.ZodString; ip: z.ZodString; }, "strip", z.ZodTypeAny, { name: string; ip: string; }, { name: string; ip: string; }>, "many">; export type TNetworkCamera = z.infer<typeof networkCameraListSchema>[number]; export declare const keyboardShortcutSchema: z.ZodNullable<z.ZodString>; export declare const keyboardShortcutsSchema: z.ZodRecord<z.ZodString, z.ZodNullable<z.ZodString>>; export type TKeyboardShortcut = z.infer<typeof keyboardShortcutSchema>; export type TKeyboardShortcuts = z.infer<typeof keyboardShortcutsSchema>; export type TProxyParam = { ip: string; mdnsName: string; port: number; user: string; pass: string; } | null; export type TCameraImageConfig = { camera?: string; resolution?: string; compression?: number; overlays?: 'off'; };