camstreamerlib 4.0.0-beta.129 → 4.0.0-beta.130

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.
@@ -2,7 +2,7 @@ import { z } from 'zod';
2
2
  import { facebookSchema } from './facebookSchema';
3
3
  import { windySchema } from './windySchema';
4
4
  import { youtubeSchema } from './youtubeSchema';
5
- import { churchSchema, daCastSchema, dailymotionSchema, gameChangerSchema, hlsPullSchema, hlsPushSchema, ibmSchema, microsoftAzureSchema, microsoftStreamSchema, mpegDvbSchema, rtmpSchema, sdCardSchema, srtSchema, twitchSchema, vimeoSchema, wowzaSchema, youtubeRtmpSchema } from './streamsSchema';
5
+ import { daCastSchema, dailymotionSchema, facebookRtmpSchema, gameChangerSchema, hlsPullSchema, hlsPushSchema, ibmSchema, microsoftAzureSchema, microsoftStreamSchema, mpegDvbSchema, rtmpSchema, sdCardSchema, srtSchema, twitchSchema, vimeoSchema, wowzaSchema, youtubeRtmpSchema } from './streamsSchema';
6
6
  import { FileLike } from '../common';
7
7
  export declare const streamSchema: z.ZodDiscriminatedUnion<"platform", [z.ZodObject<{
8
8
  streamId: z.ZodString;
@@ -759,7 +759,7 @@ export declare const streamSchema: z.ZodDiscriminatedUnion<"platform", [z.ZodObj
759
759
  port?: number | undefined;
760
760
  }>;
761
761
  } & {
762
- platform: z.ZodLiteral<"mpeg_dvb">;
762
+ platform: z.ZodLiteral<"facebook_rtmp">;
763
763
  }, "strip", z.ZodTypeAny, {
764
764
  status: {
765
765
  led: boolean;
@@ -835,7 +835,7 @@ export declare const streamSchema: z.ZodDiscriminatedUnion<"platform", [z.ZodObj
835
835
  forceStereo: boolean;
836
836
  avSyncMsec: number;
837
837
  };
838
- platform: "mpeg_dvb";
838
+ platform: "facebook_rtmp";
839
839
  }, {
840
840
  status: {
841
841
  led: boolean;
@@ -911,7 +911,7 @@ export declare const streamSchema: z.ZodDiscriminatedUnion<"platform", [z.ZodObj
911
911
  forceStereo: boolean;
912
912
  avSyncMsec: number;
913
913
  };
914
- platform: "mpeg_dvb";
914
+ platform: "facebook_rtmp";
915
915
  }>, z.ZodObject<{
916
916
  streamId: z.ZodString;
917
917
  enabled: z.ZodBoolean;
@@ -1192,10 +1192,7 @@ export declare const streamSchema: z.ZodDiscriminatedUnion<"platform", [z.ZodObj
1192
1192
  port?: number | undefined;
1193
1193
  }>;
1194
1194
  } & {
1195
- streamKey: z.ZodString;
1196
- streamIdentifier: z.ZodOptional<z.ZodString>;
1197
- } & {
1198
- platform: z.ZodLiteral<"rtmp">;
1195
+ platform: z.ZodLiteral<"mpeg_dvb">;
1199
1196
  }, "strip", z.ZodTypeAny, {
1200
1197
  status: {
1201
1198
  led: boolean;
@@ -1271,9 +1268,7 @@ export declare const streamSchema: z.ZodDiscriminatedUnion<"platform", [z.ZodObj
1271
1268
  forceStereo: boolean;
1272
1269
  avSyncMsec: number;
1273
1270
  };
1274
- platform: "rtmp";
1275
- streamKey: string;
1276
- streamIdentifier?: string | undefined;
1271
+ platform: "mpeg_dvb";
1277
1272
  }, {
1278
1273
  status: {
1279
1274
  led: boolean;
@@ -1349,9 +1344,7 @@ export declare const streamSchema: z.ZodDiscriminatedUnion<"platform", [z.ZodObj
1349
1344
  forceStereo: boolean;
1350
1345
  avSyncMsec: number;
1351
1346
  };
1352
- platform: "rtmp";
1353
- streamKey: string;
1354
- streamIdentifier?: string | undefined;
1347
+ platform: "mpeg_dvb";
1355
1348
  }>, z.ZodObject<{
1356
1349
  streamId: z.ZodString;
1357
1350
  enabled: z.ZodBoolean;
@@ -1632,7 +1625,7 @@ export declare const streamSchema: z.ZodDiscriminatedUnion<"platform", [z.ZodObj
1632
1625
  port?: number | undefined;
1633
1626
  }>;
1634
1627
  } & {
1635
- platform: z.ZodLiteral<"sd_card">;
1628
+ platform: z.ZodLiteral<"rtmp">;
1636
1629
  }, "strip", z.ZodTypeAny, {
1637
1630
  status: {
1638
1631
  led: boolean;
@@ -1708,7 +1701,7 @@ export declare const streamSchema: z.ZodDiscriminatedUnion<"platform", [z.ZodObj
1708
1701
  forceStereo: boolean;
1709
1702
  avSyncMsec: number;
1710
1703
  };
1711
- platform: "sd_card";
1704
+ platform: "rtmp";
1712
1705
  }, {
1713
1706
  status: {
1714
1707
  led: boolean;
@@ -1784,7 +1777,7 @@ export declare const streamSchema: z.ZodDiscriminatedUnion<"platform", [z.ZodObj
1784
1777
  forceStereo: boolean;
1785
1778
  avSyncMsec: number;
1786
1779
  };
1787
- platform: "sd_card";
1780
+ platform: "rtmp";
1788
1781
  }>, z.ZodObject<{
1789
1782
  streamId: z.ZodString;
1790
1783
  enabled: z.ZodBoolean;
@@ -2065,7 +2058,7 @@ export declare const streamSchema: z.ZodDiscriminatedUnion<"platform", [z.ZodObj
2065
2058
  port?: number | undefined;
2066
2059
  }>;
2067
2060
  } & {
2068
- platform: z.ZodLiteral<"windy">;
2061
+ platform: z.ZodLiteral<"sd_card">;
2069
2062
  }, "strip", z.ZodTypeAny, {
2070
2063
  status: {
2071
2064
  led: boolean;
@@ -2141,7 +2134,7 @@ export declare const streamSchema: z.ZodDiscriminatedUnion<"platform", [z.ZodObj
2141
2134
  forceStereo: boolean;
2142
2135
  avSyncMsec: number;
2143
2136
  };
2144
- platform: "windy";
2137
+ platform: "sd_card";
2145
2138
  }, {
2146
2139
  status: {
2147
2140
  led: boolean;
@@ -2217,7 +2210,7 @@ export declare const streamSchema: z.ZodDiscriminatedUnion<"platform", [z.ZodObj
2217
2210
  forceStereo: boolean;
2218
2211
  avSyncMsec: number;
2219
2212
  };
2220
- platform: "windy";
2213
+ platform: "sd_card";
2221
2214
  }>, z.ZodObject<{
2222
2215
  streamId: z.ZodString;
2223
2216
  enabled: z.ZodBoolean;
@@ -2498,18 +2491,7 @@ export declare const streamSchema: z.ZodDiscriminatedUnion<"platform", [z.ZodObj
2498
2491
  port?: number | undefined;
2499
2492
  }>;
2500
2493
  } & {
2501
- platform: z.ZodLiteral<"youtube">;
2502
- description: z.ZodOptional<z.ZodString>;
2503
- playlist: z.ZodOptional<z.ZodString>;
2504
- tags: z.ZodArray<z.ZodString, "many">;
2505
- notificationEmail: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
2506
- streamPrivacy: z.ZodUnion<[z.ZodLiteral<"public">, z.ZodLiteral<"unlisted">, z.ZodLiteral<"private">]>;
2507
- latency: z.ZodUnion<[z.ZodLiteral<"normal">, z.ZodLiteral<"low">, z.ZodLiteral<"ultra_low">]>;
2508
- afterEndStatus: z.ZodUnion<[z.ZodLiteral<"no_change">, z.ZodLiteral<"public">, z.ZodLiteral<"unlisted">, z.ZodLiteral<"private">]>;
2509
- dvr: z.ZodBoolean;
2510
- hasWatchdogs: z.ZodBoolean;
2511
- countdown: z.ZodBoolean;
2512
- enableManualControl: z.ZodBoolean;
2494
+ platform: z.ZodLiteral<"windy">;
2513
2495
  }, "strip", z.ZodTypeAny, {
2514
2496
  status: {
2515
2497
  led: boolean;
@@ -2585,18 +2567,7 @@ export declare const streamSchema: z.ZodDiscriminatedUnion<"platform", [z.ZodObj
2585
2567
  forceStereo: boolean;
2586
2568
  avSyncMsec: number;
2587
2569
  };
2588
- streamPrivacy: "public" | "unlisted" | "private";
2589
- platform: "youtube";
2590
- countdown: boolean;
2591
- tags: string[];
2592
- latency: "normal" | "low" | "ultra_low";
2593
- afterEndStatus: "public" | "unlisted" | "private" | "no_change";
2594
- dvr: boolean;
2595
- hasWatchdogs: boolean;
2596
- enableManualControl: boolean;
2597
- description?: string | undefined;
2598
- playlist?: string | undefined;
2599
- notificationEmail?: string[] | undefined;
2570
+ platform: "windy";
2600
2571
  }, {
2601
2572
  status: {
2602
2573
  led: boolean;
@@ -2672,18 +2643,7 @@ export declare const streamSchema: z.ZodDiscriminatedUnion<"platform", [z.ZodObj
2672
2643
  forceStereo: boolean;
2673
2644
  avSyncMsec: number;
2674
2645
  };
2675
- streamPrivacy: "public" | "unlisted" | "private";
2676
- platform: "youtube";
2677
- countdown: boolean;
2678
- tags: string[];
2679
- latency: "normal" | "low" | "ultra_low";
2680
- afterEndStatus: "public" | "unlisted" | "private" | "no_change";
2681
- dvr: boolean;
2682
- hasWatchdogs: boolean;
2683
- enableManualControl: boolean;
2684
- description?: string | undefined;
2685
- playlist?: string | undefined;
2686
- notificationEmail?: string[] | undefined;
2646
+ platform: "windy";
2687
2647
  }>, z.ZodObject<{
2688
2648
  streamId: z.ZodString;
2689
2649
  enabled: z.ZodBoolean;
@@ -2964,7 +2924,18 @@ export declare const streamSchema: z.ZodDiscriminatedUnion<"platform", [z.ZodObj
2964
2924
  port?: number | undefined;
2965
2925
  }>;
2966
2926
  } & {
2967
- platform: z.ZodLiteral<"vimeo">;
2927
+ platform: z.ZodLiteral<"youtube">;
2928
+ description: z.ZodOptional<z.ZodString>;
2929
+ playlist: z.ZodOptional<z.ZodString>;
2930
+ tags: z.ZodArray<z.ZodString, "many">;
2931
+ notificationEmail: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
2932
+ streamPrivacy: z.ZodUnion<[z.ZodLiteral<"public">, z.ZodLiteral<"unlisted">, z.ZodLiteral<"private">]>;
2933
+ latency: z.ZodUnion<[z.ZodLiteral<"normal">, z.ZodLiteral<"low">, z.ZodLiteral<"ultra_low">]>;
2934
+ afterEndStatus: z.ZodUnion<[z.ZodLiteral<"no_change">, z.ZodLiteral<"public">, z.ZodLiteral<"unlisted">, z.ZodLiteral<"private">]>;
2935
+ dvr: z.ZodBoolean;
2936
+ hasWatchdogs: z.ZodBoolean;
2937
+ countdown: z.ZodBoolean;
2938
+ enableManualControl: z.ZodBoolean;
2968
2939
  }, "strip", z.ZodTypeAny, {
2969
2940
  status: {
2970
2941
  led: boolean;
@@ -3040,7 +3011,18 @@ export declare const streamSchema: z.ZodDiscriminatedUnion<"platform", [z.ZodObj
3040
3011
  forceStereo: boolean;
3041
3012
  avSyncMsec: number;
3042
3013
  };
3043
- platform: "vimeo";
3014
+ streamPrivacy: "public" | "unlisted" | "private";
3015
+ platform: "youtube";
3016
+ countdown: boolean;
3017
+ tags: string[];
3018
+ latency: "normal" | "low" | "ultra_low";
3019
+ afterEndStatus: "public" | "unlisted" | "private" | "no_change";
3020
+ dvr: boolean;
3021
+ hasWatchdogs: boolean;
3022
+ enableManualControl: boolean;
3023
+ description?: string | undefined;
3024
+ playlist?: string | undefined;
3025
+ notificationEmail?: string[] | undefined;
3044
3026
  }, {
3045
3027
  status: {
3046
3028
  led: boolean;
@@ -3116,7 +3098,18 @@ export declare const streamSchema: z.ZodDiscriminatedUnion<"platform", [z.ZodObj
3116
3098
  forceStereo: boolean;
3117
3099
  avSyncMsec: number;
3118
3100
  };
3119
- platform: "vimeo";
3101
+ streamPrivacy: "public" | "unlisted" | "private";
3102
+ platform: "youtube";
3103
+ countdown: boolean;
3104
+ tags: string[];
3105
+ latency: "normal" | "low" | "ultra_low";
3106
+ afterEndStatus: "public" | "unlisted" | "private" | "no_change";
3107
+ dvr: boolean;
3108
+ hasWatchdogs: boolean;
3109
+ enableManualControl: boolean;
3110
+ description?: string | undefined;
3111
+ playlist?: string | undefined;
3112
+ notificationEmail?: string[] | undefined;
3120
3113
  }>, z.ZodObject<{
3121
3114
  streamId: z.ZodString;
3122
3115
  enabled: z.ZodBoolean;
@@ -3397,7 +3390,7 @@ export declare const streamSchema: z.ZodDiscriminatedUnion<"platform", [z.ZodObj
3397
3390
  port?: number | undefined;
3398
3391
  }>;
3399
3392
  } & {
3400
- platform: z.ZodLiteral<"twitch">;
3393
+ platform: z.ZodLiteral<"vimeo">;
3401
3394
  }, "strip", z.ZodTypeAny, {
3402
3395
  status: {
3403
3396
  led: boolean;
@@ -3473,7 +3466,7 @@ export declare const streamSchema: z.ZodDiscriminatedUnion<"platform", [z.ZodObj
3473
3466
  forceStereo: boolean;
3474
3467
  avSyncMsec: number;
3475
3468
  };
3476
- platform: "twitch";
3469
+ platform: "vimeo";
3477
3470
  }, {
3478
3471
  status: {
3479
3472
  led: boolean;
@@ -3549,7 +3542,7 @@ export declare const streamSchema: z.ZodDiscriminatedUnion<"platform", [z.ZodObj
3549
3542
  forceStereo: boolean;
3550
3543
  avSyncMsec: number;
3551
3544
  };
3552
- platform: "twitch";
3545
+ platform: "vimeo";
3553
3546
  }>, z.ZodObject<{
3554
3547
  streamId: z.ZodString;
3555
3548
  enabled: z.ZodBoolean;
@@ -3830,7 +3823,7 @@ export declare const streamSchema: z.ZodDiscriminatedUnion<"platform", [z.ZodObj
3830
3823
  port?: number | undefined;
3831
3824
  }>;
3832
3825
  } & {
3833
- platform: z.ZodLiteral<"church">;
3826
+ platform: z.ZodLiteral<"twitch">;
3834
3827
  }, "strip", z.ZodTypeAny, {
3835
3828
  status: {
3836
3829
  led: boolean;
@@ -3906,7 +3899,7 @@ export declare const streamSchema: z.ZodDiscriminatedUnion<"platform", [z.ZodObj
3906
3899
  forceStereo: boolean;
3907
3900
  avSyncMsec: number;
3908
3901
  };
3909
- platform: "church";
3902
+ platform: "twitch";
3910
3903
  }, {
3911
3904
  status: {
3912
3905
  led: boolean;
@@ -3982,7 +3975,7 @@ export declare const streamSchema: z.ZodDiscriminatedUnion<"platform", [z.ZodObj
3982
3975
  forceStereo: boolean;
3983
3976
  avSyncMsec: number;
3984
3977
  };
3985
- platform: "church";
3978
+ platform: "twitch";
3986
3979
  }>, z.ZodObject<{
3987
3980
  streamId: z.ZodString;
3988
3981
  enabled: z.ZodBoolean;
@@ -8159,9 +8152,6 @@ export declare const streamSchema: z.ZodDiscriminatedUnion<"platform", [z.ZodObj
8159
8152
  led: boolean;
8160
8153
  port?: number | undefined;
8161
8154
  }>;
8162
- } & {
8163
- streamKey: z.ZodString;
8164
- streamIdentifier: z.ZodOptional<z.ZodString>;
8165
8155
  } & {
8166
8156
  platform: z.ZodLiteral<"game_changer">;
8167
8157
  }, "strip", z.ZodTypeAny, {
@@ -8240,8 +8230,6 @@ export declare const streamSchema: z.ZodDiscriminatedUnion<"platform", [z.ZodObj
8240
8230
  avSyncMsec: number;
8241
8231
  };
8242
8232
  platform: "game_changer";
8243
- streamKey: string;
8244
- streamIdentifier?: string | undefined;
8245
8233
  }, {
8246
8234
  status: {
8247
8235
  led: boolean;
@@ -8318,8 +8306,6 @@ export declare const streamSchema: z.ZodDiscriminatedUnion<"platform", [z.ZodObj
8318
8306
  avSyncMsec: number;
8319
8307
  };
8320
8308
  platform: "game_changer";
8321
- streamKey: string;
8322
- streamIdentifier?: string | undefined;
8323
8309
  }>, z.ZodObject<{
8324
8310
  streamId: z.ZodString;
8325
8311
  enabled: z.ZodBoolean;
@@ -8599,9 +8585,6 @@ export declare const streamSchema: z.ZodDiscriminatedUnion<"platform", [z.ZodObj
8599
8585
  led: boolean;
8600
8586
  port?: number | undefined;
8601
8587
  }>;
8602
- } & {
8603
- streamKey: z.ZodString;
8604
- streamIdentifier: z.ZodOptional<z.ZodString>;
8605
8588
  } & {
8606
8589
  platform: z.ZodLiteral<"youtube_rtmp">;
8607
8590
  }, "strip", z.ZodTypeAny, {
@@ -8680,8 +8663,6 @@ export declare const streamSchema: z.ZodDiscriminatedUnion<"platform", [z.ZodObj
8680
8663
  avSyncMsec: number;
8681
8664
  };
8682
8665
  platform: "youtube_rtmp";
8683
- streamKey: string;
8684
- streamIdentifier?: string | undefined;
8685
8666
  }, {
8686
8667
  status: {
8687
8668
  led: boolean;
@@ -8758,8 +8739,6 @@ export declare const streamSchema: z.ZodDiscriminatedUnion<"platform", [z.ZodObj
8758
8739
  avSyncMsec: number;
8759
8740
  };
8760
8741
  platform: "youtube_rtmp";
8761
- streamKey: string;
8762
- streamIdentifier?: string | undefined;
8763
8742
  }>]>;
8764
8743
  export type TStream = z.infer<typeof streamSchema>;
8765
8744
  export type TPlatform = TStream['platform'];
@@ -9519,7 +9498,7 @@ export declare const streamListSchema: z.ZodObject<{
9519
9498
  port?: number | undefined;
9520
9499
  }>;
9521
9500
  } & {
9522
- platform: z.ZodLiteral<"mpeg_dvb">;
9501
+ platform: z.ZodLiteral<"facebook_rtmp">;
9523
9502
  }, "strip", z.ZodTypeAny, {
9524
9503
  status: {
9525
9504
  led: boolean;
@@ -9595,7 +9574,7 @@ export declare const streamListSchema: z.ZodObject<{
9595
9574
  forceStereo: boolean;
9596
9575
  avSyncMsec: number;
9597
9576
  };
9598
- platform: "mpeg_dvb";
9577
+ platform: "facebook_rtmp";
9599
9578
  }, {
9600
9579
  status: {
9601
9580
  led: boolean;
@@ -9671,7 +9650,7 @@ export declare const streamListSchema: z.ZodObject<{
9671
9650
  forceStereo: boolean;
9672
9651
  avSyncMsec: number;
9673
9652
  };
9674
- platform: "mpeg_dvb";
9653
+ platform: "facebook_rtmp";
9675
9654
  }>, z.ZodObject<{
9676
9655
  streamId: z.ZodString;
9677
9656
  enabled: z.ZodBoolean;
@@ -9952,10 +9931,7 @@ export declare const streamListSchema: z.ZodObject<{
9952
9931
  port?: number | undefined;
9953
9932
  }>;
9954
9933
  } & {
9955
- streamKey: z.ZodString;
9956
- streamIdentifier: z.ZodOptional<z.ZodString>;
9957
- } & {
9958
- platform: z.ZodLiteral<"rtmp">;
9934
+ platform: z.ZodLiteral<"mpeg_dvb">;
9959
9935
  }, "strip", z.ZodTypeAny, {
9960
9936
  status: {
9961
9937
  led: boolean;
@@ -10031,9 +10007,7 @@ export declare const streamListSchema: z.ZodObject<{
10031
10007
  forceStereo: boolean;
10032
10008
  avSyncMsec: number;
10033
10009
  };
10034
- platform: "rtmp";
10035
- streamKey: string;
10036
- streamIdentifier?: string | undefined;
10010
+ platform: "mpeg_dvb";
10037
10011
  }, {
10038
10012
  status: {
10039
10013
  led: boolean;
@@ -10109,9 +10083,7 @@ export declare const streamListSchema: z.ZodObject<{
10109
10083
  forceStereo: boolean;
10110
10084
  avSyncMsec: number;
10111
10085
  };
10112
- platform: "rtmp";
10113
- streamKey: string;
10114
- streamIdentifier?: string | undefined;
10086
+ platform: "mpeg_dvb";
10115
10087
  }>, z.ZodObject<{
10116
10088
  streamId: z.ZodString;
10117
10089
  enabled: z.ZodBoolean;
@@ -10392,7 +10364,7 @@ export declare const streamListSchema: z.ZodObject<{
10392
10364
  port?: number | undefined;
10393
10365
  }>;
10394
10366
  } & {
10395
- platform: z.ZodLiteral<"sd_card">;
10367
+ platform: z.ZodLiteral<"rtmp">;
10396
10368
  }, "strip", z.ZodTypeAny, {
10397
10369
  status: {
10398
10370
  led: boolean;
@@ -10468,7 +10440,7 @@ export declare const streamListSchema: z.ZodObject<{
10468
10440
  forceStereo: boolean;
10469
10441
  avSyncMsec: number;
10470
10442
  };
10471
- platform: "sd_card";
10443
+ platform: "rtmp";
10472
10444
  }, {
10473
10445
  status: {
10474
10446
  led: boolean;
@@ -10544,7 +10516,7 @@ export declare const streamListSchema: z.ZodObject<{
10544
10516
  forceStereo: boolean;
10545
10517
  avSyncMsec: number;
10546
10518
  };
10547
- platform: "sd_card";
10519
+ platform: "rtmp";
10548
10520
  }>, z.ZodObject<{
10549
10521
  streamId: z.ZodString;
10550
10522
  enabled: z.ZodBoolean;
@@ -10825,7 +10797,7 @@ export declare const streamListSchema: z.ZodObject<{
10825
10797
  port?: number | undefined;
10826
10798
  }>;
10827
10799
  } & {
10828
- platform: z.ZodLiteral<"windy">;
10800
+ platform: z.ZodLiteral<"sd_card">;
10829
10801
  }, "strip", z.ZodTypeAny, {
10830
10802
  status: {
10831
10803
  led: boolean;
@@ -10901,7 +10873,7 @@ export declare const streamListSchema: z.ZodObject<{
10901
10873
  forceStereo: boolean;
10902
10874
  avSyncMsec: number;
10903
10875
  };
10904
- platform: "windy";
10876
+ platform: "sd_card";
10905
10877
  }, {
10906
10878
  status: {
10907
10879
  led: boolean;
@@ -10977,7 +10949,7 @@ export declare const streamListSchema: z.ZodObject<{
10977
10949
  forceStereo: boolean;
10978
10950
  avSyncMsec: number;
10979
10951
  };
10980
- platform: "windy";
10952
+ platform: "sd_card";
10981
10953
  }>, z.ZodObject<{
10982
10954
  streamId: z.ZodString;
10983
10955
  enabled: z.ZodBoolean;
@@ -11258,18 +11230,7 @@ export declare const streamListSchema: z.ZodObject<{
11258
11230
  port?: number | undefined;
11259
11231
  }>;
11260
11232
  } & {
11261
- platform: z.ZodLiteral<"youtube">;
11262
- description: z.ZodOptional<z.ZodString>;
11263
- playlist: z.ZodOptional<z.ZodString>;
11264
- tags: z.ZodArray<z.ZodString, "many">;
11265
- notificationEmail: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
11266
- streamPrivacy: z.ZodUnion<[z.ZodLiteral<"public">, z.ZodLiteral<"unlisted">, z.ZodLiteral<"private">]>;
11267
- latency: z.ZodUnion<[z.ZodLiteral<"normal">, z.ZodLiteral<"low">, z.ZodLiteral<"ultra_low">]>;
11268
- afterEndStatus: z.ZodUnion<[z.ZodLiteral<"no_change">, z.ZodLiteral<"public">, z.ZodLiteral<"unlisted">, z.ZodLiteral<"private">]>;
11269
- dvr: z.ZodBoolean;
11270
- hasWatchdogs: z.ZodBoolean;
11271
- countdown: z.ZodBoolean;
11272
- enableManualControl: z.ZodBoolean;
11233
+ platform: z.ZodLiteral<"windy">;
11273
11234
  }, "strip", z.ZodTypeAny, {
11274
11235
  status: {
11275
11236
  led: boolean;
@@ -11345,18 +11306,7 @@ export declare const streamListSchema: z.ZodObject<{
11345
11306
  forceStereo: boolean;
11346
11307
  avSyncMsec: number;
11347
11308
  };
11348
- streamPrivacy: "public" | "unlisted" | "private";
11349
- platform: "youtube";
11350
- countdown: boolean;
11351
- tags: string[];
11352
- latency: "normal" | "low" | "ultra_low";
11353
- afterEndStatus: "public" | "unlisted" | "private" | "no_change";
11354
- dvr: boolean;
11355
- hasWatchdogs: boolean;
11356
- enableManualControl: boolean;
11357
- description?: string | undefined;
11358
- playlist?: string | undefined;
11359
- notificationEmail?: string[] | undefined;
11309
+ platform: "windy";
11360
11310
  }, {
11361
11311
  status: {
11362
11312
  led: boolean;
@@ -11432,18 +11382,7 @@ export declare const streamListSchema: z.ZodObject<{
11432
11382
  forceStereo: boolean;
11433
11383
  avSyncMsec: number;
11434
11384
  };
11435
- streamPrivacy: "public" | "unlisted" | "private";
11436
- platform: "youtube";
11437
- countdown: boolean;
11438
- tags: string[];
11439
- latency: "normal" | "low" | "ultra_low";
11440
- afterEndStatus: "public" | "unlisted" | "private" | "no_change";
11441
- dvr: boolean;
11442
- hasWatchdogs: boolean;
11443
- enableManualControl: boolean;
11444
- description?: string | undefined;
11445
- playlist?: string | undefined;
11446
- notificationEmail?: string[] | undefined;
11385
+ platform: "windy";
11447
11386
  }>, z.ZodObject<{
11448
11387
  streamId: z.ZodString;
11449
11388
  enabled: z.ZodBoolean;
@@ -11724,7 +11663,18 @@ export declare const streamListSchema: z.ZodObject<{
11724
11663
  port?: number | undefined;
11725
11664
  }>;
11726
11665
  } & {
11727
- platform: z.ZodLiteral<"vimeo">;
11666
+ platform: z.ZodLiteral<"youtube">;
11667
+ description: z.ZodOptional<z.ZodString>;
11668
+ playlist: z.ZodOptional<z.ZodString>;
11669
+ tags: z.ZodArray<z.ZodString, "many">;
11670
+ notificationEmail: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
11671
+ streamPrivacy: z.ZodUnion<[z.ZodLiteral<"public">, z.ZodLiteral<"unlisted">, z.ZodLiteral<"private">]>;
11672
+ latency: z.ZodUnion<[z.ZodLiteral<"normal">, z.ZodLiteral<"low">, z.ZodLiteral<"ultra_low">]>;
11673
+ afterEndStatus: z.ZodUnion<[z.ZodLiteral<"no_change">, z.ZodLiteral<"public">, z.ZodLiteral<"unlisted">, z.ZodLiteral<"private">]>;
11674
+ dvr: z.ZodBoolean;
11675
+ hasWatchdogs: z.ZodBoolean;
11676
+ countdown: z.ZodBoolean;
11677
+ enableManualControl: z.ZodBoolean;
11728
11678
  }, "strip", z.ZodTypeAny, {
11729
11679
  status: {
11730
11680
  led: boolean;
@@ -11800,7 +11750,18 @@ export declare const streamListSchema: z.ZodObject<{
11800
11750
  forceStereo: boolean;
11801
11751
  avSyncMsec: number;
11802
11752
  };
11803
- platform: "vimeo";
11753
+ streamPrivacy: "public" | "unlisted" | "private";
11754
+ platform: "youtube";
11755
+ countdown: boolean;
11756
+ tags: string[];
11757
+ latency: "normal" | "low" | "ultra_low";
11758
+ afterEndStatus: "public" | "unlisted" | "private" | "no_change";
11759
+ dvr: boolean;
11760
+ hasWatchdogs: boolean;
11761
+ enableManualControl: boolean;
11762
+ description?: string | undefined;
11763
+ playlist?: string | undefined;
11764
+ notificationEmail?: string[] | undefined;
11804
11765
  }, {
11805
11766
  status: {
11806
11767
  led: boolean;
@@ -11876,7 +11837,18 @@ export declare const streamListSchema: z.ZodObject<{
11876
11837
  forceStereo: boolean;
11877
11838
  avSyncMsec: number;
11878
11839
  };
11879
- platform: "vimeo";
11840
+ streamPrivacy: "public" | "unlisted" | "private";
11841
+ platform: "youtube";
11842
+ countdown: boolean;
11843
+ tags: string[];
11844
+ latency: "normal" | "low" | "ultra_low";
11845
+ afterEndStatus: "public" | "unlisted" | "private" | "no_change";
11846
+ dvr: boolean;
11847
+ hasWatchdogs: boolean;
11848
+ enableManualControl: boolean;
11849
+ description?: string | undefined;
11850
+ playlist?: string | undefined;
11851
+ notificationEmail?: string[] | undefined;
11880
11852
  }>, z.ZodObject<{
11881
11853
  streamId: z.ZodString;
11882
11854
  enabled: z.ZodBoolean;
@@ -12157,7 +12129,7 @@ export declare const streamListSchema: z.ZodObject<{
12157
12129
  port?: number | undefined;
12158
12130
  }>;
12159
12131
  } & {
12160
- platform: z.ZodLiteral<"twitch">;
12132
+ platform: z.ZodLiteral<"vimeo">;
12161
12133
  }, "strip", z.ZodTypeAny, {
12162
12134
  status: {
12163
12135
  led: boolean;
@@ -12233,7 +12205,7 @@ export declare const streamListSchema: z.ZodObject<{
12233
12205
  forceStereo: boolean;
12234
12206
  avSyncMsec: number;
12235
12207
  };
12236
- platform: "twitch";
12208
+ platform: "vimeo";
12237
12209
  }, {
12238
12210
  status: {
12239
12211
  led: boolean;
@@ -12309,7 +12281,7 @@ export declare const streamListSchema: z.ZodObject<{
12309
12281
  forceStereo: boolean;
12310
12282
  avSyncMsec: number;
12311
12283
  };
12312
- platform: "twitch";
12284
+ platform: "vimeo";
12313
12285
  }>, z.ZodObject<{
12314
12286
  streamId: z.ZodString;
12315
12287
  enabled: z.ZodBoolean;
@@ -12590,7 +12562,7 @@ export declare const streamListSchema: z.ZodObject<{
12590
12562
  port?: number | undefined;
12591
12563
  }>;
12592
12564
  } & {
12593
- platform: z.ZodLiteral<"church">;
12565
+ platform: z.ZodLiteral<"twitch">;
12594
12566
  }, "strip", z.ZodTypeAny, {
12595
12567
  status: {
12596
12568
  led: boolean;
@@ -12666,7 +12638,7 @@ export declare const streamListSchema: z.ZodObject<{
12666
12638
  forceStereo: boolean;
12667
12639
  avSyncMsec: number;
12668
12640
  };
12669
- platform: "church";
12641
+ platform: "twitch";
12670
12642
  }, {
12671
12643
  status: {
12672
12644
  led: boolean;
@@ -12742,7 +12714,7 @@ export declare const streamListSchema: z.ZodObject<{
12742
12714
  forceStereo: boolean;
12743
12715
  avSyncMsec: number;
12744
12716
  };
12745
- platform: "church";
12717
+ platform: "twitch";
12746
12718
  }>, z.ZodObject<{
12747
12719
  streamId: z.ZodString;
12748
12720
  enabled: z.ZodBoolean;
@@ -16919,9 +16891,6 @@ export declare const streamListSchema: z.ZodObject<{
16919
16891
  led: boolean;
16920
16892
  port?: number | undefined;
16921
16893
  }>;
16922
- } & {
16923
- streamKey: z.ZodString;
16924
- streamIdentifier: z.ZodOptional<z.ZodString>;
16925
16894
  } & {
16926
16895
  platform: z.ZodLiteral<"game_changer">;
16927
16896
  }, "strip", z.ZodTypeAny, {
@@ -17000,8 +16969,6 @@ export declare const streamListSchema: z.ZodObject<{
17000
16969
  avSyncMsec: number;
17001
16970
  };
17002
16971
  platform: "game_changer";
17003
- streamKey: string;
17004
- streamIdentifier?: string | undefined;
17005
16972
  }, {
17006
16973
  status: {
17007
16974
  led: boolean;
@@ -17078,8 +17045,6 @@ export declare const streamListSchema: z.ZodObject<{
17078
17045
  avSyncMsec: number;
17079
17046
  };
17080
17047
  platform: "game_changer";
17081
- streamKey: string;
17082
- streamIdentifier?: string | undefined;
17083
17048
  }>, z.ZodObject<{
17084
17049
  streamId: z.ZodString;
17085
17050
  enabled: z.ZodBoolean;
@@ -17359,9 +17324,6 @@ export declare const streamListSchema: z.ZodObject<{
17359
17324
  led: boolean;
17360
17325
  port?: number | undefined;
17361
17326
  }>;
17362
- } & {
17363
- streamKey: z.ZodString;
17364
- streamIdentifier: z.ZodOptional<z.ZodString>;
17365
17327
  } & {
17366
17328
  platform: z.ZodLiteral<"youtube_rtmp">;
17367
17329
  }, "strip", z.ZodTypeAny, {
@@ -17440,8 +17402,6 @@ export declare const streamListSchema: z.ZodObject<{
17440
17402
  avSyncMsec: number;
17441
17403
  };
17442
17404
  platform: "youtube_rtmp";
17443
- streamKey: string;
17444
- streamIdentifier?: string | undefined;
17445
17405
  }, {
17446
17406
  status: {
17447
17407
  led: boolean;
@@ -17518,8 +17478,6 @@ export declare const streamListSchema: z.ZodObject<{
17518
17478
  avSyncMsec: number;
17519
17479
  };
17520
17480
  platform: "youtube_rtmp";
17521
- streamKey: string;
17522
- streamIdentifier?: string | undefined;
17523
17481
  }>]>, "many">;
17524
17482
  }, "strip", z.ZodTypeAny, {
17525
17483
  streamList: ({
@@ -17846,7 +17804,7 @@ export declare const streamListSchema: z.ZodObject<{
17846
17804
  forceStereo: boolean;
17847
17805
  avSyncMsec: number;
17848
17806
  };
17849
- platform: "church";
17807
+ platform: "da_cast";
17850
17808
  } | {
17851
17809
  status: {
17852
17810
  led: boolean;
@@ -17922,7 +17880,7 @@ export declare const streamListSchema: z.ZodObject<{
17922
17880
  forceStereo: boolean;
17923
17881
  avSyncMsec: number;
17924
17882
  };
17925
- platform: "da_cast";
17883
+ platform: "dailymotion";
17926
17884
  } | {
17927
17885
  status: {
17928
17886
  led: boolean;
@@ -17998,7 +17956,7 @@ export declare const streamListSchema: z.ZodObject<{
17998
17956
  forceStereo: boolean;
17999
17957
  avSyncMsec: number;
18000
17958
  };
18001
- platform: "dailymotion";
17959
+ platform: "facebook_rtmp";
18002
17960
  } | {
18003
17961
  status: {
18004
17962
  led: boolean;
@@ -18075,8 +18033,6 @@ export declare const streamListSchema: z.ZodObject<{
18075
18033
  avSyncMsec: number;
18076
18034
  };
18077
18035
  platform: "game_changer";
18078
- streamKey: string;
18079
- streamIdentifier?: string | undefined;
18080
18036
  } | {
18081
18037
  status: {
18082
18038
  led: boolean;
@@ -18609,8 +18565,6 @@ export declare const streamListSchema: z.ZodObject<{
18609
18565
  avSyncMsec: number;
18610
18566
  };
18611
18567
  platform: "rtmp";
18612
- streamKey: string;
18613
- streamIdentifier?: string | undefined;
18614
18568
  } | {
18615
18569
  status: {
18616
18570
  led: boolean;
@@ -19067,8 +19021,6 @@ export declare const streamListSchema: z.ZodObject<{
19067
19021
  avSyncMsec: number;
19068
19022
  };
19069
19023
  platform: "youtube_rtmp";
19070
- streamKey: string;
19071
- streamIdentifier?: string | undefined;
19072
19024
  })[];
19073
19025
  }, {
19074
19026
  streamList: ({
@@ -19395,7 +19347,7 @@ export declare const streamListSchema: z.ZodObject<{
19395
19347
  forceStereo: boolean;
19396
19348
  avSyncMsec: number;
19397
19349
  };
19398
- platform: "church";
19350
+ platform: "da_cast";
19399
19351
  } | {
19400
19352
  status: {
19401
19353
  led: boolean;
@@ -19471,7 +19423,7 @@ export declare const streamListSchema: z.ZodObject<{
19471
19423
  forceStereo: boolean;
19472
19424
  avSyncMsec: number;
19473
19425
  };
19474
- platform: "da_cast";
19426
+ platform: "dailymotion";
19475
19427
  } | {
19476
19428
  status: {
19477
19429
  led: boolean;
@@ -19547,7 +19499,7 @@ export declare const streamListSchema: z.ZodObject<{
19547
19499
  forceStereo: boolean;
19548
19500
  avSyncMsec: number;
19549
19501
  };
19550
- platform: "dailymotion";
19502
+ platform: "facebook_rtmp";
19551
19503
  } | {
19552
19504
  status: {
19553
19505
  led: boolean;
@@ -19624,8 +19576,6 @@ export declare const streamListSchema: z.ZodObject<{
19624
19576
  avSyncMsec: number;
19625
19577
  };
19626
19578
  platform: "game_changer";
19627
- streamKey: string;
19628
- streamIdentifier?: string | undefined;
19629
19579
  } | {
19630
19580
  status: {
19631
19581
  led: boolean;
@@ -20158,8 +20108,6 @@ export declare const streamListSchema: z.ZodObject<{
20158
20108
  avSyncMsec: number;
20159
20109
  };
20160
20110
  platform: "rtmp";
20161
- streamKey: string;
20162
- streamIdentifier?: string | undefined;
20163
20111
  } | {
20164
20112
  status: {
20165
20113
  led: boolean;
@@ -20616,8 +20564,6 @@ export declare const streamListSchema: z.ZodObject<{
20616
20564
  avSyncMsec: number;
20617
20565
  };
20618
20566
  platform: "youtube_rtmp";
20619
- streamKey: string;
20620
- streamIdentifier?: string | undefined;
20621
20567
  })[];
20622
20568
  }>;
20623
20569
  export type TStreamList = z.infer<typeof streamListSchema>;
@@ -20709,8 +20655,8 @@ export declare const isFacebookStream: (stream: TStream) => stream is {
20709
20655
  countdown: boolean;
20710
20656
  description?: string | undefined;
20711
20657
  };
20712
- export type TMpegDvbStream = z.infer<typeof mpegDvbSchema>;
20713
- export declare const isMpegDvbStream: (stream: TStream) => stream is {
20658
+ export type TFacebookRtmpStream = z.infer<typeof facebookRtmpSchema>;
20659
+ export declare const isFacebookRtmpStream: (stream: TStream) => stream is {
20714
20660
  status: {
20715
20661
  led: boolean;
20716
20662
  port?: number | undefined;
@@ -20785,10 +20731,10 @@ export declare const isMpegDvbStream: (stream: TStream) => stream is {
20785
20731
  forceStereo: boolean;
20786
20732
  avSyncMsec: number;
20787
20733
  };
20788
- platform: "mpeg_dvb";
20734
+ platform: "facebook_rtmp";
20789
20735
  };
20790
- export type TRtmpStream = z.infer<typeof rtmpSchema>;
20791
- export declare const isRtmpStream: (stream: TStream) => stream is {
20736
+ export type TMpegDvbStream = z.infer<typeof mpegDvbSchema>;
20737
+ export declare const isMpegDvbStream: (stream: TStream) => stream is {
20792
20738
  status: {
20793
20739
  led: boolean;
20794
20740
  port?: number | undefined;
@@ -20863,12 +20809,10 @@ export declare const isRtmpStream: (stream: TStream) => stream is {
20863
20809
  forceStereo: boolean;
20864
20810
  avSyncMsec: number;
20865
20811
  };
20866
- platform: "rtmp";
20867
- streamKey: string;
20868
- streamIdentifier?: string | undefined;
20812
+ platform: "mpeg_dvb";
20869
20813
  };
20870
- export type TSdCardStream = z.infer<typeof sdCardSchema>;
20871
- export declare const isSdCardStream: (stream: TStream) => stream is {
20814
+ export type TRtmpStream = z.infer<typeof rtmpSchema>;
20815
+ export declare const isRtmpStream: (stream: TStream) => stream is {
20872
20816
  status: {
20873
20817
  led: boolean;
20874
20818
  port?: number | undefined;
@@ -20943,10 +20887,10 @@ export declare const isSdCardStream: (stream: TStream) => stream is {
20943
20887
  forceStereo: boolean;
20944
20888
  avSyncMsec: number;
20945
20889
  };
20946
- platform: "sd_card";
20890
+ platform: "rtmp";
20947
20891
  };
20948
- export type TWindyStream = z.infer<typeof windySchema>;
20949
- export declare const isWindyStream: (stream: TStream) => stream is {
20892
+ export type TSdCardStream = z.infer<typeof sdCardSchema>;
20893
+ export declare const isSdCardStream: (stream: TStream) => stream is {
20950
20894
  status: {
20951
20895
  led: boolean;
20952
20896
  port?: number | undefined;
@@ -21021,10 +20965,10 @@ export declare const isWindyStream: (stream: TStream) => stream is {
21021
20965
  forceStereo: boolean;
21022
20966
  avSyncMsec: number;
21023
20967
  };
21024
- platform: "windy";
20968
+ platform: "sd_card";
21025
20969
  };
21026
- export type TYouTubeStream = z.infer<typeof youtubeSchema>;
21027
- export declare const isYouTubeStream: (stream: TStream) => stream is {
20970
+ export type TWindyStream = z.infer<typeof windySchema>;
20971
+ export declare const isWindyStream: (stream: TStream) => stream is {
21028
20972
  status: {
21029
20973
  led: boolean;
21030
20974
  port?: number | undefined;
@@ -21099,21 +21043,10 @@ export declare const isYouTubeStream: (stream: TStream) => stream is {
21099
21043
  forceStereo: boolean;
21100
21044
  avSyncMsec: number;
21101
21045
  };
21102
- streamPrivacy: "public" | "unlisted" | "private";
21103
- platform: "youtube";
21104
- countdown: boolean;
21105
- tags: string[];
21106
- latency: "normal" | "low" | "ultra_low";
21107
- afterEndStatus: "public" | "unlisted" | "private" | "no_change";
21108
- dvr: boolean;
21109
- hasWatchdogs: boolean;
21110
- enableManualControl: boolean;
21111
- description?: string | undefined;
21112
- playlist?: string | undefined;
21113
- notificationEmail?: string[] | undefined;
21046
+ platform: "windy";
21114
21047
  };
21115
- export type TVimeoStream = z.infer<typeof vimeoSchema>;
21116
- export declare const isVimeoStream: (stream: TStream) => stream is {
21048
+ export type TYouTubeStream = z.infer<typeof youtubeSchema>;
21049
+ export declare const isYouTubeStream: (stream: TStream) => stream is {
21117
21050
  status: {
21118
21051
  led: boolean;
21119
21052
  port?: number | undefined;
@@ -21188,10 +21121,21 @@ export declare const isVimeoStream: (stream: TStream) => stream is {
21188
21121
  forceStereo: boolean;
21189
21122
  avSyncMsec: number;
21190
21123
  };
21191
- platform: "vimeo";
21124
+ streamPrivacy: "public" | "unlisted" | "private";
21125
+ platform: "youtube";
21126
+ countdown: boolean;
21127
+ tags: string[];
21128
+ latency: "normal" | "low" | "ultra_low";
21129
+ afterEndStatus: "public" | "unlisted" | "private" | "no_change";
21130
+ dvr: boolean;
21131
+ hasWatchdogs: boolean;
21132
+ enableManualControl: boolean;
21133
+ description?: string | undefined;
21134
+ playlist?: string | undefined;
21135
+ notificationEmail?: string[] | undefined;
21192
21136
  };
21193
- export type TTwitchStream = z.infer<typeof twitchSchema>;
21194
- export declare const isTwitchStream: (stream: TStream) => stream is {
21137
+ export type TVimeoStream = z.infer<typeof vimeoSchema>;
21138
+ export declare const isVimeoStream: (stream: TStream) => stream is {
21195
21139
  status: {
21196
21140
  led: boolean;
21197
21141
  port?: number | undefined;
@@ -21266,10 +21210,10 @@ export declare const isTwitchStream: (stream: TStream) => stream is {
21266
21210
  forceStereo: boolean;
21267
21211
  avSyncMsec: number;
21268
21212
  };
21269
- platform: "twitch";
21213
+ platform: "vimeo";
21270
21214
  };
21271
- export type TChurchStream = z.infer<typeof churchSchema>;
21272
- export declare const isChurchStream: (stream: TStream) => stream is {
21215
+ export type TTwitchStream = z.infer<typeof twitchSchema>;
21216
+ export declare const isTwitchStream: (stream: TStream) => stream is {
21273
21217
  status: {
21274
21218
  led: boolean;
21275
21219
  port?: number | undefined;
@@ -21344,7 +21288,7 @@ export declare const isChurchStream: (stream: TStream) => stream is {
21344
21288
  forceStereo: boolean;
21345
21289
  avSyncMsec: number;
21346
21290
  };
21347
- platform: "church";
21291
+ platform: "twitch";
21348
21292
  };
21349
21293
  export type TSrtStream = z.infer<typeof srtSchema>;
21350
21294
  export declare const isSrtStream: (stream: TStream) => stream is {
@@ -22125,8 +22069,6 @@ export declare const isGameChangerStream: (stream: TStream) => stream is {
22125
22069
  avSyncMsec: number;
22126
22070
  };
22127
22071
  platform: "game_changer";
22128
- streamKey: string;
22129
- streamIdentifier?: string | undefined;
22130
22072
  };
22131
22073
  export type TYoutubeRtmpStream = z.infer<typeof youtubeRtmpSchema>;
22132
22074
  export declare const isYoutubeRtmpStream: (stream: TStream) => stream is {
@@ -22205,8 +22147,6 @@ export declare const isYoutubeRtmpStream: (stream: TStream) => stream is {
22205
22147
  avSyncMsec: number;
22206
22148
  };
22207
22149
  platform: "youtube_rtmp";
22208
- streamKey: string;
22209
- streamIdentifier?: string | undefined;
22210
22150
  };
22211
22151
  export declare enum AudioType {
22212
22152
  MP3 = 0,