camstreamerlib 4.0.0-beta.122 → 4.0.0-beta.124

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -127,19 +127,37 @@ export declare const facebookSchema: z.ZodObject<{
127
127
  prepareAheadS?: number | undefined;
128
128
  }>]>;
129
129
  video: z.ZodObject<{
130
- output: z.ZodObject<{
131
- type: z.ZodUnion<[z.ZodLiteral<"video">, z.ZodLiteral<"images">]>;
132
- url: z.ZodNullable<z.ZodString>;
130
+ output: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
131
+ type: z.ZodLiteral<"video">;
132
+ url: z.ZodString;
133
133
  parameters: z.ZodString;
134
134
  }, "strip", z.ZodTypeAny, {
135
- type: "video" | "images";
136
- url: string | null;
135
+ type: "video";
136
+ url: string;
137
137
  parameters: string;
138
138
  }, {
139
- type: "video" | "images";
140
- url: string | null;
139
+ type: "video";
140
+ url: string;
141
141
  parameters: string;
142
- }>;
142
+ }>, z.ZodObject<{
143
+ type: z.ZodLiteral<"images">;
144
+ url: z.ZodString;
145
+ imageIntervalS: z.ZodNumber;
146
+ }, "strip", z.ZodTypeAny, {
147
+ type: "images";
148
+ url: string;
149
+ imageIntervalS: number;
150
+ }, {
151
+ type: "images";
152
+ url: string;
153
+ imageIntervalS: number;
154
+ }>, z.ZodObject<{
155
+ type: z.ZodLiteral<"none">;
156
+ }, "strip", z.ZodTypeAny, {
157
+ type: "none";
158
+ }, {
159
+ type: "none";
160
+ }>]>;
143
161
  input: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
144
162
  type: z.ZodLiteral<"RTSP_URL">;
145
163
  url: z.ZodString;
@@ -174,9 +192,15 @@ export declare const facebookSchema: z.ZodObject<{
174
192
  delayS: z.ZodOptional<z.ZodNumber>;
175
193
  }, "strip", z.ZodTypeAny, {
176
194
  output: {
177
- type: "video" | "images";
178
- url: string | null;
195
+ type: "video";
196
+ url: string;
179
197
  parameters: string;
198
+ } | {
199
+ type: "images";
200
+ url: string;
201
+ imageIntervalS: number;
202
+ } | {
203
+ type: "none";
180
204
  };
181
205
  input: {
182
206
  type: "RTSP_URL";
@@ -192,9 +216,15 @@ export declare const facebookSchema: z.ZodObject<{
192
216
  delayS?: number | undefined;
193
217
  }, {
194
218
  output: {
195
- type: "video" | "images";
196
- url: string | null;
219
+ type: "video";
220
+ url: string;
197
221
  parameters: string;
222
+ } | {
223
+ type: "images";
224
+ url: string;
225
+ imageIntervalS: number;
226
+ } | {
227
+ type: "none";
198
228
  };
199
229
  input: {
200
230
  type: "RTSP_URL";
@@ -336,9 +366,15 @@ export declare const facebookSchema: z.ZodObject<{
336
366
  };
337
367
  video: {
338
368
  output: {
339
- type: "video" | "images";
340
- url: string | null;
369
+ type: "video";
370
+ url: string;
341
371
  parameters: string;
372
+ } | {
373
+ type: "images";
374
+ url: string;
375
+ imageIntervalS: number;
376
+ } | {
377
+ type: "none";
342
378
  };
343
379
  input: {
344
380
  type: "RTSP_URL";
@@ -416,9 +452,15 @@ export declare const facebookSchema: z.ZodObject<{
416
452
  };
417
453
  video: {
418
454
  output: {
419
- type: "video" | "images";
420
- url: string | null;
455
+ type: "video";
456
+ url: string;
421
457
  parameters: string;
458
+ } | {
459
+ type: "images";
460
+ url: string;
461
+ imageIntervalS: number;
462
+ } | {
463
+ type: "none";
422
464
  };
423
465
  input: {
424
466
  type: "RTSP_URL";
@@ -104,19 +104,37 @@ export declare const streamCommonSchema: z.ZodObject<{
104
104
  prepareAheadS?: number | undefined;
105
105
  }>]>;
106
106
  video: z.ZodObject<{
107
- output: z.ZodObject<{
108
- type: z.ZodUnion<[z.ZodLiteral<"video">, z.ZodLiteral<"images">]>;
109
- url: z.ZodNullable<z.ZodString>;
107
+ output: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
108
+ type: z.ZodLiteral<"video">;
109
+ url: z.ZodString;
110
110
  parameters: z.ZodString;
111
111
  }, "strip", z.ZodTypeAny, {
112
- type: "video" | "images";
113
- url: string | null;
112
+ type: "video";
113
+ url: string;
114
114
  parameters: string;
115
115
  }, {
116
- type: "video" | "images";
117
- url: string | null;
116
+ type: "video";
117
+ url: string;
118
118
  parameters: string;
119
- }>;
119
+ }>, z.ZodObject<{
120
+ type: z.ZodLiteral<"images">;
121
+ url: z.ZodString;
122
+ imageIntervalS: z.ZodNumber;
123
+ }, "strip", z.ZodTypeAny, {
124
+ type: "images";
125
+ url: string;
126
+ imageIntervalS: number;
127
+ }, {
128
+ type: "images";
129
+ url: string;
130
+ imageIntervalS: number;
131
+ }>, z.ZodObject<{
132
+ type: z.ZodLiteral<"none">;
133
+ }, "strip", z.ZodTypeAny, {
134
+ type: "none";
135
+ }, {
136
+ type: "none";
137
+ }>]>;
120
138
  input: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
121
139
  type: z.ZodLiteral<"RTSP_URL">;
122
140
  url: z.ZodString;
@@ -151,9 +169,15 @@ export declare const streamCommonSchema: z.ZodObject<{
151
169
  delayS: z.ZodOptional<z.ZodNumber>;
152
170
  }, "strip", z.ZodTypeAny, {
153
171
  output: {
154
- type: "video" | "images";
155
- url: string | null;
172
+ type: "video";
173
+ url: string;
156
174
  parameters: string;
175
+ } | {
176
+ type: "images";
177
+ url: string;
178
+ imageIntervalS: number;
179
+ } | {
180
+ type: "none";
157
181
  };
158
182
  input: {
159
183
  type: "RTSP_URL";
@@ -169,9 +193,15 @@ export declare const streamCommonSchema: z.ZodObject<{
169
193
  delayS?: number | undefined;
170
194
  }, {
171
195
  output: {
172
- type: "video" | "images";
173
- url: string | null;
196
+ type: "video";
197
+ url: string;
174
198
  parameters: string;
199
+ } | {
200
+ type: "images";
201
+ url: string;
202
+ imageIntervalS: number;
203
+ } | {
204
+ type: "none";
175
205
  };
176
206
  input: {
177
207
  type: "RTSP_URL";
@@ -282,9 +312,15 @@ export declare const streamCommonSchema: z.ZodObject<{
282
312
  };
283
313
  video: {
284
314
  output: {
285
- type: "video" | "images";
286
- url: string | null;
315
+ type: "video";
316
+ url: string;
287
317
  parameters: string;
318
+ } | {
319
+ type: "images";
320
+ url: string;
321
+ imageIntervalS: number;
322
+ } | {
323
+ type: "none";
288
324
  };
289
325
  input: {
290
326
  type: "RTSP_URL";
@@ -351,9 +387,15 @@ export declare const streamCommonSchema: z.ZodObject<{
351
387
  };
352
388
  video: {
353
389
  output: {
354
- type: "video" | "images";
355
- url: string | null;
390
+ type: "video";
391
+ url: string;
356
392
  parameters: string;
393
+ } | {
394
+ type: "images";
395
+ url: string;
396
+ imageIntervalS: number;
397
+ } | {
398
+ type: "none";
357
399
  };
358
400
  input: {
359
401
  type: "RTSP_URL";