camstreamerlib 4.0.0-beta.83 → 4.0.0-beta.84
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.
- package/cjs/CamStreamerAPI.d.ts +14 -58
- package/cjs/types/CamStreamerAPI/CamStreamerAPI.d.ts +91 -373
- package/cjs/types/CamStreamerAPI/facebookSchema.d.ts +5 -20
- package/cjs/types/CamStreamerAPI/hlsSchema.d.ts +5 -20
- package/cjs/types/CamStreamerAPI/mpegDvbSchema.d.ts +5 -23
- package/cjs/types/CamStreamerAPI/mpegDvbSchema.js +0 -1
- package/cjs/types/CamStreamerAPI/rtmpSchema.d.ts +5 -20
- package/cjs/types/CamStreamerAPI/sdCardSchema.d.ts +5 -20
- package/cjs/types/CamStreamerAPI/streamCommonTypes.d.ts +8 -32
- package/cjs/types/CamStreamerAPI/streamCommonTypes.js +4 -6
- package/cjs/types/CamStreamerAPI/windySchema.d.ts +5 -20
- package/cjs/types/CamStreamerAPI/youtubeSchema.d.ts +5 -20
- package/esm/types/CamStreamerAPI/mpegDvbSchema.js +0 -1
- package/esm/types/CamStreamerAPI/streamCommonTypes.js +4 -6
- package/package.json +1 -1
- package/types/CamStreamerAPI.d.ts +14 -58
- package/types/types/CamStreamerAPI/CamStreamerAPI.d.ts +91 -373
- package/types/types/CamStreamerAPI/facebookSchema.d.ts +5 -20
- package/types/types/CamStreamerAPI/hlsSchema.d.ts +5 -20
- package/types/types/CamStreamerAPI/mpegDvbSchema.d.ts +5 -23
- package/types/types/CamStreamerAPI/rtmpSchema.d.ts +5 -20
- package/types/types/CamStreamerAPI/sdCardSchema.d.ts +5 -20
- package/types/types/CamStreamerAPI/streamCommonTypes.d.ts +8 -32
- package/types/types/CamStreamerAPI/windySchema.d.ts +5 -20
- package/types/types/CamStreamerAPI/youtubeSchema.d.ts +5 -20
|
@@ -13,10 +13,13 @@ export declare const streamSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<
|
|
|
13
13
|
title: z.ZodString;
|
|
14
14
|
trigger: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
15
15
|
type: z.ZodLiteral<"manual">;
|
|
16
|
+
ioPort: z.ZodNullable<z.ZodString>;
|
|
16
17
|
}, "strip", z.ZodTypeAny, {
|
|
17
18
|
type: "manual";
|
|
19
|
+
ioPort: string | null;
|
|
18
20
|
}, {
|
|
19
21
|
type: "manual";
|
|
22
|
+
ioPort: string | null;
|
|
20
23
|
}>, z.ZodObject<{
|
|
21
24
|
type: z.ZodLiteral<"onetime">;
|
|
22
25
|
startTime: z.ZodNumber;
|
|
@@ -63,18 +66,6 @@ export declare const streamSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<
|
|
|
63
66
|
stopTimeS: number;
|
|
64
67
|
isActive: boolean;
|
|
65
68
|
}[];
|
|
66
|
-
}>, z.ZodObject<{
|
|
67
|
-
type: z.ZodLiteral<"io">;
|
|
68
|
-
ioPort: z.ZodString;
|
|
69
|
-
triggerOn: z.ZodUnion<[z.ZodLiteral<"open">, z.ZodLiteral<"closed">]>;
|
|
70
|
-
}, "strip", z.ZodTypeAny, {
|
|
71
|
-
type: "io";
|
|
72
|
-
ioPort: string;
|
|
73
|
-
triggerOn: "open" | "closed";
|
|
74
|
-
}, {
|
|
75
|
-
type: "io";
|
|
76
|
-
ioPort: string;
|
|
77
|
-
triggerOn: "open" | "closed";
|
|
78
69
|
}>]>;
|
|
79
70
|
} & {
|
|
80
71
|
type: z.ZodLiteral<"facebook">;
|
|
@@ -86,6 +77,7 @@ export declare const streamSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<
|
|
|
86
77
|
title: string;
|
|
87
78
|
trigger: {
|
|
88
79
|
type: "manual";
|
|
80
|
+
ioPort: string | null;
|
|
89
81
|
} | {
|
|
90
82
|
type: "onetime";
|
|
91
83
|
startTime: number;
|
|
@@ -98,10 +90,6 @@ export declare const streamSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<
|
|
|
98
90
|
stopTimeS: number;
|
|
99
91
|
isActive: boolean;
|
|
100
92
|
}[];
|
|
101
|
-
} | {
|
|
102
|
-
type: "io";
|
|
103
|
-
ioPort: string;
|
|
104
|
-
triggerOn: "open" | "closed";
|
|
105
93
|
};
|
|
106
94
|
}, {
|
|
107
95
|
type: "facebook";
|
|
@@ -111,6 +99,7 @@ export declare const streamSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<
|
|
|
111
99
|
title: string;
|
|
112
100
|
trigger: {
|
|
113
101
|
type: "manual";
|
|
102
|
+
ioPort: string | null;
|
|
114
103
|
} | {
|
|
115
104
|
type: "onetime";
|
|
116
105
|
startTime: number;
|
|
@@ -123,10 +112,6 @@ export declare const streamSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<
|
|
|
123
112
|
stopTimeS: number;
|
|
124
113
|
isActive: boolean;
|
|
125
114
|
}[];
|
|
126
|
-
} | {
|
|
127
|
-
type: "io";
|
|
128
|
-
ioPort: string;
|
|
129
|
-
triggerOn: "open" | "closed";
|
|
130
115
|
};
|
|
131
116
|
}>, z.ZodObject<{
|
|
132
117
|
id: z.ZodNumber;
|
|
@@ -135,10 +120,13 @@ export declare const streamSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<
|
|
|
135
120
|
title: z.ZodString;
|
|
136
121
|
trigger: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
137
122
|
type: z.ZodLiteral<"manual">;
|
|
123
|
+
ioPort: z.ZodNullable<z.ZodString>;
|
|
138
124
|
}, "strip", z.ZodTypeAny, {
|
|
139
125
|
type: "manual";
|
|
126
|
+
ioPort: string | null;
|
|
140
127
|
}, {
|
|
141
128
|
type: "manual";
|
|
129
|
+
ioPort: string | null;
|
|
142
130
|
}>, z.ZodObject<{
|
|
143
131
|
type: z.ZodLiteral<"onetime">;
|
|
144
132
|
startTime: z.ZodNumber;
|
|
@@ -185,18 +173,6 @@ export declare const streamSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<
|
|
|
185
173
|
stopTimeS: number;
|
|
186
174
|
isActive: boolean;
|
|
187
175
|
}[];
|
|
188
|
-
}>, z.ZodObject<{
|
|
189
|
-
type: z.ZodLiteral<"io">;
|
|
190
|
-
ioPort: z.ZodString;
|
|
191
|
-
triggerOn: z.ZodUnion<[z.ZodLiteral<"open">, z.ZodLiteral<"closed">]>;
|
|
192
|
-
}, "strip", z.ZodTypeAny, {
|
|
193
|
-
type: "io";
|
|
194
|
-
ioPort: string;
|
|
195
|
-
triggerOn: "open" | "closed";
|
|
196
|
-
}, {
|
|
197
|
-
type: "io";
|
|
198
|
-
ioPort: string;
|
|
199
|
-
triggerOn: "open" | "closed";
|
|
200
176
|
}>]>;
|
|
201
177
|
} & {
|
|
202
178
|
type: z.ZodLiteral<"hls">;
|
|
@@ -208,6 +184,7 @@ export declare const streamSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<
|
|
|
208
184
|
title: string;
|
|
209
185
|
trigger: {
|
|
210
186
|
type: "manual";
|
|
187
|
+
ioPort: string | null;
|
|
211
188
|
} | {
|
|
212
189
|
type: "onetime";
|
|
213
190
|
startTime: number;
|
|
@@ -220,10 +197,6 @@ export declare const streamSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<
|
|
|
220
197
|
stopTimeS: number;
|
|
221
198
|
isActive: boolean;
|
|
222
199
|
}[];
|
|
223
|
-
} | {
|
|
224
|
-
type: "io";
|
|
225
|
-
ioPort: string;
|
|
226
|
-
triggerOn: "open" | "closed";
|
|
227
200
|
};
|
|
228
201
|
}, {
|
|
229
202
|
type: "hls";
|
|
@@ -233,6 +206,7 @@ export declare const streamSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<
|
|
|
233
206
|
title: string;
|
|
234
207
|
trigger: {
|
|
235
208
|
type: "manual";
|
|
209
|
+
ioPort: string | null;
|
|
236
210
|
} | {
|
|
237
211
|
type: "onetime";
|
|
238
212
|
startTime: number;
|
|
@@ -245,10 +219,6 @@ export declare const streamSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<
|
|
|
245
219
|
stopTimeS: number;
|
|
246
220
|
isActive: boolean;
|
|
247
221
|
}[];
|
|
248
|
-
} | {
|
|
249
|
-
type: "io";
|
|
250
|
-
ioPort: string;
|
|
251
|
-
triggerOn: "open" | "closed";
|
|
252
222
|
};
|
|
253
223
|
}>, z.ZodObject<{
|
|
254
224
|
id: z.ZodNumber;
|
|
@@ -257,10 +227,13 @@ export declare const streamSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<
|
|
|
257
227
|
title: z.ZodString;
|
|
258
228
|
trigger: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
259
229
|
type: z.ZodLiteral<"manual">;
|
|
230
|
+
ioPort: z.ZodNullable<z.ZodString>;
|
|
260
231
|
}, "strip", z.ZodTypeAny, {
|
|
261
232
|
type: "manual";
|
|
233
|
+
ioPort: string | null;
|
|
262
234
|
}, {
|
|
263
235
|
type: "manual";
|
|
236
|
+
ioPort: string | null;
|
|
264
237
|
}>, z.ZodObject<{
|
|
265
238
|
type: z.ZodLiteral<"onetime">;
|
|
266
239
|
startTime: z.ZodNumber;
|
|
@@ -307,18 +280,6 @@ export declare const streamSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<
|
|
|
307
280
|
stopTimeS: number;
|
|
308
281
|
isActive: boolean;
|
|
309
282
|
}[];
|
|
310
|
-
}>, z.ZodObject<{
|
|
311
|
-
type: z.ZodLiteral<"io">;
|
|
312
|
-
ioPort: z.ZodString;
|
|
313
|
-
triggerOn: z.ZodUnion<[z.ZodLiteral<"open">, z.ZodLiteral<"closed">]>;
|
|
314
|
-
}, "strip", z.ZodTypeAny, {
|
|
315
|
-
type: "io";
|
|
316
|
-
ioPort: string;
|
|
317
|
-
triggerOn: "open" | "closed";
|
|
318
|
-
}, {
|
|
319
|
-
type: "io";
|
|
320
|
-
ioPort: string;
|
|
321
|
-
triggerOn: "open" | "closed";
|
|
322
283
|
}>]>;
|
|
323
284
|
} & {
|
|
324
285
|
type: z.ZodLiteral<"mpeg_dvb">;
|
|
@@ -335,7 +296,6 @@ export declare const streamSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<
|
|
|
335
296
|
pcrPeriodMs: z.ZodNumber;
|
|
336
297
|
providerName: z.ZodString;
|
|
337
298
|
serviceName: z.ZodString;
|
|
338
|
-
triggerType: z.ZodEnum<["manual", "onetime", "recurrent", "io", "nonstop"]>;
|
|
339
299
|
statusCameraLed: z.ZodBoolean;
|
|
340
300
|
statusCameraOutput: z.ZodString;
|
|
341
301
|
saveToSdCard: z.ZodBoolean;
|
|
@@ -348,6 +308,7 @@ export declare const streamSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<
|
|
|
348
308
|
title: string;
|
|
349
309
|
trigger: {
|
|
350
310
|
type: "manual";
|
|
311
|
+
ioPort: string | null;
|
|
351
312
|
} | {
|
|
352
313
|
type: "onetime";
|
|
353
314
|
startTime: number;
|
|
@@ -360,10 +321,6 @@ export declare const streamSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<
|
|
|
360
321
|
stopTimeS: number;
|
|
361
322
|
isActive: boolean;
|
|
362
323
|
}[];
|
|
363
|
-
} | {
|
|
364
|
-
type: "io";
|
|
365
|
-
ioPort: string;
|
|
366
|
-
triggerOn: "open" | "closed";
|
|
367
324
|
};
|
|
368
325
|
ipAddress: string;
|
|
369
326
|
standard: "DVB" | "ATSC";
|
|
@@ -377,7 +334,6 @@ export declare const streamSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<
|
|
|
377
334
|
pcrPeriodMs: number;
|
|
378
335
|
providerName: string;
|
|
379
336
|
serviceName: string;
|
|
380
|
-
triggerType: "manual" | "onetime" | "recurrent" | "io" | "nonstop";
|
|
381
337
|
statusCameraLed: boolean;
|
|
382
338
|
statusCameraOutput: string;
|
|
383
339
|
saveToSdCard: boolean;
|
|
@@ -390,6 +346,7 @@ export declare const streamSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<
|
|
|
390
346
|
title: string;
|
|
391
347
|
trigger: {
|
|
392
348
|
type: "manual";
|
|
349
|
+
ioPort: string | null;
|
|
393
350
|
} | {
|
|
394
351
|
type: "onetime";
|
|
395
352
|
startTime: number;
|
|
@@ -402,10 +359,6 @@ export declare const streamSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<
|
|
|
402
359
|
stopTimeS: number;
|
|
403
360
|
isActive: boolean;
|
|
404
361
|
}[];
|
|
405
|
-
} | {
|
|
406
|
-
type: "io";
|
|
407
|
-
ioPort: string;
|
|
408
|
-
triggerOn: "open" | "closed";
|
|
409
362
|
};
|
|
410
363
|
ipAddress: string;
|
|
411
364
|
standard: "DVB" | "ATSC";
|
|
@@ -419,7 +372,6 @@ export declare const streamSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<
|
|
|
419
372
|
pcrPeriodMs: number;
|
|
420
373
|
providerName: string;
|
|
421
374
|
serviceName: string;
|
|
422
|
-
triggerType: "manual" | "onetime" | "recurrent" | "io" | "nonstop";
|
|
423
375
|
statusCameraLed: boolean;
|
|
424
376
|
statusCameraOutput: string;
|
|
425
377
|
saveToSdCard: boolean;
|
|
@@ -430,10 +382,13 @@ export declare const streamSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<
|
|
|
430
382
|
title: z.ZodString;
|
|
431
383
|
trigger: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
432
384
|
type: z.ZodLiteral<"manual">;
|
|
385
|
+
ioPort: z.ZodNullable<z.ZodString>;
|
|
433
386
|
}, "strip", z.ZodTypeAny, {
|
|
434
387
|
type: "manual";
|
|
388
|
+
ioPort: string | null;
|
|
435
389
|
}, {
|
|
436
390
|
type: "manual";
|
|
391
|
+
ioPort: string | null;
|
|
437
392
|
}>, z.ZodObject<{
|
|
438
393
|
type: z.ZodLiteral<"onetime">;
|
|
439
394
|
startTime: z.ZodNumber;
|
|
@@ -480,18 +435,6 @@ export declare const streamSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<
|
|
|
480
435
|
stopTimeS: number;
|
|
481
436
|
isActive: boolean;
|
|
482
437
|
}[];
|
|
483
|
-
}>, z.ZodObject<{
|
|
484
|
-
type: z.ZodLiteral<"io">;
|
|
485
|
-
ioPort: z.ZodString;
|
|
486
|
-
triggerOn: z.ZodUnion<[z.ZodLiteral<"open">, z.ZodLiteral<"closed">]>;
|
|
487
|
-
}, "strip", z.ZodTypeAny, {
|
|
488
|
-
type: "io";
|
|
489
|
-
ioPort: string;
|
|
490
|
-
triggerOn: "open" | "closed";
|
|
491
|
-
}, {
|
|
492
|
-
type: "io";
|
|
493
|
-
ioPort: string;
|
|
494
|
-
triggerOn: "open" | "closed";
|
|
495
438
|
}>]>;
|
|
496
439
|
} & {
|
|
497
440
|
type: z.ZodLiteral<"rtmp">;
|
|
@@ -503,6 +446,7 @@ export declare const streamSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<
|
|
|
503
446
|
title: string;
|
|
504
447
|
trigger: {
|
|
505
448
|
type: "manual";
|
|
449
|
+
ioPort: string | null;
|
|
506
450
|
} | {
|
|
507
451
|
type: "onetime";
|
|
508
452
|
startTime: number;
|
|
@@ -515,10 +459,6 @@ export declare const streamSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<
|
|
|
515
459
|
stopTimeS: number;
|
|
516
460
|
isActive: boolean;
|
|
517
461
|
}[];
|
|
518
|
-
} | {
|
|
519
|
-
type: "io";
|
|
520
|
-
ioPort: string;
|
|
521
|
-
triggerOn: "open" | "closed";
|
|
522
462
|
};
|
|
523
463
|
}, {
|
|
524
464
|
type: "rtmp";
|
|
@@ -528,6 +468,7 @@ export declare const streamSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<
|
|
|
528
468
|
title: string;
|
|
529
469
|
trigger: {
|
|
530
470
|
type: "manual";
|
|
471
|
+
ioPort: string | null;
|
|
531
472
|
} | {
|
|
532
473
|
type: "onetime";
|
|
533
474
|
startTime: number;
|
|
@@ -540,10 +481,6 @@ export declare const streamSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<
|
|
|
540
481
|
stopTimeS: number;
|
|
541
482
|
isActive: boolean;
|
|
542
483
|
}[];
|
|
543
|
-
} | {
|
|
544
|
-
type: "io";
|
|
545
|
-
ioPort: string;
|
|
546
|
-
triggerOn: "open" | "closed";
|
|
547
484
|
};
|
|
548
485
|
}>, z.ZodObject<{
|
|
549
486
|
id: z.ZodNumber;
|
|
@@ -552,10 +489,13 @@ export declare const streamSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<
|
|
|
552
489
|
title: z.ZodString;
|
|
553
490
|
trigger: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
554
491
|
type: z.ZodLiteral<"manual">;
|
|
492
|
+
ioPort: z.ZodNullable<z.ZodString>;
|
|
555
493
|
}, "strip", z.ZodTypeAny, {
|
|
556
494
|
type: "manual";
|
|
495
|
+
ioPort: string | null;
|
|
557
496
|
}, {
|
|
558
497
|
type: "manual";
|
|
498
|
+
ioPort: string | null;
|
|
559
499
|
}>, z.ZodObject<{
|
|
560
500
|
type: z.ZodLiteral<"onetime">;
|
|
561
501
|
startTime: z.ZodNumber;
|
|
@@ -602,18 +542,6 @@ export declare const streamSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<
|
|
|
602
542
|
stopTimeS: number;
|
|
603
543
|
isActive: boolean;
|
|
604
544
|
}[];
|
|
605
|
-
}>, z.ZodObject<{
|
|
606
|
-
type: z.ZodLiteral<"io">;
|
|
607
|
-
ioPort: z.ZodString;
|
|
608
|
-
triggerOn: z.ZodUnion<[z.ZodLiteral<"open">, z.ZodLiteral<"closed">]>;
|
|
609
|
-
}, "strip", z.ZodTypeAny, {
|
|
610
|
-
type: "io";
|
|
611
|
-
ioPort: string;
|
|
612
|
-
triggerOn: "open" | "closed";
|
|
613
|
-
}, {
|
|
614
|
-
type: "io";
|
|
615
|
-
ioPort: string;
|
|
616
|
-
triggerOn: "open" | "closed";
|
|
617
545
|
}>]>;
|
|
618
546
|
} & {
|
|
619
547
|
type: z.ZodLiteral<"sd_card">;
|
|
@@ -625,6 +553,7 @@ export declare const streamSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<
|
|
|
625
553
|
title: string;
|
|
626
554
|
trigger: {
|
|
627
555
|
type: "manual";
|
|
556
|
+
ioPort: string | null;
|
|
628
557
|
} | {
|
|
629
558
|
type: "onetime";
|
|
630
559
|
startTime: number;
|
|
@@ -637,10 +566,6 @@ export declare const streamSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<
|
|
|
637
566
|
stopTimeS: number;
|
|
638
567
|
isActive: boolean;
|
|
639
568
|
}[];
|
|
640
|
-
} | {
|
|
641
|
-
type: "io";
|
|
642
|
-
ioPort: string;
|
|
643
|
-
triggerOn: "open" | "closed";
|
|
644
569
|
};
|
|
645
570
|
}, {
|
|
646
571
|
type: "sd_card";
|
|
@@ -650,6 +575,7 @@ export declare const streamSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<
|
|
|
650
575
|
title: string;
|
|
651
576
|
trigger: {
|
|
652
577
|
type: "manual";
|
|
578
|
+
ioPort: string | null;
|
|
653
579
|
} | {
|
|
654
580
|
type: "onetime";
|
|
655
581
|
startTime: number;
|
|
@@ -662,10 +588,6 @@ export declare const streamSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<
|
|
|
662
588
|
stopTimeS: number;
|
|
663
589
|
isActive: boolean;
|
|
664
590
|
}[];
|
|
665
|
-
} | {
|
|
666
|
-
type: "io";
|
|
667
|
-
ioPort: string;
|
|
668
|
-
triggerOn: "open" | "closed";
|
|
669
591
|
};
|
|
670
592
|
}>, z.ZodObject<{
|
|
671
593
|
id: z.ZodNumber;
|
|
@@ -674,10 +596,13 @@ export declare const streamSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<
|
|
|
674
596
|
title: z.ZodString;
|
|
675
597
|
trigger: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
676
598
|
type: z.ZodLiteral<"manual">;
|
|
599
|
+
ioPort: z.ZodNullable<z.ZodString>;
|
|
677
600
|
}, "strip", z.ZodTypeAny, {
|
|
678
601
|
type: "manual";
|
|
602
|
+
ioPort: string | null;
|
|
679
603
|
}, {
|
|
680
604
|
type: "manual";
|
|
605
|
+
ioPort: string | null;
|
|
681
606
|
}>, z.ZodObject<{
|
|
682
607
|
type: z.ZodLiteral<"onetime">;
|
|
683
608
|
startTime: z.ZodNumber;
|
|
@@ -724,18 +649,6 @@ export declare const streamSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<
|
|
|
724
649
|
stopTimeS: number;
|
|
725
650
|
isActive: boolean;
|
|
726
651
|
}[];
|
|
727
|
-
}>, z.ZodObject<{
|
|
728
|
-
type: z.ZodLiteral<"io">;
|
|
729
|
-
ioPort: z.ZodString;
|
|
730
|
-
triggerOn: z.ZodUnion<[z.ZodLiteral<"open">, z.ZodLiteral<"closed">]>;
|
|
731
|
-
}, "strip", z.ZodTypeAny, {
|
|
732
|
-
type: "io";
|
|
733
|
-
ioPort: string;
|
|
734
|
-
triggerOn: "open" | "closed";
|
|
735
|
-
}, {
|
|
736
|
-
type: "io";
|
|
737
|
-
ioPort: string;
|
|
738
|
-
triggerOn: "open" | "closed";
|
|
739
652
|
}>]>;
|
|
740
653
|
} & {
|
|
741
654
|
type: z.ZodLiteral<"windy">;
|
|
@@ -747,6 +660,7 @@ export declare const streamSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<
|
|
|
747
660
|
title: string;
|
|
748
661
|
trigger: {
|
|
749
662
|
type: "manual";
|
|
663
|
+
ioPort: string | null;
|
|
750
664
|
} | {
|
|
751
665
|
type: "onetime";
|
|
752
666
|
startTime: number;
|
|
@@ -759,10 +673,6 @@ export declare const streamSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<
|
|
|
759
673
|
stopTimeS: number;
|
|
760
674
|
isActive: boolean;
|
|
761
675
|
}[];
|
|
762
|
-
} | {
|
|
763
|
-
type: "io";
|
|
764
|
-
ioPort: string;
|
|
765
|
-
triggerOn: "open" | "closed";
|
|
766
676
|
};
|
|
767
677
|
}, {
|
|
768
678
|
type: "windy";
|
|
@@ -772,6 +682,7 @@ export declare const streamSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<
|
|
|
772
682
|
title: string;
|
|
773
683
|
trigger: {
|
|
774
684
|
type: "manual";
|
|
685
|
+
ioPort: string | null;
|
|
775
686
|
} | {
|
|
776
687
|
type: "onetime";
|
|
777
688
|
startTime: number;
|
|
@@ -784,10 +695,6 @@ export declare const streamSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<
|
|
|
784
695
|
stopTimeS: number;
|
|
785
696
|
isActive: boolean;
|
|
786
697
|
}[];
|
|
787
|
-
} | {
|
|
788
|
-
type: "io";
|
|
789
|
-
ioPort: string;
|
|
790
|
-
triggerOn: "open" | "closed";
|
|
791
698
|
};
|
|
792
699
|
}>, z.ZodObject<{
|
|
793
700
|
id: z.ZodNumber;
|
|
@@ -796,10 +703,13 @@ export declare const streamSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<
|
|
|
796
703
|
title: z.ZodString;
|
|
797
704
|
trigger: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
798
705
|
type: z.ZodLiteral<"manual">;
|
|
706
|
+
ioPort: z.ZodNullable<z.ZodString>;
|
|
799
707
|
}, "strip", z.ZodTypeAny, {
|
|
800
708
|
type: "manual";
|
|
709
|
+
ioPort: string | null;
|
|
801
710
|
}, {
|
|
802
711
|
type: "manual";
|
|
712
|
+
ioPort: string | null;
|
|
803
713
|
}>, z.ZodObject<{
|
|
804
714
|
type: z.ZodLiteral<"onetime">;
|
|
805
715
|
startTime: z.ZodNumber;
|
|
@@ -846,18 +756,6 @@ export declare const streamSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<
|
|
|
846
756
|
stopTimeS: number;
|
|
847
757
|
isActive: boolean;
|
|
848
758
|
}[];
|
|
849
|
-
}>, z.ZodObject<{
|
|
850
|
-
type: z.ZodLiteral<"io">;
|
|
851
|
-
ioPort: z.ZodString;
|
|
852
|
-
triggerOn: z.ZodUnion<[z.ZodLiteral<"open">, z.ZodLiteral<"closed">]>;
|
|
853
|
-
}, "strip", z.ZodTypeAny, {
|
|
854
|
-
type: "io";
|
|
855
|
-
ioPort: string;
|
|
856
|
-
triggerOn: "open" | "closed";
|
|
857
|
-
}, {
|
|
858
|
-
type: "io";
|
|
859
|
-
ioPort: string;
|
|
860
|
-
triggerOn: "open" | "closed";
|
|
861
759
|
}>]>;
|
|
862
760
|
} & {
|
|
863
761
|
type: z.ZodLiteral<"youtube">;
|
|
@@ -869,6 +767,7 @@ export declare const streamSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<
|
|
|
869
767
|
title: string;
|
|
870
768
|
trigger: {
|
|
871
769
|
type: "manual";
|
|
770
|
+
ioPort: string | null;
|
|
872
771
|
} | {
|
|
873
772
|
type: "onetime";
|
|
874
773
|
startTime: number;
|
|
@@ -881,10 +780,6 @@ export declare const streamSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<
|
|
|
881
780
|
stopTimeS: number;
|
|
882
781
|
isActive: boolean;
|
|
883
782
|
}[];
|
|
884
|
-
} | {
|
|
885
|
-
type: "io";
|
|
886
|
-
ioPort: string;
|
|
887
|
-
triggerOn: "open" | "closed";
|
|
888
783
|
};
|
|
889
784
|
}, {
|
|
890
785
|
type: "youtube";
|
|
@@ -894,6 +789,7 @@ export declare const streamSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<
|
|
|
894
789
|
title: string;
|
|
895
790
|
trigger: {
|
|
896
791
|
type: "manual";
|
|
792
|
+
ioPort: string | null;
|
|
897
793
|
} | {
|
|
898
794
|
type: "onetime";
|
|
899
795
|
startTime: number;
|
|
@@ -906,10 +802,6 @@ export declare const streamSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<
|
|
|
906
802
|
stopTimeS: number;
|
|
907
803
|
isActive: boolean;
|
|
908
804
|
}[];
|
|
909
|
-
} | {
|
|
910
|
-
type: "io";
|
|
911
|
-
ioPort: string;
|
|
912
|
-
triggerOn: "open" | "closed";
|
|
913
805
|
};
|
|
914
806
|
}>]>;
|
|
915
807
|
export type TStream = z.infer<typeof streamSchema>;
|
|
@@ -921,10 +813,13 @@ export declare const streamListSchema: z.ZodObject<{
|
|
|
921
813
|
title: z.ZodString;
|
|
922
814
|
trigger: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
923
815
|
type: z.ZodLiteral<"manual">;
|
|
816
|
+
ioPort: z.ZodNullable<z.ZodString>;
|
|
924
817
|
}, "strip", z.ZodTypeAny, {
|
|
925
818
|
type: "manual";
|
|
819
|
+
ioPort: string | null;
|
|
926
820
|
}, {
|
|
927
821
|
type: "manual";
|
|
822
|
+
ioPort: string | null;
|
|
928
823
|
}>, z.ZodObject<{
|
|
929
824
|
type: z.ZodLiteral<"onetime">;
|
|
930
825
|
startTime: z.ZodNumber;
|
|
@@ -971,18 +866,6 @@ export declare const streamListSchema: z.ZodObject<{
|
|
|
971
866
|
stopTimeS: number;
|
|
972
867
|
isActive: boolean;
|
|
973
868
|
}[];
|
|
974
|
-
}>, z.ZodObject<{
|
|
975
|
-
type: z.ZodLiteral<"io">;
|
|
976
|
-
ioPort: z.ZodString;
|
|
977
|
-
triggerOn: z.ZodUnion<[z.ZodLiteral<"open">, z.ZodLiteral<"closed">]>;
|
|
978
|
-
}, "strip", z.ZodTypeAny, {
|
|
979
|
-
type: "io";
|
|
980
|
-
ioPort: string;
|
|
981
|
-
triggerOn: "open" | "closed";
|
|
982
|
-
}, {
|
|
983
|
-
type: "io";
|
|
984
|
-
ioPort: string;
|
|
985
|
-
triggerOn: "open" | "closed";
|
|
986
869
|
}>]>;
|
|
987
870
|
} & {
|
|
988
871
|
type: z.ZodLiteral<"facebook">;
|
|
@@ -994,6 +877,7 @@ export declare const streamListSchema: z.ZodObject<{
|
|
|
994
877
|
title: string;
|
|
995
878
|
trigger: {
|
|
996
879
|
type: "manual";
|
|
880
|
+
ioPort: string | null;
|
|
997
881
|
} | {
|
|
998
882
|
type: "onetime";
|
|
999
883
|
startTime: number;
|
|
@@ -1006,10 +890,6 @@ export declare const streamListSchema: z.ZodObject<{
|
|
|
1006
890
|
stopTimeS: number;
|
|
1007
891
|
isActive: boolean;
|
|
1008
892
|
}[];
|
|
1009
|
-
} | {
|
|
1010
|
-
type: "io";
|
|
1011
|
-
ioPort: string;
|
|
1012
|
-
triggerOn: "open" | "closed";
|
|
1013
893
|
};
|
|
1014
894
|
}, {
|
|
1015
895
|
type: "facebook";
|
|
@@ -1019,6 +899,7 @@ export declare const streamListSchema: z.ZodObject<{
|
|
|
1019
899
|
title: string;
|
|
1020
900
|
trigger: {
|
|
1021
901
|
type: "manual";
|
|
902
|
+
ioPort: string | null;
|
|
1022
903
|
} | {
|
|
1023
904
|
type: "onetime";
|
|
1024
905
|
startTime: number;
|
|
@@ -1031,10 +912,6 @@ export declare const streamListSchema: z.ZodObject<{
|
|
|
1031
912
|
stopTimeS: number;
|
|
1032
913
|
isActive: boolean;
|
|
1033
914
|
}[];
|
|
1034
|
-
} | {
|
|
1035
|
-
type: "io";
|
|
1036
|
-
ioPort: string;
|
|
1037
|
-
triggerOn: "open" | "closed";
|
|
1038
915
|
};
|
|
1039
916
|
}>, z.ZodObject<{
|
|
1040
917
|
id: z.ZodNumber;
|
|
@@ -1043,10 +920,13 @@ export declare const streamListSchema: z.ZodObject<{
|
|
|
1043
920
|
title: z.ZodString;
|
|
1044
921
|
trigger: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
1045
922
|
type: z.ZodLiteral<"manual">;
|
|
923
|
+
ioPort: z.ZodNullable<z.ZodString>;
|
|
1046
924
|
}, "strip", z.ZodTypeAny, {
|
|
1047
925
|
type: "manual";
|
|
926
|
+
ioPort: string | null;
|
|
1048
927
|
}, {
|
|
1049
928
|
type: "manual";
|
|
929
|
+
ioPort: string | null;
|
|
1050
930
|
}>, z.ZodObject<{
|
|
1051
931
|
type: z.ZodLiteral<"onetime">;
|
|
1052
932
|
startTime: z.ZodNumber;
|
|
@@ -1093,18 +973,6 @@ export declare const streamListSchema: z.ZodObject<{
|
|
|
1093
973
|
stopTimeS: number;
|
|
1094
974
|
isActive: boolean;
|
|
1095
975
|
}[];
|
|
1096
|
-
}>, z.ZodObject<{
|
|
1097
|
-
type: z.ZodLiteral<"io">;
|
|
1098
|
-
ioPort: z.ZodString;
|
|
1099
|
-
triggerOn: z.ZodUnion<[z.ZodLiteral<"open">, z.ZodLiteral<"closed">]>;
|
|
1100
|
-
}, "strip", z.ZodTypeAny, {
|
|
1101
|
-
type: "io";
|
|
1102
|
-
ioPort: string;
|
|
1103
|
-
triggerOn: "open" | "closed";
|
|
1104
|
-
}, {
|
|
1105
|
-
type: "io";
|
|
1106
|
-
ioPort: string;
|
|
1107
|
-
triggerOn: "open" | "closed";
|
|
1108
976
|
}>]>;
|
|
1109
977
|
} & {
|
|
1110
978
|
type: z.ZodLiteral<"hls">;
|
|
@@ -1116,6 +984,7 @@ export declare const streamListSchema: z.ZodObject<{
|
|
|
1116
984
|
title: string;
|
|
1117
985
|
trigger: {
|
|
1118
986
|
type: "manual";
|
|
987
|
+
ioPort: string | null;
|
|
1119
988
|
} | {
|
|
1120
989
|
type: "onetime";
|
|
1121
990
|
startTime: number;
|
|
@@ -1128,10 +997,6 @@ export declare const streamListSchema: z.ZodObject<{
|
|
|
1128
997
|
stopTimeS: number;
|
|
1129
998
|
isActive: boolean;
|
|
1130
999
|
}[];
|
|
1131
|
-
} | {
|
|
1132
|
-
type: "io";
|
|
1133
|
-
ioPort: string;
|
|
1134
|
-
triggerOn: "open" | "closed";
|
|
1135
1000
|
};
|
|
1136
1001
|
}, {
|
|
1137
1002
|
type: "hls";
|
|
@@ -1141,6 +1006,7 @@ export declare const streamListSchema: z.ZodObject<{
|
|
|
1141
1006
|
title: string;
|
|
1142
1007
|
trigger: {
|
|
1143
1008
|
type: "manual";
|
|
1009
|
+
ioPort: string | null;
|
|
1144
1010
|
} | {
|
|
1145
1011
|
type: "onetime";
|
|
1146
1012
|
startTime: number;
|
|
@@ -1153,10 +1019,6 @@ export declare const streamListSchema: z.ZodObject<{
|
|
|
1153
1019
|
stopTimeS: number;
|
|
1154
1020
|
isActive: boolean;
|
|
1155
1021
|
}[];
|
|
1156
|
-
} | {
|
|
1157
|
-
type: "io";
|
|
1158
|
-
ioPort: string;
|
|
1159
|
-
triggerOn: "open" | "closed";
|
|
1160
1022
|
};
|
|
1161
1023
|
}>, z.ZodObject<{
|
|
1162
1024
|
id: z.ZodNumber;
|
|
@@ -1165,10 +1027,13 @@ export declare const streamListSchema: z.ZodObject<{
|
|
|
1165
1027
|
title: z.ZodString;
|
|
1166
1028
|
trigger: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
1167
1029
|
type: z.ZodLiteral<"manual">;
|
|
1030
|
+
ioPort: z.ZodNullable<z.ZodString>;
|
|
1168
1031
|
}, "strip", z.ZodTypeAny, {
|
|
1169
1032
|
type: "manual";
|
|
1033
|
+
ioPort: string | null;
|
|
1170
1034
|
}, {
|
|
1171
1035
|
type: "manual";
|
|
1036
|
+
ioPort: string | null;
|
|
1172
1037
|
}>, z.ZodObject<{
|
|
1173
1038
|
type: z.ZodLiteral<"onetime">;
|
|
1174
1039
|
startTime: z.ZodNumber;
|
|
@@ -1215,18 +1080,6 @@ export declare const streamListSchema: z.ZodObject<{
|
|
|
1215
1080
|
stopTimeS: number;
|
|
1216
1081
|
isActive: boolean;
|
|
1217
1082
|
}[];
|
|
1218
|
-
}>, z.ZodObject<{
|
|
1219
|
-
type: z.ZodLiteral<"io">;
|
|
1220
|
-
ioPort: z.ZodString;
|
|
1221
|
-
triggerOn: z.ZodUnion<[z.ZodLiteral<"open">, z.ZodLiteral<"closed">]>;
|
|
1222
|
-
}, "strip", z.ZodTypeAny, {
|
|
1223
|
-
type: "io";
|
|
1224
|
-
ioPort: string;
|
|
1225
|
-
triggerOn: "open" | "closed";
|
|
1226
|
-
}, {
|
|
1227
|
-
type: "io";
|
|
1228
|
-
ioPort: string;
|
|
1229
|
-
triggerOn: "open" | "closed";
|
|
1230
1083
|
}>]>;
|
|
1231
1084
|
} & {
|
|
1232
1085
|
type: z.ZodLiteral<"mpeg_dvb">;
|
|
@@ -1243,7 +1096,6 @@ export declare const streamListSchema: z.ZodObject<{
|
|
|
1243
1096
|
pcrPeriodMs: z.ZodNumber;
|
|
1244
1097
|
providerName: z.ZodString;
|
|
1245
1098
|
serviceName: z.ZodString;
|
|
1246
|
-
triggerType: z.ZodEnum<["manual", "onetime", "recurrent", "io", "nonstop"]>;
|
|
1247
1099
|
statusCameraLed: z.ZodBoolean;
|
|
1248
1100
|
statusCameraOutput: z.ZodString;
|
|
1249
1101
|
saveToSdCard: z.ZodBoolean;
|
|
@@ -1256,6 +1108,7 @@ export declare const streamListSchema: z.ZodObject<{
|
|
|
1256
1108
|
title: string;
|
|
1257
1109
|
trigger: {
|
|
1258
1110
|
type: "manual";
|
|
1111
|
+
ioPort: string | null;
|
|
1259
1112
|
} | {
|
|
1260
1113
|
type: "onetime";
|
|
1261
1114
|
startTime: number;
|
|
@@ -1268,10 +1121,6 @@ export declare const streamListSchema: z.ZodObject<{
|
|
|
1268
1121
|
stopTimeS: number;
|
|
1269
1122
|
isActive: boolean;
|
|
1270
1123
|
}[];
|
|
1271
|
-
} | {
|
|
1272
|
-
type: "io";
|
|
1273
|
-
ioPort: string;
|
|
1274
|
-
triggerOn: "open" | "closed";
|
|
1275
1124
|
};
|
|
1276
1125
|
ipAddress: string;
|
|
1277
1126
|
standard: "DVB" | "ATSC";
|
|
@@ -1285,7 +1134,6 @@ export declare const streamListSchema: z.ZodObject<{
|
|
|
1285
1134
|
pcrPeriodMs: number;
|
|
1286
1135
|
providerName: string;
|
|
1287
1136
|
serviceName: string;
|
|
1288
|
-
triggerType: "manual" | "onetime" | "recurrent" | "io" | "nonstop";
|
|
1289
1137
|
statusCameraLed: boolean;
|
|
1290
1138
|
statusCameraOutput: string;
|
|
1291
1139
|
saveToSdCard: boolean;
|
|
@@ -1298,6 +1146,7 @@ export declare const streamListSchema: z.ZodObject<{
|
|
|
1298
1146
|
title: string;
|
|
1299
1147
|
trigger: {
|
|
1300
1148
|
type: "manual";
|
|
1149
|
+
ioPort: string | null;
|
|
1301
1150
|
} | {
|
|
1302
1151
|
type: "onetime";
|
|
1303
1152
|
startTime: number;
|
|
@@ -1310,10 +1159,6 @@ export declare const streamListSchema: z.ZodObject<{
|
|
|
1310
1159
|
stopTimeS: number;
|
|
1311
1160
|
isActive: boolean;
|
|
1312
1161
|
}[];
|
|
1313
|
-
} | {
|
|
1314
|
-
type: "io";
|
|
1315
|
-
ioPort: string;
|
|
1316
|
-
triggerOn: "open" | "closed";
|
|
1317
1162
|
};
|
|
1318
1163
|
ipAddress: string;
|
|
1319
1164
|
standard: "DVB" | "ATSC";
|
|
@@ -1327,7 +1172,6 @@ export declare const streamListSchema: z.ZodObject<{
|
|
|
1327
1172
|
pcrPeriodMs: number;
|
|
1328
1173
|
providerName: string;
|
|
1329
1174
|
serviceName: string;
|
|
1330
|
-
triggerType: "manual" | "onetime" | "recurrent" | "io" | "nonstop";
|
|
1331
1175
|
statusCameraLed: boolean;
|
|
1332
1176
|
statusCameraOutput: string;
|
|
1333
1177
|
saveToSdCard: boolean;
|
|
@@ -1338,10 +1182,13 @@ export declare const streamListSchema: z.ZodObject<{
|
|
|
1338
1182
|
title: z.ZodString;
|
|
1339
1183
|
trigger: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
1340
1184
|
type: z.ZodLiteral<"manual">;
|
|
1185
|
+
ioPort: z.ZodNullable<z.ZodString>;
|
|
1341
1186
|
}, "strip", z.ZodTypeAny, {
|
|
1342
1187
|
type: "manual";
|
|
1188
|
+
ioPort: string | null;
|
|
1343
1189
|
}, {
|
|
1344
1190
|
type: "manual";
|
|
1191
|
+
ioPort: string | null;
|
|
1345
1192
|
}>, z.ZodObject<{
|
|
1346
1193
|
type: z.ZodLiteral<"onetime">;
|
|
1347
1194
|
startTime: z.ZodNumber;
|
|
@@ -1388,18 +1235,6 @@ export declare const streamListSchema: z.ZodObject<{
|
|
|
1388
1235
|
stopTimeS: number;
|
|
1389
1236
|
isActive: boolean;
|
|
1390
1237
|
}[];
|
|
1391
|
-
}>, z.ZodObject<{
|
|
1392
|
-
type: z.ZodLiteral<"io">;
|
|
1393
|
-
ioPort: z.ZodString;
|
|
1394
|
-
triggerOn: z.ZodUnion<[z.ZodLiteral<"open">, z.ZodLiteral<"closed">]>;
|
|
1395
|
-
}, "strip", z.ZodTypeAny, {
|
|
1396
|
-
type: "io";
|
|
1397
|
-
ioPort: string;
|
|
1398
|
-
triggerOn: "open" | "closed";
|
|
1399
|
-
}, {
|
|
1400
|
-
type: "io";
|
|
1401
|
-
ioPort: string;
|
|
1402
|
-
triggerOn: "open" | "closed";
|
|
1403
1238
|
}>]>;
|
|
1404
1239
|
} & {
|
|
1405
1240
|
type: z.ZodLiteral<"rtmp">;
|
|
@@ -1411,6 +1246,7 @@ export declare const streamListSchema: z.ZodObject<{
|
|
|
1411
1246
|
title: string;
|
|
1412
1247
|
trigger: {
|
|
1413
1248
|
type: "manual";
|
|
1249
|
+
ioPort: string | null;
|
|
1414
1250
|
} | {
|
|
1415
1251
|
type: "onetime";
|
|
1416
1252
|
startTime: number;
|
|
@@ -1423,10 +1259,6 @@ export declare const streamListSchema: z.ZodObject<{
|
|
|
1423
1259
|
stopTimeS: number;
|
|
1424
1260
|
isActive: boolean;
|
|
1425
1261
|
}[];
|
|
1426
|
-
} | {
|
|
1427
|
-
type: "io";
|
|
1428
|
-
ioPort: string;
|
|
1429
|
-
triggerOn: "open" | "closed";
|
|
1430
1262
|
};
|
|
1431
1263
|
}, {
|
|
1432
1264
|
type: "rtmp";
|
|
@@ -1436,6 +1268,7 @@ export declare const streamListSchema: z.ZodObject<{
|
|
|
1436
1268
|
title: string;
|
|
1437
1269
|
trigger: {
|
|
1438
1270
|
type: "manual";
|
|
1271
|
+
ioPort: string | null;
|
|
1439
1272
|
} | {
|
|
1440
1273
|
type: "onetime";
|
|
1441
1274
|
startTime: number;
|
|
@@ -1448,10 +1281,6 @@ export declare const streamListSchema: z.ZodObject<{
|
|
|
1448
1281
|
stopTimeS: number;
|
|
1449
1282
|
isActive: boolean;
|
|
1450
1283
|
}[];
|
|
1451
|
-
} | {
|
|
1452
|
-
type: "io";
|
|
1453
|
-
ioPort: string;
|
|
1454
|
-
triggerOn: "open" | "closed";
|
|
1455
1284
|
};
|
|
1456
1285
|
}>, z.ZodObject<{
|
|
1457
1286
|
id: z.ZodNumber;
|
|
@@ -1460,10 +1289,13 @@ export declare const streamListSchema: z.ZodObject<{
|
|
|
1460
1289
|
title: z.ZodString;
|
|
1461
1290
|
trigger: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
1462
1291
|
type: z.ZodLiteral<"manual">;
|
|
1292
|
+
ioPort: z.ZodNullable<z.ZodString>;
|
|
1463
1293
|
}, "strip", z.ZodTypeAny, {
|
|
1464
1294
|
type: "manual";
|
|
1295
|
+
ioPort: string | null;
|
|
1465
1296
|
}, {
|
|
1466
1297
|
type: "manual";
|
|
1298
|
+
ioPort: string | null;
|
|
1467
1299
|
}>, z.ZodObject<{
|
|
1468
1300
|
type: z.ZodLiteral<"onetime">;
|
|
1469
1301
|
startTime: z.ZodNumber;
|
|
@@ -1510,18 +1342,6 @@ export declare const streamListSchema: z.ZodObject<{
|
|
|
1510
1342
|
stopTimeS: number;
|
|
1511
1343
|
isActive: boolean;
|
|
1512
1344
|
}[];
|
|
1513
|
-
}>, z.ZodObject<{
|
|
1514
|
-
type: z.ZodLiteral<"io">;
|
|
1515
|
-
ioPort: z.ZodString;
|
|
1516
|
-
triggerOn: z.ZodUnion<[z.ZodLiteral<"open">, z.ZodLiteral<"closed">]>;
|
|
1517
|
-
}, "strip", z.ZodTypeAny, {
|
|
1518
|
-
type: "io";
|
|
1519
|
-
ioPort: string;
|
|
1520
|
-
triggerOn: "open" | "closed";
|
|
1521
|
-
}, {
|
|
1522
|
-
type: "io";
|
|
1523
|
-
ioPort: string;
|
|
1524
|
-
triggerOn: "open" | "closed";
|
|
1525
1345
|
}>]>;
|
|
1526
1346
|
} & {
|
|
1527
1347
|
type: z.ZodLiteral<"sd_card">;
|
|
@@ -1533,6 +1353,7 @@ export declare const streamListSchema: z.ZodObject<{
|
|
|
1533
1353
|
title: string;
|
|
1534
1354
|
trigger: {
|
|
1535
1355
|
type: "manual";
|
|
1356
|
+
ioPort: string | null;
|
|
1536
1357
|
} | {
|
|
1537
1358
|
type: "onetime";
|
|
1538
1359
|
startTime: number;
|
|
@@ -1545,10 +1366,6 @@ export declare const streamListSchema: z.ZodObject<{
|
|
|
1545
1366
|
stopTimeS: number;
|
|
1546
1367
|
isActive: boolean;
|
|
1547
1368
|
}[];
|
|
1548
|
-
} | {
|
|
1549
|
-
type: "io";
|
|
1550
|
-
ioPort: string;
|
|
1551
|
-
triggerOn: "open" | "closed";
|
|
1552
1369
|
};
|
|
1553
1370
|
}, {
|
|
1554
1371
|
type: "sd_card";
|
|
@@ -1558,6 +1375,7 @@ export declare const streamListSchema: z.ZodObject<{
|
|
|
1558
1375
|
title: string;
|
|
1559
1376
|
trigger: {
|
|
1560
1377
|
type: "manual";
|
|
1378
|
+
ioPort: string | null;
|
|
1561
1379
|
} | {
|
|
1562
1380
|
type: "onetime";
|
|
1563
1381
|
startTime: number;
|
|
@@ -1570,10 +1388,6 @@ export declare const streamListSchema: z.ZodObject<{
|
|
|
1570
1388
|
stopTimeS: number;
|
|
1571
1389
|
isActive: boolean;
|
|
1572
1390
|
}[];
|
|
1573
|
-
} | {
|
|
1574
|
-
type: "io";
|
|
1575
|
-
ioPort: string;
|
|
1576
|
-
triggerOn: "open" | "closed";
|
|
1577
1391
|
};
|
|
1578
1392
|
}>, z.ZodObject<{
|
|
1579
1393
|
id: z.ZodNumber;
|
|
@@ -1582,10 +1396,13 @@ export declare const streamListSchema: z.ZodObject<{
|
|
|
1582
1396
|
title: z.ZodString;
|
|
1583
1397
|
trigger: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
1584
1398
|
type: z.ZodLiteral<"manual">;
|
|
1399
|
+
ioPort: z.ZodNullable<z.ZodString>;
|
|
1585
1400
|
}, "strip", z.ZodTypeAny, {
|
|
1586
1401
|
type: "manual";
|
|
1402
|
+
ioPort: string | null;
|
|
1587
1403
|
}, {
|
|
1588
1404
|
type: "manual";
|
|
1405
|
+
ioPort: string | null;
|
|
1589
1406
|
}>, z.ZodObject<{
|
|
1590
1407
|
type: z.ZodLiteral<"onetime">;
|
|
1591
1408
|
startTime: z.ZodNumber;
|
|
@@ -1632,18 +1449,6 @@ export declare const streamListSchema: z.ZodObject<{
|
|
|
1632
1449
|
stopTimeS: number;
|
|
1633
1450
|
isActive: boolean;
|
|
1634
1451
|
}[];
|
|
1635
|
-
}>, z.ZodObject<{
|
|
1636
|
-
type: z.ZodLiteral<"io">;
|
|
1637
|
-
ioPort: z.ZodString;
|
|
1638
|
-
triggerOn: z.ZodUnion<[z.ZodLiteral<"open">, z.ZodLiteral<"closed">]>;
|
|
1639
|
-
}, "strip", z.ZodTypeAny, {
|
|
1640
|
-
type: "io";
|
|
1641
|
-
ioPort: string;
|
|
1642
|
-
triggerOn: "open" | "closed";
|
|
1643
|
-
}, {
|
|
1644
|
-
type: "io";
|
|
1645
|
-
ioPort: string;
|
|
1646
|
-
triggerOn: "open" | "closed";
|
|
1647
1452
|
}>]>;
|
|
1648
1453
|
} & {
|
|
1649
1454
|
type: z.ZodLiteral<"windy">;
|
|
@@ -1655,6 +1460,7 @@ export declare const streamListSchema: z.ZodObject<{
|
|
|
1655
1460
|
title: string;
|
|
1656
1461
|
trigger: {
|
|
1657
1462
|
type: "manual";
|
|
1463
|
+
ioPort: string | null;
|
|
1658
1464
|
} | {
|
|
1659
1465
|
type: "onetime";
|
|
1660
1466
|
startTime: number;
|
|
@@ -1667,10 +1473,6 @@ export declare const streamListSchema: z.ZodObject<{
|
|
|
1667
1473
|
stopTimeS: number;
|
|
1668
1474
|
isActive: boolean;
|
|
1669
1475
|
}[];
|
|
1670
|
-
} | {
|
|
1671
|
-
type: "io";
|
|
1672
|
-
ioPort: string;
|
|
1673
|
-
triggerOn: "open" | "closed";
|
|
1674
1476
|
};
|
|
1675
1477
|
}, {
|
|
1676
1478
|
type: "windy";
|
|
@@ -1680,6 +1482,7 @@ export declare const streamListSchema: z.ZodObject<{
|
|
|
1680
1482
|
title: string;
|
|
1681
1483
|
trigger: {
|
|
1682
1484
|
type: "manual";
|
|
1485
|
+
ioPort: string | null;
|
|
1683
1486
|
} | {
|
|
1684
1487
|
type: "onetime";
|
|
1685
1488
|
startTime: number;
|
|
@@ -1692,10 +1495,6 @@ export declare const streamListSchema: z.ZodObject<{
|
|
|
1692
1495
|
stopTimeS: number;
|
|
1693
1496
|
isActive: boolean;
|
|
1694
1497
|
}[];
|
|
1695
|
-
} | {
|
|
1696
|
-
type: "io";
|
|
1697
|
-
ioPort: string;
|
|
1698
|
-
triggerOn: "open" | "closed";
|
|
1699
1498
|
};
|
|
1700
1499
|
}>, z.ZodObject<{
|
|
1701
1500
|
id: z.ZodNumber;
|
|
@@ -1704,10 +1503,13 @@ export declare const streamListSchema: z.ZodObject<{
|
|
|
1704
1503
|
title: z.ZodString;
|
|
1705
1504
|
trigger: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
1706
1505
|
type: z.ZodLiteral<"manual">;
|
|
1506
|
+
ioPort: z.ZodNullable<z.ZodString>;
|
|
1707
1507
|
}, "strip", z.ZodTypeAny, {
|
|
1708
1508
|
type: "manual";
|
|
1509
|
+
ioPort: string | null;
|
|
1709
1510
|
}, {
|
|
1710
1511
|
type: "manual";
|
|
1512
|
+
ioPort: string | null;
|
|
1711
1513
|
}>, z.ZodObject<{
|
|
1712
1514
|
type: z.ZodLiteral<"onetime">;
|
|
1713
1515
|
startTime: z.ZodNumber;
|
|
@@ -1754,18 +1556,6 @@ export declare const streamListSchema: z.ZodObject<{
|
|
|
1754
1556
|
stopTimeS: number;
|
|
1755
1557
|
isActive: boolean;
|
|
1756
1558
|
}[];
|
|
1757
|
-
}>, z.ZodObject<{
|
|
1758
|
-
type: z.ZodLiteral<"io">;
|
|
1759
|
-
ioPort: z.ZodString;
|
|
1760
|
-
triggerOn: z.ZodUnion<[z.ZodLiteral<"open">, z.ZodLiteral<"closed">]>;
|
|
1761
|
-
}, "strip", z.ZodTypeAny, {
|
|
1762
|
-
type: "io";
|
|
1763
|
-
ioPort: string;
|
|
1764
|
-
triggerOn: "open" | "closed";
|
|
1765
|
-
}, {
|
|
1766
|
-
type: "io";
|
|
1767
|
-
ioPort: string;
|
|
1768
|
-
triggerOn: "open" | "closed";
|
|
1769
1559
|
}>]>;
|
|
1770
1560
|
} & {
|
|
1771
1561
|
type: z.ZodLiteral<"youtube">;
|
|
@@ -1777,6 +1567,7 @@ export declare const streamListSchema: z.ZodObject<{
|
|
|
1777
1567
|
title: string;
|
|
1778
1568
|
trigger: {
|
|
1779
1569
|
type: "manual";
|
|
1570
|
+
ioPort: string | null;
|
|
1780
1571
|
} | {
|
|
1781
1572
|
type: "onetime";
|
|
1782
1573
|
startTime: number;
|
|
@@ -1789,10 +1580,6 @@ export declare const streamListSchema: z.ZodObject<{
|
|
|
1789
1580
|
stopTimeS: number;
|
|
1790
1581
|
isActive: boolean;
|
|
1791
1582
|
}[];
|
|
1792
|
-
} | {
|
|
1793
|
-
type: "io";
|
|
1794
|
-
ioPort: string;
|
|
1795
|
-
triggerOn: "open" | "closed";
|
|
1796
1583
|
};
|
|
1797
1584
|
}, {
|
|
1798
1585
|
type: "youtube";
|
|
@@ -1802,6 +1589,7 @@ export declare const streamListSchema: z.ZodObject<{
|
|
|
1802
1589
|
title: string;
|
|
1803
1590
|
trigger: {
|
|
1804
1591
|
type: "manual";
|
|
1592
|
+
ioPort: string | null;
|
|
1805
1593
|
} | {
|
|
1806
1594
|
type: "onetime";
|
|
1807
1595
|
startTime: number;
|
|
@@ -1814,10 +1602,6 @@ export declare const streamListSchema: z.ZodObject<{
|
|
|
1814
1602
|
stopTimeS: number;
|
|
1815
1603
|
isActive: boolean;
|
|
1816
1604
|
}[];
|
|
1817
|
-
} | {
|
|
1818
|
-
type: "io";
|
|
1819
|
-
ioPort: string;
|
|
1820
|
-
triggerOn: "open" | "closed";
|
|
1821
1605
|
};
|
|
1822
1606
|
}>]>, "many">;
|
|
1823
1607
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -1829,6 +1613,7 @@ export declare const streamListSchema: z.ZodObject<{
|
|
|
1829
1613
|
title: string;
|
|
1830
1614
|
trigger: {
|
|
1831
1615
|
type: "manual";
|
|
1616
|
+
ioPort: string | null;
|
|
1832
1617
|
} | {
|
|
1833
1618
|
type: "onetime";
|
|
1834
1619
|
startTime: number;
|
|
@@ -1841,10 +1626,6 @@ export declare const streamListSchema: z.ZodObject<{
|
|
|
1841
1626
|
stopTimeS: number;
|
|
1842
1627
|
isActive: boolean;
|
|
1843
1628
|
}[];
|
|
1844
|
-
} | {
|
|
1845
|
-
type: "io";
|
|
1846
|
-
ioPort: string;
|
|
1847
|
-
triggerOn: "open" | "closed";
|
|
1848
1629
|
};
|
|
1849
1630
|
} | {
|
|
1850
1631
|
type: "hls";
|
|
@@ -1854,6 +1635,7 @@ export declare const streamListSchema: z.ZodObject<{
|
|
|
1854
1635
|
title: string;
|
|
1855
1636
|
trigger: {
|
|
1856
1637
|
type: "manual";
|
|
1638
|
+
ioPort: string | null;
|
|
1857
1639
|
} | {
|
|
1858
1640
|
type: "onetime";
|
|
1859
1641
|
startTime: number;
|
|
@@ -1866,10 +1648,6 @@ export declare const streamListSchema: z.ZodObject<{
|
|
|
1866
1648
|
stopTimeS: number;
|
|
1867
1649
|
isActive: boolean;
|
|
1868
1650
|
}[];
|
|
1869
|
-
} | {
|
|
1870
|
-
type: "io";
|
|
1871
|
-
ioPort: string;
|
|
1872
|
-
triggerOn: "open" | "closed";
|
|
1873
1651
|
};
|
|
1874
1652
|
} | {
|
|
1875
1653
|
type: "mpeg_dvb";
|
|
@@ -1880,6 +1658,7 @@ export declare const streamListSchema: z.ZodObject<{
|
|
|
1880
1658
|
title: string;
|
|
1881
1659
|
trigger: {
|
|
1882
1660
|
type: "manual";
|
|
1661
|
+
ioPort: string | null;
|
|
1883
1662
|
} | {
|
|
1884
1663
|
type: "onetime";
|
|
1885
1664
|
startTime: number;
|
|
@@ -1892,10 +1671,6 @@ export declare const streamListSchema: z.ZodObject<{
|
|
|
1892
1671
|
stopTimeS: number;
|
|
1893
1672
|
isActive: boolean;
|
|
1894
1673
|
}[];
|
|
1895
|
-
} | {
|
|
1896
|
-
type: "io";
|
|
1897
|
-
ioPort: string;
|
|
1898
|
-
triggerOn: "open" | "closed";
|
|
1899
1674
|
};
|
|
1900
1675
|
ipAddress: string;
|
|
1901
1676
|
standard: "DVB" | "ATSC";
|
|
@@ -1909,7 +1684,6 @@ export declare const streamListSchema: z.ZodObject<{
|
|
|
1909
1684
|
pcrPeriodMs: number;
|
|
1910
1685
|
providerName: string;
|
|
1911
1686
|
serviceName: string;
|
|
1912
|
-
triggerType: "manual" | "onetime" | "recurrent" | "io" | "nonstop";
|
|
1913
1687
|
statusCameraLed: boolean;
|
|
1914
1688
|
statusCameraOutput: string;
|
|
1915
1689
|
saveToSdCard: boolean;
|
|
@@ -1921,6 +1695,7 @@ export declare const streamListSchema: z.ZodObject<{
|
|
|
1921
1695
|
title: string;
|
|
1922
1696
|
trigger: {
|
|
1923
1697
|
type: "manual";
|
|
1698
|
+
ioPort: string | null;
|
|
1924
1699
|
} | {
|
|
1925
1700
|
type: "onetime";
|
|
1926
1701
|
startTime: number;
|
|
@@ -1933,10 +1708,6 @@ export declare const streamListSchema: z.ZodObject<{
|
|
|
1933
1708
|
stopTimeS: number;
|
|
1934
1709
|
isActive: boolean;
|
|
1935
1710
|
}[];
|
|
1936
|
-
} | {
|
|
1937
|
-
type: "io";
|
|
1938
|
-
ioPort: string;
|
|
1939
|
-
triggerOn: "open" | "closed";
|
|
1940
1711
|
};
|
|
1941
1712
|
} | {
|
|
1942
1713
|
type: "sd_card";
|
|
@@ -1946,6 +1717,7 @@ export declare const streamListSchema: z.ZodObject<{
|
|
|
1946
1717
|
title: string;
|
|
1947
1718
|
trigger: {
|
|
1948
1719
|
type: "manual";
|
|
1720
|
+
ioPort: string | null;
|
|
1949
1721
|
} | {
|
|
1950
1722
|
type: "onetime";
|
|
1951
1723
|
startTime: number;
|
|
@@ -1958,10 +1730,6 @@ export declare const streamListSchema: z.ZodObject<{
|
|
|
1958
1730
|
stopTimeS: number;
|
|
1959
1731
|
isActive: boolean;
|
|
1960
1732
|
}[];
|
|
1961
|
-
} | {
|
|
1962
|
-
type: "io";
|
|
1963
|
-
ioPort: string;
|
|
1964
|
-
triggerOn: "open" | "closed";
|
|
1965
1733
|
};
|
|
1966
1734
|
} | {
|
|
1967
1735
|
type: "windy";
|
|
@@ -1971,6 +1739,7 @@ export declare const streamListSchema: z.ZodObject<{
|
|
|
1971
1739
|
title: string;
|
|
1972
1740
|
trigger: {
|
|
1973
1741
|
type: "manual";
|
|
1742
|
+
ioPort: string | null;
|
|
1974
1743
|
} | {
|
|
1975
1744
|
type: "onetime";
|
|
1976
1745
|
startTime: number;
|
|
@@ -1983,10 +1752,6 @@ export declare const streamListSchema: z.ZodObject<{
|
|
|
1983
1752
|
stopTimeS: number;
|
|
1984
1753
|
isActive: boolean;
|
|
1985
1754
|
}[];
|
|
1986
|
-
} | {
|
|
1987
|
-
type: "io";
|
|
1988
|
-
ioPort: string;
|
|
1989
|
-
triggerOn: "open" | "closed";
|
|
1990
1755
|
};
|
|
1991
1756
|
} | {
|
|
1992
1757
|
type: "youtube";
|
|
@@ -1996,6 +1761,7 @@ export declare const streamListSchema: z.ZodObject<{
|
|
|
1996
1761
|
title: string;
|
|
1997
1762
|
trigger: {
|
|
1998
1763
|
type: "manual";
|
|
1764
|
+
ioPort: string | null;
|
|
1999
1765
|
} | {
|
|
2000
1766
|
type: "onetime";
|
|
2001
1767
|
startTime: number;
|
|
@@ -2008,10 +1774,6 @@ export declare const streamListSchema: z.ZodObject<{
|
|
|
2008
1774
|
stopTimeS: number;
|
|
2009
1775
|
isActive: boolean;
|
|
2010
1776
|
}[];
|
|
2011
|
-
} | {
|
|
2012
|
-
type: "io";
|
|
2013
|
-
ioPort: string;
|
|
2014
|
-
triggerOn: "open" | "closed";
|
|
2015
1777
|
};
|
|
2016
1778
|
})[];
|
|
2017
1779
|
}, {
|
|
@@ -2023,6 +1785,7 @@ export declare const streamListSchema: z.ZodObject<{
|
|
|
2023
1785
|
title: string;
|
|
2024
1786
|
trigger: {
|
|
2025
1787
|
type: "manual";
|
|
1788
|
+
ioPort: string | null;
|
|
2026
1789
|
} | {
|
|
2027
1790
|
type: "onetime";
|
|
2028
1791
|
startTime: number;
|
|
@@ -2035,10 +1798,6 @@ export declare const streamListSchema: z.ZodObject<{
|
|
|
2035
1798
|
stopTimeS: number;
|
|
2036
1799
|
isActive: boolean;
|
|
2037
1800
|
}[];
|
|
2038
|
-
} | {
|
|
2039
|
-
type: "io";
|
|
2040
|
-
ioPort: string;
|
|
2041
|
-
triggerOn: "open" | "closed";
|
|
2042
1801
|
};
|
|
2043
1802
|
} | {
|
|
2044
1803
|
type: "hls";
|
|
@@ -2048,6 +1807,7 @@ export declare const streamListSchema: z.ZodObject<{
|
|
|
2048
1807
|
title: string;
|
|
2049
1808
|
trigger: {
|
|
2050
1809
|
type: "manual";
|
|
1810
|
+
ioPort: string | null;
|
|
2051
1811
|
} | {
|
|
2052
1812
|
type: "onetime";
|
|
2053
1813
|
startTime: number;
|
|
@@ -2060,10 +1820,6 @@ export declare const streamListSchema: z.ZodObject<{
|
|
|
2060
1820
|
stopTimeS: number;
|
|
2061
1821
|
isActive: boolean;
|
|
2062
1822
|
}[];
|
|
2063
|
-
} | {
|
|
2064
|
-
type: "io";
|
|
2065
|
-
ioPort: string;
|
|
2066
|
-
triggerOn: "open" | "closed";
|
|
2067
1823
|
};
|
|
2068
1824
|
} | {
|
|
2069
1825
|
type: "mpeg_dvb";
|
|
@@ -2074,6 +1830,7 @@ export declare const streamListSchema: z.ZodObject<{
|
|
|
2074
1830
|
title: string;
|
|
2075
1831
|
trigger: {
|
|
2076
1832
|
type: "manual";
|
|
1833
|
+
ioPort: string | null;
|
|
2077
1834
|
} | {
|
|
2078
1835
|
type: "onetime";
|
|
2079
1836
|
startTime: number;
|
|
@@ -2086,10 +1843,6 @@ export declare const streamListSchema: z.ZodObject<{
|
|
|
2086
1843
|
stopTimeS: number;
|
|
2087
1844
|
isActive: boolean;
|
|
2088
1845
|
}[];
|
|
2089
|
-
} | {
|
|
2090
|
-
type: "io";
|
|
2091
|
-
ioPort: string;
|
|
2092
|
-
triggerOn: "open" | "closed";
|
|
2093
1846
|
};
|
|
2094
1847
|
ipAddress: string;
|
|
2095
1848
|
standard: "DVB" | "ATSC";
|
|
@@ -2103,7 +1856,6 @@ export declare const streamListSchema: z.ZodObject<{
|
|
|
2103
1856
|
pcrPeriodMs: number;
|
|
2104
1857
|
providerName: string;
|
|
2105
1858
|
serviceName: string;
|
|
2106
|
-
triggerType: "manual" | "onetime" | "recurrent" | "io" | "nonstop";
|
|
2107
1859
|
statusCameraLed: boolean;
|
|
2108
1860
|
statusCameraOutput: string;
|
|
2109
1861
|
saveToSdCard: boolean;
|
|
@@ -2115,6 +1867,7 @@ export declare const streamListSchema: z.ZodObject<{
|
|
|
2115
1867
|
title: string;
|
|
2116
1868
|
trigger: {
|
|
2117
1869
|
type: "manual";
|
|
1870
|
+
ioPort: string | null;
|
|
2118
1871
|
} | {
|
|
2119
1872
|
type: "onetime";
|
|
2120
1873
|
startTime: number;
|
|
@@ -2127,10 +1880,6 @@ export declare const streamListSchema: z.ZodObject<{
|
|
|
2127
1880
|
stopTimeS: number;
|
|
2128
1881
|
isActive: boolean;
|
|
2129
1882
|
}[];
|
|
2130
|
-
} | {
|
|
2131
|
-
type: "io";
|
|
2132
|
-
ioPort: string;
|
|
2133
|
-
triggerOn: "open" | "closed";
|
|
2134
1883
|
};
|
|
2135
1884
|
} | {
|
|
2136
1885
|
type: "sd_card";
|
|
@@ -2140,6 +1889,7 @@ export declare const streamListSchema: z.ZodObject<{
|
|
|
2140
1889
|
title: string;
|
|
2141
1890
|
trigger: {
|
|
2142
1891
|
type: "manual";
|
|
1892
|
+
ioPort: string | null;
|
|
2143
1893
|
} | {
|
|
2144
1894
|
type: "onetime";
|
|
2145
1895
|
startTime: number;
|
|
@@ -2152,10 +1902,6 @@ export declare const streamListSchema: z.ZodObject<{
|
|
|
2152
1902
|
stopTimeS: number;
|
|
2153
1903
|
isActive: boolean;
|
|
2154
1904
|
}[];
|
|
2155
|
-
} | {
|
|
2156
|
-
type: "io";
|
|
2157
|
-
ioPort: string;
|
|
2158
|
-
triggerOn: "open" | "closed";
|
|
2159
1905
|
};
|
|
2160
1906
|
} | {
|
|
2161
1907
|
type: "windy";
|
|
@@ -2165,6 +1911,7 @@ export declare const streamListSchema: z.ZodObject<{
|
|
|
2165
1911
|
title: string;
|
|
2166
1912
|
trigger: {
|
|
2167
1913
|
type: "manual";
|
|
1914
|
+
ioPort: string | null;
|
|
2168
1915
|
} | {
|
|
2169
1916
|
type: "onetime";
|
|
2170
1917
|
startTime: number;
|
|
@@ -2177,10 +1924,6 @@ export declare const streamListSchema: z.ZodObject<{
|
|
|
2177
1924
|
stopTimeS: number;
|
|
2178
1925
|
isActive: boolean;
|
|
2179
1926
|
}[];
|
|
2180
|
-
} | {
|
|
2181
|
-
type: "io";
|
|
2182
|
-
ioPort: string;
|
|
2183
|
-
triggerOn: "open" | "closed";
|
|
2184
1927
|
};
|
|
2185
1928
|
} | {
|
|
2186
1929
|
type: "youtube";
|
|
@@ -2190,6 +1933,7 @@ export declare const streamListSchema: z.ZodObject<{
|
|
|
2190
1933
|
title: string;
|
|
2191
1934
|
trigger: {
|
|
2192
1935
|
type: "manual";
|
|
1936
|
+
ioPort: string | null;
|
|
2193
1937
|
} | {
|
|
2194
1938
|
type: "onetime";
|
|
2195
1939
|
startTime: number;
|
|
@@ -2202,10 +1946,6 @@ export declare const streamListSchema: z.ZodObject<{
|
|
|
2202
1946
|
stopTimeS: number;
|
|
2203
1947
|
isActive: boolean;
|
|
2204
1948
|
}[];
|
|
2205
|
-
} | {
|
|
2206
|
-
type: "io";
|
|
2207
|
-
ioPort: string;
|
|
2208
|
-
triggerOn: "open" | "closed";
|
|
2209
1949
|
};
|
|
2210
1950
|
})[];
|
|
2211
1951
|
}>;
|
|
@@ -2219,6 +1959,7 @@ export declare const isFacebookStream: (stream: TStream) => stream is {
|
|
|
2219
1959
|
title: string;
|
|
2220
1960
|
trigger: {
|
|
2221
1961
|
type: "manual";
|
|
1962
|
+
ioPort: string | null;
|
|
2222
1963
|
} | {
|
|
2223
1964
|
type: "onetime";
|
|
2224
1965
|
startTime: number;
|
|
@@ -2231,10 +1972,6 @@ export declare const isFacebookStream: (stream: TStream) => stream is {
|
|
|
2231
1972
|
stopTimeS: number;
|
|
2232
1973
|
isActive: boolean;
|
|
2233
1974
|
}[];
|
|
2234
|
-
} | {
|
|
2235
|
-
type: "io";
|
|
2236
|
-
ioPort: string;
|
|
2237
|
-
triggerOn: "open" | "closed";
|
|
2238
1975
|
};
|
|
2239
1976
|
};
|
|
2240
1977
|
export type THlsStream = z.infer<typeof hlsSchema>;
|
|
@@ -2246,6 +1983,7 @@ export declare const isHlsStream: (stream: TStream) => stream is {
|
|
|
2246
1983
|
title: string;
|
|
2247
1984
|
trigger: {
|
|
2248
1985
|
type: "manual";
|
|
1986
|
+
ioPort: string | null;
|
|
2249
1987
|
} | {
|
|
2250
1988
|
type: "onetime";
|
|
2251
1989
|
startTime: number;
|
|
@@ -2258,10 +1996,6 @@ export declare const isHlsStream: (stream: TStream) => stream is {
|
|
|
2258
1996
|
stopTimeS: number;
|
|
2259
1997
|
isActive: boolean;
|
|
2260
1998
|
}[];
|
|
2261
|
-
} | {
|
|
2262
|
-
type: "io";
|
|
2263
|
-
ioPort: string;
|
|
2264
|
-
triggerOn: "open" | "closed";
|
|
2265
1999
|
};
|
|
2266
2000
|
};
|
|
2267
2001
|
export type TMpegDvbStream = z.infer<typeof mpegDvbSchema>;
|
|
@@ -2274,6 +2008,7 @@ export declare const isMpegDvbStream: (stream: TStream) => stream is {
|
|
|
2274
2008
|
title: string;
|
|
2275
2009
|
trigger: {
|
|
2276
2010
|
type: "manual";
|
|
2011
|
+
ioPort: string | null;
|
|
2277
2012
|
} | {
|
|
2278
2013
|
type: "onetime";
|
|
2279
2014
|
startTime: number;
|
|
@@ -2286,10 +2021,6 @@ export declare const isMpegDvbStream: (stream: TStream) => stream is {
|
|
|
2286
2021
|
stopTimeS: number;
|
|
2287
2022
|
isActive: boolean;
|
|
2288
2023
|
}[];
|
|
2289
|
-
} | {
|
|
2290
|
-
type: "io";
|
|
2291
|
-
ioPort: string;
|
|
2292
|
-
triggerOn: "open" | "closed";
|
|
2293
2024
|
};
|
|
2294
2025
|
ipAddress: string;
|
|
2295
2026
|
standard: "DVB" | "ATSC";
|
|
@@ -2303,7 +2034,6 @@ export declare const isMpegDvbStream: (stream: TStream) => stream is {
|
|
|
2303
2034
|
pcrPeriodMs: number;
|
|
2304
2035
|
providerName: string;
|
|
2305
2036
|
serviceName: string;
|
|
2306
|
-
triggerType: "manual" | "onetime" | "recurrent" | "io" | "nonstop";
|
|
2307
2037
|
statusCameraLed: boolean;
|
|
2308
2038
|
statusCameraOutput: string;
|
|
2309
2039
|
saveToSdCard: boolean;
|
|
@@ -2317,6 +2047,7 @@ export declare const isRtmpStream: (stream: TStream) => stream is {
|
|
|
2317
2047
|
title: string;
|
|
2318
2048
|
trigger: {
|
|
2319
2049
|
type: "manual";
|
|
2050
|
+
ioPort: string | null;
|
|
2320
2051
|
} | {
|
|
2321
2052
|
type: "onetime";
|
|
2322
2053
|
startTime: number;
|
|
@@ -2329,10 +2060,6 @@ export declare const isRtmpStream: (stream: TStream) => stream is {
|
|
|
2329
2060
|
stopTimeS: number;
|
|
2330
2061
|
isActive: boolean;
|
|
2331
2062
|
}[];
|
|
2332
|
-
} | {
|
|
2333
|
-
type: "io";
|
|
2334
|
-
ioPort: string;
|
|
2335
|
-
triggerOn: "open" | "closed";
|
|
2336
2063
|
};
|
|
2337
2064
|
};
|
|
2338
2065
|
export type TSdCardStream = z.infer<typeof sdCardSchema>;
|
|
@@ -2344,6 +2071,7 @@ export declare const isSdCardStream: (stream: TStream) => stream is {
|
|
|
2344
2071
|
title: string;
|
|
2345
2072
|
trigger: {
|
|
2346
2073
|
type: "manual";
|
|
2074
|
+
ioPort: string | null;
|
|
2347
2075
|
} | {
|
|
2348
2076
|
type: "onetime";
|
|
2349
2077
|
startTime: number;
|
|
@@ -2356,10 +2084,6 @@ export declare const isSdCardStream: (stream: TStream) => stream is {
|
|
|
2356
2084
|
stopTimeS: number;
|
|
2357
2085
|
isActive: boolean;
|
|
2358
2086
|
}[];
|
|
2359
|
-
} | {
|
|
2360
|
-
type: "io";
|
|
2361
|
-
ioPort: string;
|
|
2362
|
-
triggerOn: "open" | "closed";
|
|
2363
2087
|
};
|
|
2364
2088
|
};
|
|
2365
2089
|
export type TWindyStream = z.infer<typeof windySchema>;
|
|
@@ -2371,6 +2095,7 @@ export declare const isWindyStream: (stream: TStream) => stream is {
|
|
|
2371
2095
|
title: string;
|
|
2372
2096
|
trigger: {
|
|
2373
2097
|
type: "manual";
|
|
2098
|
+
ioPort: string | null;
|
|
2374
2099
|
} | {
|
|
2375
2100
|
type: "onetime";
|
|
2376
2101
|
startTime: number;
|
|
@@ -2383,10 +2108,6 @@ export declare const isWindyStream: (stream: TStream) => stream is {
|
|
|
2383
2108
|
stopTimeS: number;
|
|
2384
2109
|
isActive: boolean;
|
|
2385
2110
|
}[];
|
|
2386
|
-
} | {
|
|
2387
|
-
type: "io";
|
|
2388
|
-
ioPort: string;
|
|
2389
|
-
triggerOn: "open" | "closed";
|
|
2390
2111
|
};
|
|
2391
2112
|
};
|
|
2392
2113
|
export type TYouTubeStream = z.infer<typeof youtubeSchema>;
|
|
@@ -2398,6 +2119,7 @@ export declare const isYouTubeStream: (stream: TStream) => stream is {
|
|
|
2398
2119
|
title: string;
|
|
2399
2120
|
trigger: {
|
|
2400
2121
|
type: "manual";
|
|
2122
|
+
ioPort: string | null;
|
|
2401
2123
|
} | {
|
|
2402
2124
|
type: "onetime";
|
|
2403
2125
|
startTime: number;
|
|
@@ -2410,10 +2132,6 @@ export declare const isYouTubeStream: (stream: TStream) => stream is {
|
|
|
2410
2132
|
stopTimeS: number;
|
|
2411
2133
|
isActive: boolean;
|
|
2412
2134
|
}[];
|
|
2413
|
-
} | {
|
|
2414
|
-
type: "io";
|
|
2415
|
-
ioPort: string;
|
|
2416
|
-
triggerOn: "open" | "closed";
|
|
2417
2135
|
};
|
|
2418
2136
|
};
|
|
2419
2137
|
export declare enum AudioType {
|