camstreamerlib 4.0.0-beta.95 → 4.0.0-beta.96

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.
Files changed (35) hide show
  1. package/cjs/CamOverlayAPI.d.ts +4 -4
  2. package/cjs/CamStreamerAPI.d.ts +210 -30
  3. package/cjs/types/CamOverlayAPI/CamOverlayAPI.d.ts +22 -22
  4. package/cjs/types/CamOverlayAPI/customGraphicsSchema.d.ts +12 -12
  5. package/cjs/types/CamOverlayAPI/scoreBoardSchema.d.ts +2 -2
  6. package/cjs/types/CamStreamerAPI/CamStreamerAPI.d.ts +1337 -135
  7. package/cjs/types/CamStreamerAPI/facebookSchema.d.ts +73 -0
  8. package/cjs/types/CamStreamerAPI/hlsSchema.d.ts +73 -0
  9. package/cjs/types/CamStreamerAPI/mpegDvbSchema.d.ts +73 -0
  10. package/cjs/types/CamStreamerAPI/oldStreamSchema.d.ts +6 -6
  11. package/cjs/types/CamStreamerAPI/rtmpSchema.d.ts +73 -0
  12. package/cjs/types/CamStreamerAPI/sdCardSchema.d.ts +73 -0
  13. package/cjs/types/CamStreamerAPI/streamCommonTypes.d.ts +118 -0
  14. package/cjs/types/CamStreamerAPI/streamCommonTypes.js +19 -1
  15. package/cjs/types/CamStreamerAPI/windySchema.d.ts +73 -0
  16. package/cjs/types/CamStreamerAPI/youtubeSchema.d.ts +73 -45
  17. package/cjs/types/CamStreamerAPI/youtubeSchema.js +0 -15
  18. package/esm/types/CamStreamerAPI/streamCommonTypes.js +18 -0
  19. package/esm/types/CamStreamerAPI/youtubeSchema.js +0 -15
  20. package/package.json +1 -1
  21. package/types/CamOverlayAPI.d.ts +4 -4
  22. package/types/CamStreamerAPI.d.ts +210 -30
  23. package/types/types/CamOverlayAPI/CamOverlayAPI.d.ts +22 -22
  24. package/types/types/CamOverlayAPI/customGraphicsSchema.d.ts +12 -12
  25. package/types/types/CamOverlayAPI/scoreBoardSchema.d.ts +2 -2
  26. package/types/types/CamStreamerAPI/CamStreamerAPI.d.ts +1337 -135
  27. package/types/types/CamStreamerAPI/facebookSchema.d.ts +73 -0
  28. package/types/types/CamStreamerAPI/hlsSchema.d.ts +73 -0
  29. package/types/types/CamStreamerAPI/mpegDvbSchema.d.ts +73 -0
  30. package/types/types/CamStreamerAPI/oldStreamSchema.d.ts +6 -6
  31. package/types/types/CamStreamerAPI/rtmpSchema.d.ts +73 -0
  32. package/types/types/CamStreamerAPI/sdCardSchema.d.ts +73 -0
  33. package/types/types/CamStreamerAPI/streamCommonTypes.d.ts +118 -0
  34. package/types/types/CamStreamerAPI/windySchema.d.ts +73 -0
  35. package/types/types/CamStreamerAPI/youtubeSchema.d.ts +73 -45
@@ -104,10 +104,68 @@ export declare const streamSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<
104
104
  isActive: boolean;
105
105
  }[];
106
106
  }>]>;
107
+ audio: z.ZodDiscriminatedUnion<"source", [z.ZodObject<{
108
+ source: z.ZodLiteral<"none">;
109
+ }, "strip", z.ZodTypeAny, {
110
+ source: "none";
111
+ }, {
112
+ source: "none";
113
+ }>, z.ZodObject<{
114
+ source: z.ZodLiteral<"microphone">;
115
+ channel: z.ZodNumber;
116
+ }, "strip", z.ZodTypeAny, {
117
+ channel: number;
118
+ source: "microphone";
119
+ }, {
120
+ channel: number;
121
+ source: "microphone";
122
+ }>, z.ZodObject<{
123
+ source: z.ZodLiteral<"file">;
124
+ fileName: z.ZodString;
125
+ filePath: z.ZodString;
126
+ }, "strip", z.ZodTypeAny, {
127
+ source: "file";
128
+ fileName: string;
129
+ filePath: string;
130
+ }, {
131
+ source: "file";
132
+ fileName: string;
133
+ filePath: string;
134
+ }>, z.ZodObject<{
135
+ source: z.ZodLiteral<"url">;
136
+ fileName: z.ZodString;
137
+ fileUrl: z.ZodString;
138
+ avSyncMsec: z.ZodNumber;
139
+ }, "strip", z.ZodTypeAny, {
140
+ source: "url";
141
+ fileName: string;
142
+ fileUrl: string;
143
+ avSyncMsec: number;
144
+ }, {
145
+ source: "url";
146
+ fileName: string;
147
+ fileUrl: string;
148
+ avSyncMsec: number;
149
+ }>]>;
107
150
  } & {
108
151
  type: z.ZodLiteral<"facebook">;
109
152
  }, "strip", z.ZodTypeAny, {
110
153
  type: "facebook";
154
+ audio: {
155
+ source: "none";
156
+ } | {
157
+ channel: number;
158
+ source: "microphone";
159
+ } | {
160
+ source: "file";
161
+ fileName: string;
162
+ filePath: string;
163
+ } | {
164
+ source: "url";
165
+ fileName: string;
166
+ fileUrl: string;
167
+ avSyncMsec: number;
168
+ };
111
169
  enabled: boolean;
112
170
  id: number;
113
171
  active: boolean;
@@ -135,6 +193,21 @@ export declare const streamSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<
135
193
  };
136
194
  }, {
137
195
  type: "facebook";
196
+ audio: {
197
+ source: "none";
198
+ } | {
199
+ channel: number;
200
+ source: "microphone";
201
+ } | {
202
+ source: "file";
203
+ fileName: string;
204
+ filePath: string;
205
+ } | {
206
+ source: "url";
207
+ fileName: string;
208
+ fileUrl: string;
209
+ avSyncMsec: number;
210
+ };
138
211
  enabled: boolean;
139
212
  id: number;
140
213
  active: boolean;
@@ -258,10 +331,68 @@ export declare const streamSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<
258
331
  isActive: boolean;
259
332
  }[];
260
333
  }>]>;
334
+ audio: z.ZodDiscriminatedUnion<"source", [z.ZodObject<{
335
+ source: z.ZodLiteral<"none">;
336
+ }, "strip", z.ZodTypeAny, {
337
+ source: "none";
338
+ }, {
339
+ source: "none";
340
+ }>, z.ZodObject<{
341
+ source: z.ZodLiteral<"microphone">;
342
+ channel: z.ZodNumber;
343
+ }, "strip", z.ZodTypeAny, {
344
+ channel: number;
345
+ source: "microphone";
346
+ }, {
347
+ channel: number;
348
+ source: "microphone";
349
+ }>, z.ZodObject<{
350
+ source: z.ZodLiteral<"file">;
351
+ fileName: z.ZodString;
352
+ filePath: z.ZodString;
353
+ }, "strip", z.ZodTypeAny, {
354
+ source: "file";
355
+ fileName: string;
356
+ filePath: string;
357
+ }, {
358
+ source: "file";
359
+ fileName: string;
360
+ filePath: string;
361
+ }>, z.ZodObject<{
362
+ source: z.ZodLiteral<"url">;
363
+ fileName: z.ZodString;
364
+ fileUrl: z.ZodString;
365
+ avSyncMsec: z.ZodNumber;
366
+ }, "strip", z.ZodTypeAny, {
367
+ source: "url";
368
+ fileName: string;
369
+ fileUrl: string;
370
+ avSyncMsec: number;
371
+ }, {
372
+ source: "url";
373
+ fileName: string;
374
+ fileUrl: string;
375
+ avSyncMsec: number;
376
+ }>]>;
261
377
  } & {
262
378
  type: z.ZodLiteral<"hls">;
263
379
  }, "strip", z.ZodTypeAny, {
264
380
  type: "hls";
381
+ audio: {
382
+ source: "none";
383
+ } | {
384
+ channel: number;
385
+ source: "microphone";
386
+ } | {
387
+ source: "file";
388
+ fileName: string;
389
+ filePath: string;
390
+ } | {
391
+ source: "url";
392
+ fileName: string;
393
+ fileUrl: string;
394
+ avSyncMsec: number;
395
+ };
265
396
  enabled: boolean;
266
397
  id: number;
267
398
  active: boolean;
@@ -289,6 +420,21 @@ export declare const streamSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<
289
420
  };
290
421
  }, {
291
422
  type: "hls";
423
+ audio: {
424
+ source: "none";
425
+ } | {
426
+ channel: number;
427
+ source: "microphone";
428
+ } | {
429
+ source: "file";
430
+ fileName: string;
431
+ filePath: string;
432
+ } | {
433
+ source: "url";
434
+ fileName: string;
435
+ fileUrl: string;
436
+ avSyncMsec: number;
437
+ };
292
438
  enabled: boolean;
293
439
  id: number;
294
440
  active: boolean;
@@ -412,6 +558,49 @@ export declare const streamSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<
412
558
  isActive: boolean;
413
559
  }[];
414
560
  }>]>;
561
+ audio: z.ZodDiscriminatedUnion<"source", [z.ZodObject<{
562
+ source: z.ZodLiteral<"none">;
563
+ }, "strip", z.ZodTypeAny, {
564
+ source: "none";
565
+ }, {
566
+ source: "none";
567
+ }>, z.ZodObject<{
568
+ source: z.ZodLiteral<"microphone">;
569
+ channel: z.ZodNumber;
570
+ }, "strip", z.ZodTypeAny, {
571
+ channel: number;
572
+ source: "microphone";
573
+ }, {
574
+ channel: number;
575
+ source: "microphone";
576
+ }>, z.ZodObject<{
577
+ source: z.ZodLiteral<"file">;
578
+ fileName: z.ZodString;
579
+ filePath: z.ZodString;
580
+ }, "strip", z.ZodTypeAny, {
581
+ source: "file";
582
+ fileName: string;
583
+ filePath: string;
584
+ }, {
585
+ source: "file";
586
+ fileName: string;
587
+ filePath: string;
588
+ }>, z.ZodObject<{
589
+ source: z.ZodLiteral<"url">;
590
+ fileName: z.ZodString;
591
+ fileUrl: z.ZodString;
592
+ avSyncMsec: z.ZodNumber;
593
+ }, "strip", z.ZodTypeAny, {
594
+ source: "url";
595
+ fileName: string;
596
+ fileUrl: string;
597
+ avSyncMsec: number;
598
+ }, {
599
+ source: "url";
600
+ fileName: string;
601
+ fileUrl: string;
602
+ avSyncMsec: number;
603
+ }>]>;
415
604
  } & {
416
605
  type: z.ZodLiteral<"mpeg_dvb">;
417
606
  ipAddress: z.ZodString;
@@ -432,6 +621,21 @@ export declare const streamSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<
432
621
  saveToSdCard: z.ZodBoolean;
433
622
  }, "strip", z.ZodTypeAny, {
434
623
  type: "mpeg_dvb";
624
+ audio: {
625
+ source: "none";
626
+ } | {
627
+ channel: number;
628
+ source: "microphone";
629
+ } | {
630
+ source: "file";
631
+ fileName: string;
632
+ filePath: string;
633
+ } | {
634
+ source: "url";
635
+ fileName: string;
636
+ fileUrl: string;
637
+ avSyncMsec: number;
638
+ };
435
639
  port: number;
436
640
  enabled: boolean;
437
641
  id: number;
@@ -475,6 +679,21 @@ export declare const streamSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<
475
679
  saveToSdCard: boolean;
476
680
  }, {
477
681
  type: "mpeg_dvb";
682
+ audio: {
683
+ source: "none";
684
+ } | {
685
+ channel: number;
686
+ source: "microphone";
687
+ } | {
688
+ source: "file";
689
+ fileName: string;
690
+ filePath: string;
691
+ } | {
692
+ source: "url";
693
+ fileName: string;
694
+ fileUrl: string;
695
+ avSyncMsec: number;
696
+ };
478
697
  port: number;
479
698
  enabled: boolean;
480
699
  id: number;
@@ -614,6 +833,49 @@ export declare const streamSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<
614
833
  isActive: boolean;
615
834
  }[];
616
835
  }>]>;
836
+ audio: z.ZodDiscriminatedUnion<"source", [z.ZodObject<{
837
+ source: z.ZodLiteral<"none">;
838
+ }, "strip", z.ZodTypeAny, {
839
+ source: "none";
840
+ }, {
841
+ source: "none";
842
+ }>, z.ZodObject<{
843
+ source: z.ZodLiteral<"microphone">;
844
+ channel: z.ZodNumber;
845
+ }, "strip", z.ZodTypeAny, {
846
+ channel: number;
847
+ source: "microphone";
848
+ }, {
849
+ channel: number;
850
+ source: "microphone";
851
+ }>, z.ZodObject<{
852
+ source: z.ZodLiteral<"file">;
853
+ fileName: z.ZodString;
854
+ filePath: z.ZodString;
855
+ }, "strip", z.ZodTypeAny, {
856
+ source: "file";
857
+ fileName: string;
858
+ filePath: string;
859
+ }, {
860
+ source: "file";
861
+ fileName: string;
862
+ filePath: string;
863
+ }>, z.ZodObject<{
864
+ source: z.ZodLiteral<"url">;
865
+ fileName: z.ZodString;
866
+ fileUrl: z.ZodString;
867
+ avSyncMsec: z.ZodNumber;
868
+ }, "strip", z.ZodTypeAny, {
869
+ source: "url";
870
+ fileName: string;
871
+ fileUrl: string;
872
+ avSyncMsec: number;
873
+ }, {
874
+ source: "url";
875
+ fileName: string;
876
+ fileUrl: string;
877
+ avSyncMsec: number;
878
+ }>]>;
617
879
  } & {
618
880
  type: z.ZodLiteral<"rtmp">;
619
881
  rtmpUrl: z.ZodString;
@@ -621,6 +883,21 @@ export declare const streamSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<
621
883
  streamIdentifier: z.ZodOptional<z.ZodString>;
622
884
  }, "strip", z.ZodTypeAny, {
623
885
  type: "rtmp";
886
+ audio: {
887
+ source: "none";
888
+ } | {
889
+ channel: number;
890
+ source: "microphone";
891
+ } | {
892
+ source: "file";
893
+ fileName: string;
894
+ filePath: string;
895
+ } | {
896
+ source: "url";
897
+ fileName: string;
898
+ fileUrl: string;
899
+ avSyncMsec: number;
900
+ };
624
901
  enabled: boolean;
625
902
  id: number;
626
903
  active: boolean;
@@ -651,6 +928,21 @@ export declare const streamSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<
651
928
  streamIdentifier?: string | undefined;
652
929
  }, {
653
930
  type: "rtmp";
931
+ audio: {
932
+ source: "none";
933
+ } | {
934
+ channel: number;
935
+ source: "microphone";
936
+ } | {
937
+ source: "file";
938
+ fileName: string;
939
+ filePath: string;
940
+ } | {
941
+ source: "url";
942
+ fileName: string;
943
+ fileUrl: string;
944
+ avSyncMsec: number;
945
+ };
654
946
  enabled: boolean;
655
947
  id: number;
656
948
  active: boolean;
@@ -777,10 +1069,68 @@ export declare const streamSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<
777
1069
  isActive: boolean;
778
1070
  }[];
779
1071
  }>]>;
1072
+ audio: z.ZodDiscriminatedUnion<"source", [z.ZodObject<{
1073
+ source: z.ZodLiteral<"none">;
1074
+ }, "strip", z.ZodTypeAny, {
1075
+ source: "none";
1076
+ }, {
1077
+ source: "none";
1078
+ }>, z.ZodObject<{
1079
+ source: z.ZodLiteral<"microphone">;
1080
+ channel: z.ZodNumber;
1081
+ }, "strip", z.ZodTypeAny, {
1082
+ channel: number;
1083
+ source: "microphone";
1084
+ }, {
1085
+ channel: number;
1086
+ source: "microphone";
1087
+ }>, z.ZodObject<{
1088
+ source: z.ZodLiteral<"file">;
1089
+ fileName: z.ZodString;
1090
+ filePath: z.ZodString;
1091
+ }, "strip", z.ZodTypeAny, {
1092
+ source: "file";
1093
+ fileName: string;
1094
+ filePath: string;
1095
+ }, {
1096
+ source: "file";
1097
+ fileName: string;
1098
+ filePath: string;
1099
+ }>, z.ZodObject<{
1100
+ source: z.ZodLiteral<"url">;
1101
+ fileName: z.ZodString;
1102
+ fileUrl: z.ZodString;
1103
+ avSyncMsec: z.ZodNumber;
1104
+ }, "strip", z.ZodTypeAny, {
1105
+ source: "url";
1106
+ fileName: string;
1107
+ fileUrl: string;
1108
+ avSyncMsec: number;
1109
+ }, {
1110
+ source: "url";
1111
+ fileName: string;
1112
+ fileUrl: string;
1113
+ avSyncMsec: number;
1114
+ }>]>;
780
1115
  } & {
781
1116
  type: z.ZodLiteral<"sd_card">;
782
1117
  }, "strip", z.ZodTypeAny, {
783
1118
  type: "sd_card";
1119
+ audio: {
1120
+ source: "none";
1121
+ } | {
1122
+ channel: number;
1123
+ source: "microphone";
1124
+ } | {
1125
+ source: "file";
1126
+ fileName: string;
1127
+ filePath: string;
1128
+ } | {
1129
+ source: "url";
1130
+ fileName: string;
1131
+ fileUrl: string;
1132
+ avSyncMsec: number;
1133
+ };
784
1134
  enabled: boolean;
785
1135
  id: number;
786
1136
  active: boolean;
@@ -808,6 +1158,21 @@ export declare const streamSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<
808
1158
  };
809
1159
  }, {
810
1160
  type: "sd_card";
1161
+ audio: {
1162
+ source: "none";
1163
+ } | {
1164
+ channel: number;
1165
+ source: "microphone";
1166
+ } | {
1167
+ source: "file";
1168
+ fileName: string;
1169
+ filePath: string;
1170
+ } | {
1171
+ source: "url";
1172
+ fileName: string;
1173
+ fileUrl: string;
1174
+ avSyncMsec: number;
1175
+ };
811
1176
  enabled: boolean;
812
1177
  id: number;
813
1178
  active: boolean;
@@ -931,10 +1296,68 @@ export declare const streamSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<
931
1296
  isActive: boolean;
932
1297
  }[];
933
1298
  }>]>;
1299
+ audio: z.ZodDiscriminatedUnion<"source", [z.ZodObject<{
1300
+ source: z.ZodLiteral<"none">;
1301
+ }, "strip", z.ZodTypeAny, {
1302
+ source: "none";
1303
+ }, {
1304
+ source: "none";
1305
+ }>, z.ZodObject<{
1306
+ source: z.ZodLiteral<"microphone">;
1307
+ channel: z.ZodNumber;
1308
+ }, "strip", z.ZodTypeAny, {
1309
+ channel: number;
1310
+ source: "microphone";
1311
+ }, {
1312
+ channel: number;
1313
+ source: "microphone";
1314
+ }>, z.ZodObject<{
1315
+ source: z.ZodLiteral<"file">;
1316
+ fileName: z.ZodString;
1317
+ filePath: z.ZodString;
1318
+ }, "strip", z.ZodTypeAny, {
1319
+ source: "file";
1320
+ fileName: string;
1321
+ filePath: string;
1322
+ }, {
1323
+ source: "file";
1324
+ fileName: string;
1325
+ filePath: string;
1326
+ }>, z.ZodObject<{
1327
+ source: z.ZodLiteral<"url">;
1328
+ fileName: z.ZodString;
1329
+ fileUrl: z.ZodString;
1330
+ avSyncMsec: z.ZodNumber;
1331
+ }, "strip", z.ZodTypeAny, {
1332
+ source: "url";
1333
+ fileName: string;
1334
+ fileUrl: string;
1335
+ avSyncMsec: number;
1336
+ }, {
1337
+ source: "url";
1338
+ fileName: string;
1339
+ fileUrl: string;
1340
+ avSyncMsec: number;
1341
+ }>]>;
934
1342
  } & {
935
1343
  type: z.ZodLiteral<"windy">;
936
1344
  }, "strip", z.ZodTypeAny, {
937
1345
  type: "windy";
1346
+ audio: {
1347
+ source: "none";
1348
+ } | {
1349
+ channel: number;
1350
+ source: "microphone";
1351
+ } | {
1352
+ source: "file";
1353
+ fileName: string;
1354
+ filePath: string;
1355
+ } | {
1356
+ source: "url";
1357
+ fileName: string;
1358
+ fileUrl: string;
1359
+ avSyncMsec: number;
1360
+ };
938
1361
  enabled: boolean;
939
1362
  id: number;
940
1363
  active: boolean;
@@ -962,6 +1385,21 @@ export declare const streamSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<
962
1385
  };
963
1386
  }, {
964
1387
  type: "windy";
1388
+ audio: {
1389
+ source: "none";
1390
+ } | {
1391
+ channel: number;
1392
+ source: "microphone";
1393
+ } | {
1394
+ source: "file";
1395
+ fileName: string;
1396
+ filePath: string;
1397
+ } | {
1398
+ source: "url";
1399
+ fileName: string;
1400
+ fileUrl: string;
1401
+ avSyncMsec: number;
1402
+ };
965
1403
  enabled: boolean;
966
1404
  id: number;
967
1405
  active: boolean;
@@ -1085,25 +1523,68 @@ export declare const streamSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<
1085
1523
  isActive: boolean;
1086
1524
  }[];
1087
1525
  }>]>;
1526
+ audio: z.ZodDiscriminatedUnion<"source", [z.ZodObject<{
1527
+ source: z.ZodLiteral<"none">;
1528
+ }, "strip", z.ZodTypeAny, {
1529
+ source: "none";
1530
+ }, {
1531
+ source: "none";
1532
+ }>, z.ZodObject<{
1533
+ source: z.ZodLiteral<"microphone">;
1534
+ channel: z.ZodNumber;
1535
+ }, "strip", z.ZodTypeAny, {
1536
+ channel: number;
1537
+ source: "microphone";
1538
+ }, {
1539
+ channel: number;
1540
+ source: "microphone";
1541
+ }>, z.ZodObject<{
1542
+ source: z.ZodLiteral<"file">;
1543
+ fileName: z.ZodString;
1544
+ filePath: z.ZodString;
1545
+ }, "strip", z.ZodTypeAny, {
1546
+ source: "file";
1547
+ fileName: string;
1548
+ filePath: string;
1549
+ }, {
1550
+ source: "file";
1551
+ fileName: string;
1552
+ filePath: string;
1553
+ }>, z.ZodObject<{
1554
+ source: z.ZodLiteral<"url">;
1555
+ fileName: z.ZodString;
1556
+ fileUrl: z.ZodString;
1557
+ avSyncMsec: z.ZodNumber;
1558
+ }, "strip", z.ZodTypeAny, {
1559
+ source: "url";
1560
+ fileName: string;
1561
+ fileUrl: string;
1562
+ avSyncMsec: number;
1563
+ }, {
1564
+ source: "url";
1565
+ fileName: string;
1566
+ fileUrl: string;
1567
+ avSyncMsec: number;
1568
+ }>]>;
1088
1569
  } & {
1089
1570
  type: z.ZodLiteral<"youtube">;
1090
- description: z.ZodOptional<z.ZodString>;
1091
- playlist: z.ZodOptional<z.ZodString>;
1092
- tags: z.ZodArray<z.ZodString, "many">;
1093
- notificationEmail: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1094
- streamPrivacy: z.ZodUnion<[z.ZodLiteral<"public">, z.ZodLiteral<"unlisted">, z.ZodLiteral<"private">]>;
1095
- latency: z.ZodUnion<[z.ZodLiteral<"normal">, z.ZodLiteral<"low">, z.ZodLiteral<"ultra_low">]>;
1096
- afterEndStatus: z.ZodUnion<[z.ZodLiteral<"no_change">, z.ZodLiteral<"public">, z.ZodLiteral<"unlisted">, z.ZodLiteral<"private">]>;
1097
- cameraLedStatus: z.ZodBoolean;
1098
- dvr: z.ZodBoolean;
1099
- saveToSdCard: z.ZodBoolean;
1100
- statusCameraLed: z.ZodBoolean;
1101
- statusCameraOutput: z.ZodString;
1102
- hasWatchdogs: z.ZodBoolean;
1103
- countdown: z.ZodBoolean;
1104
- enableManualControl: z.ZodBoolean;
1105
1571
  }, "strip", z.ZodTypeAny, {
1106
1572
  type: "youtube";
1573
+ audio: {
1574
+ source: "none";
1575
+ } | {
1576
+ channel: number;
1577
+ source: "microphone";
1578
+ } | {
1579
+ source: "file";
1580
+ fileName: string;
1581
+ filePath: string;
1582
+ } | {
1583
+ source: "url";
1584
+ fileName: string;
1585
+ fileUrl: string;
1586
+ avSyncMsec: number;
1587
+ };
1107
1588
  enabled: boolean;
1108
1589
  id: number;
1109
1590
  active: boolean;
@@ -1129,23 +1610,23 @@ export declare const streamSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<
1129
1610
  isActive: boolean;
1130
1611
  }[];
1131
1612
  };
1132
- statusCameraLed: boolean;
1133
- statusCameraOutput: string;
1134
- saveToSdCard: boolean;
1135
- tags: string[];
1136
- streamPrivacy: "public" | "unlisted" | "private";
1137
- latency: "normal" | "low" | "ultra_low";
1138
- afterEndStatus: "public" | "unlisted" | "private" | "no_change";
1139
- cameraLedStatus: boolean;
1140
- dvr: boolean;
1141
- hasWatchdogs: boolean;
1142
- countdown: boolean;
1143
- enableManualControl: boolean;
1144
- playlist?: string | undefined;
1145
- description?: string | undefined;
1146
- notificationEmail?: string[] | undefined;
1147
1613
  }, {
1148
1614
  type: "youtube";
1615
+ audio: {
1616
+ source: "none";
1617
+ } | {
1618
+ channel: number;
1619
+ source: "microphone";
1620
+ } | {
1621
+ source: "file";
1622
+ fileName: string;
1623
+ filePath: string;
1624
+ } | {
1625
+ source: "url";
1626
+ fileName: string;
1627
+ fileUrl: string;
1628
+ avSyncMsec: number;
1629
+ };
1149
1630
  enabled: boolean;
1150
1631
  id: number;
1151
1632
  active: boolean;
@@ -1171,21 +1652,6 @@ export declare const streamSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<
1171
1652
  isActive: boolean;
1172
1653
  }[];
1173
1654
  };
1174
- statusCameraLed: boolean;
1175
- statusCameraOutput: string;
1176
- saveToSdCard: boolean;
1177
- tags: string[];
1178
- streamPrivacy: "public" | "unlisted" | "private";
1179
- latency: "normal" | "low" | "ultra_low";
1180
- afterEndStatus: "public" | "unlisted" | "private" | "no_change";
1181
- cameraLedStatus: boolean;
1182
- dvr: boolean;
1183
- hasWatchdogs: boolean;
1184
- countdown: boolean;
1185
- enableManualControl: boolean;
1186
- playlist?: string | undefined;
1187
- description?: string | undefined;
1188
- notificationEmail?: string[] | undefined;
1189
1655
  }>]>;
1190
1656
  export type TStream = z.infer<typeof streamSchema>;
1191
1657
  export declare const streamListSchema: z.ZodObject<{
@@ -1287,10 +1753,68 @@ export declare const streamListSchema: z.ZodObject<{
1287
1753
  isActive: boolean;
1288
1754
  }[];
1289
1755
  }>]>;
1756
+ audio: z.ZodDiscriminatedUnion<"source", [z.ZodObject<{
1757
+ source: z.ZodLiteral<"none">;
1758
+ }, "strip", z.ZodTypeAny, {
1759
+ source: "none";
1760
+ }, {
1761
+ source: "none";
1762
+ }>, z.ZodObject<{
1763
+ source: z.ZodLiteral<"microphone">;
1764
+ channel: z.ZodNumber;
1765
+ }, "strip", z.ZodTypeAny, {
1766
+ channel: number;
1767
+ source: "microphone";
1768
+ }, {
1769
+ channel: number;
1770
+ source: "microphone";
1771
+ }>, z.ZodObject<{
1772
+ source: z.ZodLiteral<"file">;
1773
+ fileName: z.ZodString;
1774
+ filePath: z.ZodString;
1775
+ }, "strip", z.ZodTypeAny, {
1776
+ source: "file";
1777
+ fileName: string;
1778
+ filePath: string;
1779
+ }, {
1780
+ source: "file";
1781
+ fileName: string;
1782
+ filePath: string;
1783
+ }>, z.ZodObject<{
1784
+ source: z.ZodLiteral<"url">;
1785
+ fileName: z.ZodString;
1786
+ fileUrl: z.ZodString;
1787
+ avSyncMsec: z.ZodNumber;
1788
+ }, "strip", z.ZodTypeAny, {
1789
+ source: "url";
1790
+ fileName: string;
1791
+ fileUrl: string;
1792
+ avSyncMsec: number;
1793
+ }, {
1794
+ source: "url";
1795
+ fileName: string;
1796
+ fileUrl: string;
1797
+ avSyncMsec: number;
1798
+ }>]>;
1290
1799
  } & {
1291
1800
  type: z.ZodLiteral<"facebook">;
1292
1801
  }, "strip", z.ZodTypeAny, {
1293
1802
  type: "facebook";
1803
+ audio: {
1804
+ source: "none";
1805
+ } | {
1806
+ channel: number;
1807
+ source: "microphone";
1808
+ } | {
1809
+ source: "file";
1810
+ fileName: string;
1811
+ filePath: string;
1812
+ } | {
1813
+ source: "url";
1814
+ fileName: string;
1815
+ fileUrl: string;
1816
+ avSyncMsec: number;
1817
+ };
1294
1818
  enabled: boolean;
1295
1819
  id: number;
1296
1820
  active: boolean;
@@ -1318,6 +1842,21 @@ export declare const streamListSchema: z.ZodObject<{
1318
1842
  };
1319
1843
  }, {
1320
1844
  type: "facebook";
1845
+ audio: {
1846
+ source: "none";
1847
+ } | {
1848
+ channel: number;
1849
+ source: "microphone";
1850
+ } | {
1851
+ source: "file";
1852
+ fileName: string;
1853
+ filePath: string;
1854
+ } | {
1855
+ source: "url";
1856
+ fileName: string;
1857
+ fileUrl: string;
1858
+ avSyncMsec: number;
1859
+ };
1321
1860
  enabled: boolean;
1322
1861
  id: number;
1323
1862
  active: boolean;
@@ -1441,10 +1980,68 @@ export declare const streamListSchema: z.ZodObject<{
1441
1980
  isActive: boolean;
1442
1981
  }[];
1443
1982
  }>]>;
1983
+ audio: z.ZodDiscriminatedUnion<"source", [z.ZodObject<{
1984
+ source: z.ZodLiteral<"none">;
1985
+ }, "strip", z.ZodTypeAny, {
1986
+ source: "none";
1987
+ }, {
1988
+ source: "none";
1989
+ }>, z.ZodObject<{
1990
+ source: z.ZodLiteral<"microphone">;
1991
+ channel: z.ZodNumber;
1992
+ }, "strip", z.ZodTypeAny, {
1993
+ channel: number;
1994
+ source: "microphone";
1995
+ }, {
1996
+ channel: number;
1997
+ source: "microphone";
1998
+ }>, z.ZodObject<{
1999
+ source: z.ZodLiteral<"file">;
2000
+ fileName: z.ZodString;
2001
+ filePath: z.ZodString;
2002
+ }, "strip", z.ZodTypeAny, {
2003
+ source: "file";
2004
+ fileName: string;
2005
+ filePath: string;
2006
+ }, {
2007
+ source: "file";
2008
+ fileName: string;
2009
+ filePath: string;
2010
+ }>, z.ZodObject<{
2011
+ source: z.ZodLiteral<"url">;
2012
+ fileName: z.ZodString;
2013
+ fileUrl: z.ZodString;
2014
+ avSyncMsec: z.ZodNumber;
2015
+ }, "strip", z.ZodTypeAny, {
2016
+ source: "url";
2017
+ fileName: string;
2018
+ fileUrl: string;
2019
+ avSyncMsec: number;
2020
+ }, {
2021
+ source: "url";
2022
+ fileName: string;
2023
+ fileUrl: string;
2024
+ avSyncMsec: number;
2025
+ }>]>;
1444
2026
  } & {
1445
2027
  type: z.ZodLiteral<"hls">;
1446
2028
  }, "strip", z.ZodTypeAny, {
1447
2029
  type: "hls";
2030
+ audio: {
2031
+ source: "none";
2032
+ } | {
2033
+ channel: number;
2034
+ source: "microphone";
2035
+ } | {
2036
+ source: "file";
2037
+ fileName: string;
2038
+ filePath: string;
2039
+ } | {
2040
+ source: "url";
2041
+ fileName: string;
2042
+ fileUrl: string;
2043
+ avSyncMsec: number;
2044
+ };
1448
2045
  enabled: boolean;
1449
2046
  id: number;
1450
2047
  active: boolean;
@@ -1472,6 +2069,21 @@ export declare const streamListSchema: z.ZodObject<{
1472
2069
  };
1473
2070
  }, {
1474
2071
  type: "hls";
2072
+ audio: {
2073
+ source: "none";
2074
+ } | {
2075
+ channel: number;
2076
+ source: "microphone";
2077
+ } | {
2078
+ source: "file";
2079
+ fileName: string;
2080
+ filePath: string;
2081
+ } | {
2082
+ source: "url";
2083
+ fileName: string;
2084
+ fileUrl: string;
2085
+ avSyncMsec: number;
2086
+ };
1475
2087
  enabled: boolean;
1476
2088
  id: number;
1477
2089
  active: boolean;
@@ -1595,6 +2207,49 @@ export declare const streamListSchema: z.ZodObject<{
1595
2207
  isActive: boolean;
1596
2208
  }[];
1597
2209
  }>]>;
2210
+ audio: z.ZodDiscriminatedUnion<"source", [z.ZodObject<{
2211
+ source: z.ZodLiteral<"none">;
2212
+ }, "strip", z.ZodTypeAny, {
2213
+ source: "none";
2214
+ }, {
2215
+ source: "none";
2216
+ }>, z.ZodObject<{
2217
+ source: z.ZodLiteral<"microphone">;
2218
+ channel: z.ZodNumber;
2219
+ }, "strip", z.ZodTypeAny, {
2220
+ channel: number;
2221
+ source: "microphone";
2222
+ }, {
2223
+ channel: number;
2224
+ source: "microphone";
2225
+ }>, z.ZodObject<{
2226
+ source: z.ZodLiteral<"file">;
2227
+ fileName: z.ZodString;
2228
+ filePath: z.ZodString;
2229
+ }, "strip", z.ZodTypeAny, {
2230
+ source: "file";
2231
+ fileName: string;
2232
+ filePath: string;
2233
+ }, {
2234
+ source: "file";
2235
+ fileName: string;
2236
+ filePath: string;
2237
+ }>, z.ZodObject<{
2238
+ source: z.ZodLiteral<"url">;
2239
+ fileName: z.ZodString;
2240
+ fileUrl: z.ZodString;
2241
+ avSyncMsec: z.ZodNumber;
2242
+ }, "strip", z.ZodTypeAny, {
2243
+ source: "url";
2244
+ fileName: string;
2245
+ fileUrl: string;
2246
+ avSyncMsec: number;
2247
+ }, {
2248
+ source: "url";
2249
+ fileName: string;
2250
+ fileUrl: string;
2251
+ avSyncMsec: number;
2252
+ }>]>;
1598
2253
  } & {
1599
2254
  type: z.ZodLiteral<"mpeg_dvb">;
1600
2255
  ipAddress: z.ZodString;
@@ -1615,6 +2270,21 @@ export declare const streamListSchema: z.ZodObject<{
1615
2270
  saveToSdCard: z.ZodBoolean;
1616
2271
  }, "strip", z.ZodTypeAny, {
1617
2272
  type: "mpeg_dvb";
2273
+ audio: {
2274
+ source: "none";
2275
+ } | {
2276
+ channel: number;
2277
+ source: "microphone";
2278
+ } | {
2279
+ source: "file";
2280
+ fileName: string;
2281
+ filePath: string;
2282
+ } | {
2283
+ source: "url";
2284
+ fileName: string;
2285
+ fileUrl: string;
2286
+ avSyncMsec: number;
2287
+ };
1618
2288
  port: number;
1619
2289
  enabled: boolean;
1620
2290
  id: number;
@@ -1658,6 +2328,21 @@ export declare const streamListSchema: z.ZodObject<{
1658
2328
  saveToSdCard: boolean;
1659
2329
  }, {
1660
2330
  type: "mpeg_dvb";
2331
+ audio: {
2332
+ source: "none";
2333
+ } | {
2334
+ channel: number;
2335
+ source: "microphone";
2336
+ } | {
2337
+ source: "file";
2338
+ fileName: string;
2339
+ filePath: string;
2340
+ } | {
2341
+ source: "url";
2342
+ fileName: string;
2343
+ fileUrl: string;
2344
+ avSyncMsec: number;
2345
+ };
1661
2346
  port: number;
1662
2347
  enabled: boolean;
1663
2348
  id: number;
@@ -1797,6 +2482,49 @@ export declare const streamListSchema: z.ZodObject<{
1797
2482
  isActive: boolean;
1798
2483
  }[];
1799
2484
  }>]>;
2485
+ audio: z.ZodDiscriminatedUnion<"source", [z.ZodObject<{
2486
+ source: z.ZodLiteral<"none">;
2487
+ }, "strip", z.ZodTypeAny, {
2488
+ source: "none";
2489
+ }, {
2490
+ source: "none";
2491
+ }>, z.ZodObject<{
2492
+ source: z.ZodLiteral<"microphone">;
2493
+ channel: z.ZodNumber;
2494
+ }, "strip", z.ZodTypeAny, {
2495
+ channel: number;
2496
+ source: "microphone";
2497
+ }, {
2498
+ channel: number;
2499
+ source: "microphone";
2500
+ }>, z.ZodObject<{
2501
+ source: z.ZodLiteral<"file">;
2502
+ fileName: z.ZodString;
2503
+ filePath: z.ZodString;
2504
+ }, "strip", z.ZodTypeAny, {
2505
+ source: "file";
2506
+ fileName: string;
2507
+ filePath: string;
2508
+ }, {
2509
+ source: "file";
2510
+ fileName: string;
2511
+ filePath: string;
2512
+ }>, z.ZodObject<{
2513
+ source: z.ZodLiteral<"url">;
2514
+ fileName: z.ZodString;
2515
+ fileUrl: z.ZodString;
2516
+ avSyncMsec: z.ZodNumber;
2517
+ }, "strip", z.ZodTypeAny, {
2518
+ source: "url";
2519
+ fileName: string;
2520
+ fileUrl: string;
2521
+ avSyncMsec: number;
2522
+ }, {
2523
+ source: "url";
2524
+ fileName: string;
2525
+ fileUrl: string;
2526
+ avSyncMsec: number;
2527
+ }>]>;
1800
2528
  } & {
1801
2529
  type: z.ZodLiteral<"rtmp">;
1802
2530
  rtmpUrl: z.ZodString;
@@ -1804,6 +2532,21 @@ export declare const streamListSchema: z.ZodObject<{
1804
2532
  streamIdentifier: z.ZodOptional<z.ZodString>;
1805
2533
  }, "strip", z.ZodTypeAny, {
1806
2534
  type: "rtmp";
2535
+ audio: {
2536
+ source: "none";
2537
+ } | {
2538
+ channel: number;
2539
+ source: "microphone";
2540
+ } | {
2541
+ source: "file";
2542
+ fileName: string;
2543
+ filePath: string;
2544
+ } | {
2545
+ source: "url";
2546
+ fileName: string;
2547
+ fileUrl: string;
2548
+ avSyncMsec: number;
2549
+ };
1807
2550
  enabled: boolean;
1808
2551
  id: number;
1809
2552
  active: boolean;
@@ -1834,6 +2577,21 @@ export declare const streamListSchema: z.ZodObject<{
1834
2577
  streamIdentifier?: string | undefined;
1835
2578
  }, {
1836
2579
  type: "rtmp";
2580
+ audio: {
2581
+ source: "none";
2582
+ } | {
2583
+ channel: number;
2584
+ source: "microphone";
2585
+ } | {
2586
+ source: "file";
2587
+ fileName: string;
2588
+ filePath: string;
2589
+ } | {
2590
+ source: "url";
2591
+ fileName: string;
2592
+ fileUrl: string;
2593
+ avSyncMsec: number;
2594
+ };
1837
2595
  enabled: boolean;
1838
2596
  id: number;
1839
2597
  active: boolean;
@@ -1960,10 +2718,68 @@ export declare const streamListSchema: z.ZodObject<{
1960
2718
  isActive: boolean;
1961
2719
  }[];
1962
2720
  }>]>;
2721
+ audio: z.ZodDiscriminatedUnion<"source", [z.ZodObject<{
2722
+ source: z.ZodLiteral<"none">;
2723
+ }, "strip", z.ZodTypeAny, {
2724
+ source: "none";
2725
+ }, {
2726
+ source: "none";
2727
+ }>, z.ZodObject<{
2728
+ source: z.ZodLiteral<"microphone">;
2729
+ channel: z.ZodNumber;
2730
+ }, "strip", z.ZodTypeAny, {
2731
+ channel: number;
2732
+ source: "microphone";
2733
+ }, {
2734
+ channel: number;
2735
+ source: "microphone";
2736
+ }>, z.ZodObject<{
2737
+ source: z.ZodLiteral<"file">;
2738
+ fileName: z.ZodString;
2739
+ filePath: z.ZodString;
2740
+ }, "strip", z.ZodTypeAny, {
2741
+ source: "file";
2742
+ fileName: string;
2743
+ filePath: string;
2744
+ }, {
2745
+ source: "file";
2746
+ fileName: string;
2747
+ filePath: string;
2748
+ }>, z.ZodObject<{
2749
+ source: z.ZodLiteral<"url">;
2750
+ fileName: z.ZodString;
2751
+ fileUrl: z.ZodString;
2752
+ avSyncMsec: z.ZodNumber;
2753
+ }, "strip", z.ZodTypeAny, {
2754
+ source: "url";
2755
+ fileName: string;
2756
+ fileUrl: string;
2757
+ avSyncMsec: number;
2758
+ }, {
2759
+ source: "url";
2760
+ fileName: string;
2761
+ fileUrl: string;
2762
+ avSyncMsec: number;
2763
+ }>]>;
1963
2764
  } & {
1964
2765
  type: z.ZodLiteral<"sd_card">;
1965
2766
  }, "strip", z.ZodTypeAny, {
1966
2767
  type: "sd_card";
2768
+ audio: {
2769
+ source: "none";
2770
+ } | {
2771
+ channel: number;
2772
+ source: "microphone";
2773
+ } | {
2774
+ source: "file";
2775
+ fileName: string;
2776
+ filePath: string;
2777
+ } | {
2778
+ source: "url";
2779
+ fileName: string;
2780
+ fileUrl: string;
2781
+ avSyncMsec: number;
2782
+ };
1967
2783
  enabled: boolean;
1968
2784
  id: number;
1969
2785
  active: boolean;
@@ -1991,6 +2807,21 @@ export declare const streamListSchema: z.ZodObject<{
1991
2807
  };
1992
2808
  }, {
1993
2809
  type: "sd_card";
2810
+ audio: {
2811
+ source: "none";
2812
+ } | {
2813
+ channel: number;
2814
+ source: "microphone";
2815
+ } | {
2816
+ source: "file";
2817
+ fileName: string;
2818
+ filePath: string;
2819
+ } | {
2820
+ source: "url";
2821
+ fileName: string;
2822
+ fileUrl: string;
2823
+ avSyncMsec: number;
2824
+ };
1994
2825
  enabled: boolean;
1995
2826
  id: number;
1996
2827
  active: boolean;
@@ -2114,10 +2945,68 @@ export declare const streamListSchema: z.ZodObject<{
2114
2945
  isActive: boolean;
2115
2946
  }[];
2116
2947
  }>]>;
2948
+ audio: z.ZodDiscriminatedUnion<"source", [z.ZodObject<{
2949
+ source: z.ZodLiteral<"none">;
2950
+ }, "strip", z.ZodTypeAny, {
2951
+ source: "none";
2952
+ }, {
2953
+ source: "none";
2954
+ }>, z.ZodObject<{
2955
+ source: z.ZodLiteral<"microphone">;
2956
+ channel: z.ZodNumber;
2957
+ }, "strip", z.ZodTypeAny, {
2958
+ channel: number;
2959
+ source: "microphone";
2960
+ }, {
2961
+ channel: number;
2962
+ source: "microphone";
2963
+ }>, z.ZodObject<{
2964
+ source: z.ZodLiteral<"file">;
2965
+ fileName: z.ZodString;
2966
+ filePath: z.ZodString;
2967
+ }, "strip", z.ZodTypeAny, {
2968
+ source: "file";
2969
+ fileName: string;
2970
+ filePath: string;
2971
+ }, {
2972
+ source: "file";
2973
+ fileName: string;
2974
+ filePath: string;
2975
+ }>, z.ZodObject<{
2976
+ source: z.ZodLiteral<"url">;
2977
+ fileName: z.ZodString;
2978
+ fileUrl: z.ZodString;
2979
+ avSyncMsec: z.ZodNumber;
2980
+ }, "strip", z.ZodTypeAny, {
2981
+ source: "url";
2982
+ fileName: string;
2983
+ fileUrl: string;
2984
+ avSyncMsec: number;
2985
+ }, {
2986
+ source: "url";
2987
+ fileName: string;
2988
+ fileUrl: string;
2989
+ avSyncMsec: number;
2990
+ }>]>;
2117
2991
  } & {
2118
2992
  type: z.ZodLiteral<"windy">;
2119
2993
  }, "strip", z.ZodTypeAny, {
2120
2994
  type: "windy";
2995
+ audio: {
2996
+ source: "none";
2997
+ } | {
2998
+ channel: number;
2999
+ source: "microphone";
3000
+ } | {
3001
+ source: "file";
3002
+ fileName: string;
3003
+ filePath: string;
3004
+ } | {
3005
+ source: "url";
3006
+ fileName: string;
3007
+ fileUrl: string;
3008
+ avSyncMsec: number;
3009
+ };
2121
3010
  enabled: boolean;
2122
3011
  id: number;
2123
3012
  active: boolean;
@@ -2145,6 +3034,21 @@ export declare const streamListSchema: z.ZodObject<{
2145
3034
  };
2146
3035
  }, {
2147
3036
  type: "windy";
3037
+ audio: {
3038
+ source: "none";
3039
+ } | {
3040
+ channel: number;
3041
+ source: "microphone";
3042
+ } | {
3043
+ source: "file";
3044
+ fileName: string;
3045
+ filePath: string;
3046
+ } | {
3047
+ source: "url";
3048
+ fileName: string;
3049
+ fileUrl: string;
3050
+ avSyncMsec: number;
3051
+ };
2148
3052
  enabled: boolean;
2149
3053
  id: number;
2150
3054
  active: boolean;
@@ -2268,25 +3172,68 @@ export declare const streamListSchema: z.ZodObject<{
2268
3172
  isActive: boolean;
2269
3173
  }[];
2270
3174
  }>]>;
3175
+ audio: z.ZodDiscriminatedUnion<"source", [z.ZodObject<{
3176
+ source: z.ZodLiteral<"none">;
3177
+ }, "strip", z.ZodTypeAny, {
3178
+ source: "none";
3179
+ }, {
3180
+ source: "none";
3181
+ }>, z.ZodObject<{
3182
+ source: z.ZodLiteral<"microphone">;
3183
+ channel: z.ZodNumber;
3184
+ }, "strip", z.ZodTypeAny, {
3185
+ channel: number;
3186
+ source: "microphone";
3187
+ }, {
3188
+ channel: number;
3189
+ source: "microphone";
3190
+ }>, z.ZodObject<{
3191
+ source: z.ZodLiteral<"file">;
3192
+ fileName: z.ZodString;
3193
+ filePath: z.ZodString;
3194
+ }, "strip", z.ZodTypeAny, {
3195
+ source: "file";
3196
+ fileName: string;
3197
+ filePath: string;
3198
+ }, {
3199
+ source: "file";
3200
+ fileName: string;
3201
+ filePath: string;
3202
+ }>, z.ZodObject<{
3203
+ source: z.ZodLiteral<"url">;
3204
+ fileName: z.ZodString;
3205
+ fileUrl: z.ZodString;
3206
+ avSyncMsec: z.ZodNumber;
3207
+ }, "strip", z.ZodTypeAny, {
3208
+ source: "url";
3209
+ fileName: string;
3210
+ fileUrl: string;
3211
+ avSyncMsec: number;
3212
+ }, {
3213
+ source: "url";
3214
+ fileName: string;
3215
+ fileUrl: string;
3216
+ avSyncMsec: number;
3217
+ }>]>;
2271
3218
  } & {
2272
3219
  type: z.ZodLiteral<"youtube">;
2273
- description: z.ZodOptional<z.ZodString>;
2274
- playlist: z.ZodOptional<z.ZodString>;
2275
- tags: z.ZodArray<z.ZodString, "many">;
2276
- notificationEmail: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
2277
- streamPrivacy: z.ZodUnion<[z.ZodLiteral<"public">, z.ZodLiteral<"unlisted">, z.ZodLiteral<"private">]>;
2278
- latency: z.ZodUnion<[z.ZodLiteral<"normal">, z.ZodLiteral<"low">, z.ZodLiteral<"ultra_low">]>;
2279
- afterEndStatus: z.ZodUnion<[z.ZodLiteral<"no_change">, z.ZodLiteral<"public">, z.ZodLiteral<"unlisted">, z.ZodLiteral<"private">]>;
2280
- cameraLedStatus: z.ZodBoolean;
2281
- dvr: z.ZodBoolean;
2282
- saveToSdCard: z.ZodBoolean;
2283
- statusCameraLed: z.ZodBoolean;
2284
- statusCameraOutput: z.ZodString;
2285
- hasWatchdogs: z.ZodBoolean;
2286
- countdown: z.ZodBoolean;
2287
- enableManualControl: z.ZodBoolean;
2288
3220
  }, "strip", z.ZodTypeAny, {
2289
3221
  type: "youtube";
3222
+ audio: {
3223
+ source: "none";
3224
+ } | {
3225
+ channel: number;
3226
+ source: "microphone";
3227
+ } | {
3228
+ source: "file";
3229
+ fileName: string;
3230
+ filePath: string;
3231
+ } | {
3232
+ source: "url";
3233
+ fileName: string;
3234
+ fileUrl: string;
3235
+ avSyncMsec: number;
3236
+ };
2290
3237
  enabled: boolean;
2291
3238
  id: number;
2292
3239
  active: boolean;
@@ -2312,23 +3259,23 @@ export declare const streamListSchema: z.ZodObject<{
2312
3259
  isActive: boolean;
2313
3260
  }[];
2314
3261
  };
2315
- statusCameraLed: boolean;
2316
- statusCameraOutput: string;
2317
- saveToSdCard: boolean;
2318
- tags: string[];
2319
- streamPrivacy: "public" | "unlisted" | "private";
2320
- latency: "normal" | "low" | "ultra_low";
2321
- afterEndStatus: "public" | "unlisted" | "private" | "no_change";
2322
- cameraLedStatus: boolean;
2323
- dvr: boolean;
2324
- hasWatchdogs: boolean;
2325
- countdown: boolean;
2326
- enableManualControl: boolean;
2327
- playlist?: string | undefined;
2328
- description?: string | undefined;
2329
- notificationEmail?: string[] | undefined;
2330
3262
  }, {
2331
3263
  type: "youtube";
3264
+ audio: {
3265
+ source: "none";
3266
+ } | {
3267
+ channel: number;
3268
+ source: "microphone";
3269
+ } | {
3270
+ source: "file";
3271
+ fileName: string;
3272
+ filePath: string;
3273
+ } | {
3274
+ source: "url";
3275
+ fileName: string;
3276
+ fileUrl: string;
3277
+ avSyncMsec: number;
3278
+ };
2332
3279
  enabled: boolean;
2333
3280
  id: number;
2334
3281
  active: boolean;
@@ -2354,25 +3301,25 @@ export declare const streamListSchema: z.ZodObject<{
2354
3301
  isActive: boolean;
2355
3302
  }[];
2356
3303
  };
2357
- statusCameraLed: boolean;
2358
- statusCameraOutput: string;
2359
- saveToSdCard: boolean;
2360
- tags: string[];
2361
- streamPrivacy: "public" | "unlisted" | "private";
2362
- latency: "normal" | "low" | "ultra_low";
2363
- afterEndStatus: "public" | "unlisted" | "private" | "no_change";
2364
- cameraLedStatus: boolean;
2365
- dvr: boolean;
2366
- hasWatchdogs: boolean;
2367
- countdown: boolean;
2368
- enableManualControl: boolean;
2369
- playlist?: string | undefined;
2370
- description?: string | undefined;
2371
- notificationEmail?: string[] | undefined;
2372
3304
  }>]>, "many">;
2373
3305
  }, "strip", z.ZodTypeAny, {
2374
3306
  streamList: ({
2375
3307
  type: "facebook";
3308
+ audio: {
3309
+ source: "none";
3310
+ } | {
3311
+ channel: number;
3312
+ source: "microphone";
3313
+ } | {
3314
+ source: "file";
3315
+ fileName: string;
3316
+ filePath: string;
3317
+ } | {
3318
+ source: "url";
3319
+ fileName: string;
3320
+ fileUrl: string;
3321
+ avSyncMsec: number;
3322
+ };
2376
3323
  enabled: boolean;
2377
3324
  id: number;
2378
3325
  active: boolean;
@@ -2400,6 +3347,21 @@ export declare const streamListSchema: z.ZodObject<{
2400
3347
  };
2401
3348
  } | {
2402
3349
  type: "hls";
3350
+ audio: {
3351
+ source: "none";
3352
+ } | {
3353
+ channel: number;
3354
+ source: "microphone";
3355
+ } | {
3356
+ source: "file";
3357
+ fileName: string;
3358
+ filePath: string;
3359
+ } | {
3360
+ source: "url";
3361
+ fileName: string;
3362
+ fileUrl: string;
3363
+ avSyncMsec: number;
3364
+ };
2403
3365
  enabled: boolean;
2404
3366
  id: number;
2405
3367
  active: boolean;
@@ -2427,6 +3389,21 @@ export declare const streamListSchema: z.ZodObject<{
2427
3389
  };
2428
3390
  } | {
2429
3391
  type: "mpeg_dvb";
3392
+ audio: {
3393
+ source: "none";
3394
+ } | {
3395
+ channel: number;
3396
+ source: "microphone";
3397
+ } | {
3398
+ source: "file";
3399
+ fileName: string;
3400
+ filePath: string;
3401
+ } | {
3402
+ source: "url";
3403
+ fileName: string;
3404
+ fileUrl: string;
3405
+ avSyncMsec: number;
3406
+ };
2430
3407
  port: number;
2431
3408
  enabled: boolean;
2432
3409
  id: number;
@@ -2470,6 +3447,21 @@ export declare const streamListSchema: z.ZodObject<{
2470
3447
  saveToSdCard: boolean;
2471
3448
  } | {
2472
3449
  type: "rtmp";
3450
+ audio: {
3451
+ source: "none";
3452
+ } | {
3453
+ channel: number;
3454
+ source: "microphone";
3455
+ } | {
3456
+ source: "file";
3457
+ fileName: string;
3458
+ filePath: string;
3459
+ } | {
3460
+ source: "url";
3461
+ fileName: string;
3462
+ fileUrl: string;
3463
+ avSyncMsec: number;
3464
+ };
2473
3465
  enabled: boolean;
2474
3466
  id: number;
2475
3467
  active: boolean;
@@ -2500,6 +3492,21 @@ export declare const streamListSchema: z.ZodObject<{
2500
3492
  streamIdentifier?: string | undefined;
2501
3493
  } | {
2502
3494
  type: "sd_card";
3495
+ audio: {
3496
+ source: "none";
3497
+ } | {
3498
+ channel: number;
3499
+ source: "microphone";
3500
+ } | {
3501
+ source: "file";
3502
+ fileName: string;
3503
+ filePath: string;
3504
+ } | {
3505
+ source: "url";
3506
+ fileName: string;
3507
+ fileUrl: string;
3508
+ avSyncMsec: number;
3509
+ };
2503
3510
  enabled: boolean;
2504
3511
  id: number;
2505
3512
  active: boolean;
@@ -2527,6 +3534,21 @@ export declare const streamListSchema: z.ZodObject<{
2527
3534
  };
2528
3535
  } | {
2529
3536
  type: "windy";
3537
+ audio: {
3538
+ source: "none";
3539
+ } | {
3540
+ channel: number;
3541
+ source: "microphone";
3542
+ } | {
3543
+ source: "file";
3544
+ fileName: string;
3545
+ filePath: string;
3546
+ } | {
3547
+ source: "url";
3548
+ fileName: string;
3549
+ fileUrl: string;
3550
+ avSyncMsec: number;
3551
+ };
2530
3552
  enabled: boolean;
2531
3553
  id: number;
2532
3554
  active: boolean;
@@ -2554,6 +3576,21 @@ export declare const streamListSchema: z.ZodObject<{
2554
3576
  };
2555
3577
  } | {
2556
3578
  type: "youtube";
3579
+ audio: {
3580
+ source: "none";
3581
+ } | {
3582
+ channel: number;
3583
+ source: "microphone";
3584
+ } | {
3585
+ source: "file";
3586
+ fileName: string;
3587
+ filePath: string;
3588
+ } | {
3589
+ source: "url";
3590
+ fileName: string;
3591
+ fileUrl: string;
3592
+ avSyncMsec: number;
3593
+ };
2557
3594
  enabled: boolean;
2558
3595
  id: number;
2559
3596
  active: boolean;
@@ -2579,25 +3616,25 @@ export declare const streamListSchema: z.ZodObject<{
2579
3616
  isActive: boolean;
2580
3617
  }[];
2581
3618
  };
2582
- statusCameraLed: boolean;
2583
- statusCameraOutput: string;
2584
- saveToSdCard: boolean;
2585
- tags: string[];
2586
- streamPrivacy: "public" | "unlisted" | "private";
2587
- latency: "normal" | "low" | "ultra_low";
2588
- afterEndStatus: "public" | "unlisted" | "private" | "no_change";
2589
- cameraLedStatus: boolean;
2590
- dvr: boolean;
2591
- hasWatchdogs: boolean;
2592
- countdown: boolean;
2593
- enableManualControl: boolean;
2594
- playlist?: string | undefined;
2595
- description?: string | undefined;
2596
- notificationEmail?: string[] | undefined;
2597
3619
  })[];
2598
3620
  }, {
2599
3621
  streamList: ({
2600
3622
  type: "facebook";
3623
+ audio: {
3624
+ source: "none";
3625
+ } | {
3626
+ channel: number;
3627
+ source: "microphone";
3628
+ } | {
3629
+ source: "file";
3630
+ fileName: string;
3631
+ filePath: string;
3632
+ } | {
3633
+ source: "url";
3634
+ fileName: string;
3635
+ fileUrl: string;
3636
+ avSyncMsec: number;
3637
+ };
2601
3638
  enabled: boolean;
2602
3639
  id: number;
2603
3640
  active: boolean;
@@ -2625,6 +3662,21 @@ export declare const streamListSchema: z.ZodObject<{
2625
3662
  };
2626
3663
  } | {
2627
3664
  type: "hls";
3665
+ audio: {
3666
+ source: "none";
3667
+ } | {
3668
+ channel: number;
3669
+ source: "microphone";
3670
+ } | {
3671
+ source: "file";
3672
+ fileName: string;
3673
+ filePath: string;
3674
+ } | {
3675
+ source: "url";
3676
+ fileName: string;
3677
+ fileUrl: string;
3678
+ avSyncMsec: number;
3679
+ };
2628
3680
  enabled: boolean;
2629
3681
  id: number;
2630
3682
  active: boolean;
@@ -2652,6 +3704,21 @@ export declare const streamListSchema: z.ZodObject<{
2652
3704
  };
2653
3705
  } | {
2654
3706
  type: "mpeg_dvb";
3707
+ audio: {
3708
+ source: "none";
3709
+ } | {
3710
+ channel: number;
3711
+ source: "microphone";
3712
+ } | {
3713
+ source: "file";
3714
+ fileName: string;
3715
+ filePath: string;
3716
+ } | {
3717
+ source: "url";
3718
+ fileName: string;
3719
+ fileUrl: string;
3720
+ avSyncMsec: number;
3721
+ };
2655
3722
  port: number;
2656
3723
  enabled: boolean;
2657
3724
  id: number;
@@ -2695,6 +3762,21 @@ export declare const streamListSchema: z.ZodObject<{
2695
3762
  saveToSdCard: boolean;
2696
3763
  } | {
2697
3764
  type: "rtmp";
3765
+ audio: {
3766
+ source: "none";
3767
+ } | {
3768
+ channel: number;
3769
+ source: "microphone";
3770
+ } | {
3771
+ source: "file";
3772
+ fileName: string;
3773
+ filePath: string;
3774
+ } | {
3775
+ source: "url";
3776
+ fileName: string;
3777
+ fileUrl: string;
3778
+ avSyncMsec: number;
3779
+ };
2698
3780
  enabled: boolean;
2699
3781
  id: number;
2700
3782
  active: boolean;
@@ -2725,6 +3807,21 @@ export declare const streamListSchema: z.ZodObject<{
2725
3807
  streamIdentifier?: string | undefined;
2726
3808
  } | {
2727
3809
  type: "sd_card";
3810
+ audio: {
3811
+ source: "none";
3812
+ } | {
3813
+ channel: number;
3814
+ source: "microphone";
3815
+ } | {
3816
+ source: "file";
3817
+ fileName: string;
3818
+ filePath: string;
3819
+ } | {
3820
+ source: "url";
3821
+ fileName: string;
3822
+ fileUrl: string;
3823
+ avSyncMsec: number;
3824
+ };
2728
3825
  enabled: boolean;
2729
3826
  id: number;
2730
3827
  active: boolean;
@@ -2752,6 +3849,21 @@ export declare const streamListSchema: z.ZodObject<{
2752
3849
  };
2753
3850
  } | {
2754
3851
  type: "windy";
3852
+ audio: {
3853
+ source: "none";
3854
+ } | {
3855
+ channel: number;
3856
+ source: "microphone";
3857
+ } | {
3858
+ source: "file";
3859
+ fileName: string;
3860
+ filePath: string;
3861
+ } | {
3862
+ source: "url";
3863
+ fileName: string;
3864
+ fileUrl: string;
3865
+ avSyncMsec: number;
3866
+ };
2755
3867
  enabled: boolean;
2756
3868
  id: number;
2757
3869
  active: boolean;
@@ -2779,6 +3891,21 @@ export declare const streamListSchema: z.ZodObject<{
2779
3891
  };
2780
3892
  } | {
2781
3893
  type: "youtube";
3894
+ audio: {
3895
+ source: "none";
3896
+ } | {
3897
+ channel: number;
3898
+ source: "microphone";
3899
+ } | {
3900
+ source: "file";
3901
+ fileName: string;
3902
+ filePath: string;
3903
+ } | {
3904
+ source: "url";
3905
+ fileName: string;
3906
+ fileUrl: string;
3907
+ avSyncMsec: number;
3908
+ };
2782
3909
  enabled: boolean;
2783
3910
  id: number;
2784
3911
  active: boolean;
@@ -2804,27 +3931,27 @@ export declare const streamListSchema: z.ZodObject<{
2804
3931
  isActive: boolean;
2805
3932
  }[];
2806
3933
  };
2807
- statusCameraLed: boolean;
2808
- statusCameraOutput: string;
2809
- saveToSdCard: boolean;
2810
- tags: string[];
2811
- streamPrivacy: "public" | "unlisted" | "private";
2812
- latency: "normal" | "low" | "ultra_low";
2813
- afterEndStatus: "public" | "unlisted" | "private" | "no_change";
2814
- cameraLedStatus: boolean;
2815
- dvr: boolean;
2816
- hasWatchdogs: boolean;
2817
- countdown: boolean;
2818
- enableManualControl: boolean;
2819
- playlist?: string | undefined;
2820
- description?: string | undefined;
2821
- notificationEmail?: string[] | undefined;
2822
3934
  })[];
2823
3935
  }>;
2824
3936
  export type TStreamList = z.infer<typeof streamListSchema>;
2825
3937
  export type TFacebookStream = z.infer<typeof facebookSchema>;
2826
3938
  export declare const isFacebookStream: (stream: TStream) => stream is {
2827
3939
  type: "facebook";
3940
+ audio: {
3941
+ source: "none";
3942
+ } | {
3943
+ channel: number;
3944
+ source: "microphone";
3945
+ } | {
3946
+ source: "file";
3947
+ fileName: string;
3948
+ filePath: string;
3949
+ } | {
3950
+ source: "url";
3951
+ fileName: string;
3952
+ fileUrl: string;
3953
+ avSyncMsec: number;
3954
+ };
2828
3955
  enabled: boolean;
2829
3956
  id: number;
2830
3957
  active: boolean;
@@ -2854,6 +3981,21 @@ export declare const isFacebookStream: (stream: TStream) => stream is {
2854
3981
  export type THlsStream = z.infer<typeof hlsSchema>;
2855
3982
  export declare const isHlsStream: (stream: TStream) => stream is {
2856
3983
  type: "hls";
3984
+ audio: {
3985
+ source: "none";
3986
+ } | {
3987
+ channel: number;
3988
+ source: "microphone";
3989
+ } | {
3990
+ source: "file";
3991
+ fileName: string;
3992
+ filePath: string;
3993
+ } | {
3994
+ source: "url";
3995
+ fileName: string;
3996
+ fileUrl: string;
3997
+ avSyncMsec: number;
3998
+ };
2857
3999
  enabled: boolean;
2858
4000
  id: number;
2859
4001
  active: boolean;
@@ -2883,6 +4025,21 @@ export declare const isHlsStream: (stream: TStream) => stream is {
2883
4025
  export type TMpegDvbStream = z.infer<typeof mpegDvbSchema>;
2884
4026
  export declare const isMpegDvbStream: (stream: TStream) => stream is {
2885
4027
  type: "mpeg_dvb";
4028
+ audio: {
4029
+ source: "none";
4030
+ } | {
4031
+ channel: number;
4032
+ source: "microphone";
4033
+ } | {
4034
+ source: "file";
4035
+ fileName: string;
4036
+ filePath: string;
4037
+ } | {
4038
+ source: "url";
4039
+ fileName: string;
4040
+ fileUrl: string;
4041
+ avSyncMsec: number;
4042
+ };
2886
4043
  port: number;
2887
4044
  enabled: boolean;
2888
4045
  id: number;
@@ -2928,6 +4085,21 @@ export declare const isMpegDvbStream: (stream: TStream) => stream is {
2928
4085
  export type TRtmpStream = z.infer<typeof rtmpSchema>;
2929
4086
  export declare const isRtmpStream: (stream: TStream) => stream is {
2930
4087
  type: "rtmp";
4088
+ audio: {
4089
+ source: "none";
4090
+ } | {
4091
+ channel: number;
4092
+ source: "microphone";
4093
+ } | {
4094
+ source: "file";
4095
+ fileName: string;
4096
+ filePath: string;
4097
+ } | {
4098
+ source: "url";
4099
+ fileName: string;
4100
+ fileUrl: string;
4101
+ avSyncMsec: number;
4102
+ };
2931
4103
  enabled: boolean;
2932
4104
  id: number;
2933
4105
  active: boolean;
@@ -2960,6 +4132,21 @@ export declare const isRtmpStream: (stream: TStream) => stream is {
2960
4132
  export type TSdCardStream = z.infer<typeof sdCardSchema>;
2961
4133
  export declare const isSdCardStream: (stream: TStream) => stream is {
2962
4134
  type: "sd_card";
4135
+ audio: {
4136
+ source: "none";
4137
+ } | {
4138
+ channel: number;
4139
+ source: "microphone";
4140
+ } | {
4141
+ source: "file";
4142
+ fileName: string;
4143
+ filePath: string;
4144
+ } | {
4145
+ source: "url";
4146
+ fileName: string;
4147
+ fileUrl: string;
4148
+ avSyncMsec: number;
4149
+ };
2963
4150
  enabled: boolean;
2964
4151
  id: number;
2965
4152
  active: boolean;
@@ -2989,6 +4176,21 @@ export declare const isSdCardStream: (stream: TStream) => stream is {
2989
4176
  export type TWindyStream = z.infer<typeof windySchema>;
2990
4177
  export declare const isWindyStream: (stream: TStream) => stream is {
2991
4178
  type: "windy";
4179
+ audio: {
4180
+ source: "none";
4181
+ } | {
4182
+ channel: number;
4183
+ source: "microphone";
4184
+ } | {
4185
+ source: "file";
4186
+ fileName: string;
4187
+ filePath: string;
4188
+ } | {
4189
+ source: "url";
4190
+ fileName: string;
4191
+ fileUrl: string;
4192
+ avSyncMsec: number;
4193
+ };
2992
4194
  enabled: boolean;
2993
4195
  id: number;
2994
4196
  active: boolean;
@@ -3018,6 +4220,21 @@ export declare const isWindyStream: (stream: TStream) => stream is {
3018
4220
  export type TYouTubeStream = z.infer<typeof youtubeSchema>;
3019
4221
  export declare const isYouTubeStream: (stream: TStream) => stream is {
3020
4222
  type: "youtube";
4223
+ audio: {
4224
+ source: "none";
4225
+ } | {
4226
+ channel: number;
4227
+ source: "microphone";
4228
+ } | {
4229
+ source: "file";
4230
+ fileName: string;
4231
+ filePath: string;
4232
+ } | {
4233
+ source: "url";
4234
+ fileName: string;
4235
+ fileUrl: string;
4236
+ avSyncMsec: number;
4237
+ };
3021
4238
  enabled: boolean;
3022
4239
  id: number;
3023
4240
  active: boolean;
@@ -3043,21 +4260,6 @@ export declare const isYouTubeStream: (stream: TStream) => stream is {
3043
4260
  isActive: boolean;
3044
4261
  }[];
3045
4262
  };
3046
- statusCameraLed: boolean;
3047
- statusCameraOutput: string;
3048
- saveToSdCard: boolean;
3049
- tags: string[];
3050
- streamPrivacy: "public" | "unlisted" | "private";
3051
- latency: "normal" | "low" | "ultra_low";
3052
- afterEndStatus: "public" | "unlisted" | "private" | "no_change";
3053
- cameraLedStatus: boolean;
3054
- dvr: boolean;
3055
- hasWatchdogs: boolean;
3056
- countdown: boolean;
3057
- enableManualControl: boolean;
3058
- playlist?: string | undefined;
3059
- description?: string | undefined;
3060
- notificationEmail?: string[] | undefined;
3061
4263
  };
3062
4264
  export declare enum AudioType {
3063
4265
  MP3 = 0,