camstreamerlib
Version:
Helper library for CamStreamer ACAP applications.
140 lines (139 loc) • 3.79 kB
TypeScript
import { HttpOptions } from '../internal/types';
import { z } from 'zod';
export type CamStreamerAPIOptions = HttpOptions;
export declare const streamAttributesSchema: z.ZodObject<{
enabled: z.ZodString;
active: z.ZodString;
audioSource: z.ZodString;
avSyncMsec: z.ZodString;
internalVapixParameters: z.ZodString;
userVapixParameters: z.ZodString;
outputParameters: z.ZodString;
outputType: z.ZodString;
mediaServerUrl: z.ZodString;
inputType: z.ZodString;
inputUrl: z.ZodString;
forceStereo: z.ZodString;
streamDelay: z.ZodString;
statusLed: z.ZodString;
statusPort: z.ZodString;
callApi: z.ZodString;
trigger: z.ZodString;
schedule: z.ZodString;
prepareAhead: z.ZodString;
startTime: z.ZodString;
stopTime: z.ZodString;
}, "strip", z.ZodTypeAny, {
enabled: string;
schedule: string;
active: string;
audioSource: string;
avSyncMsec: string;
internalVapixParameters: string;
userVapixParameters: string;
outputParameters: string;
outputType: string;
mediaServerUrl: string;
inputType: string;
inputUrl: string;
forceStereo: string;
streamDelay: string;
statusLed: string;
statusPort: string;
callApi: string;
trigger: string;
prepareAhead: string;
startTime: string;
stopTime: string;
}, {
enabled: string;
schedule: string;
active: string;
audioSource: string;
avSyncMsec: string;
internalVapixParameters: string;
userVapixParameters: string;
outputParameters: string;
outputType: string;
mediaServerUrl: string;
inputType: string;
inputUrl: string;
forceStereo: string;
streamDelay: string;
statusLed: string;
statusPort: string;
callApi: string;
trigger: string;
prepareAhead: string;
startTime: string;
stopTime: string;
}>;
export type TStreamAttributes = z.infer<typeof streamAttributesSchema>;
export declare const streamListSchema: z.ZodRecord<z.ZodString, z.ZodObject<{
enabled: z.ZodString;
active: z.ZodString;
audioSource: z.ZodString;
avSyncMsec: z.ZodString;
internalVapixParameters: z.ZodString;
userVapixParameters: z.ZodString;
outputParameters: z.ZodString;
outputType: z.ZodString;
mediaServerUrl: z.ZodString;
inputType: z.ZodString;
inputUrl: z.ZodString;
forceStereo: z.ZodString;
streamDelay: z.ZodString;
statusLed: z.ZodString;
statusPort: z.ZodString;
callApi: z.ZodString;
trigger: z.ZodString;
schedule: z.ZodString;
prepareAhead: z.ZodString;
startTime: z.ZodString;
stopTime: z.ZodString;
}, "strip", z.ZodTypeAny, {
enabled: string;
schedule: string;
active: string;
audioSource: string;
avSyncMsec: string;
internalVapixParameters: string;
userVapixParameters: string;
outputParameters: string;
outputType: string;
mediaServerUrl: string;
inputType: string;
inputUrl: string;
forceStereo: string;
streamDelay: string;
statusLed: string;
statusPort: string;
callApi: string;
trigger: string;
prepareAhead: string;
startTime: string;
stopTime: string;
}, {
enabled: string;
schedule: string;
active: string;
audioSource: string;
avSyncMsec: string;
internalVapixParameters: string;
userVapixParameters: string;
outputParameters: string;
outputType: string;
mediaServerUrl: string;
inputType: string;
inputUrl: string;
forceStereo: string;
streamDelay: string;
statusLed: string;
statusPort: string;
callApi: string;
trigger: string;
prepareAhead: string;
startTime: string;
stopTime: string;
}>>;
export type TStreamList = z.infer<typeof streamListSchema>;