camstreamerlib 4.0.0-beta.110 → 4.0.0-beta.112

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.
@@ -19,6 +19,7 @@ import { microsoftAzureSchema } from './microsoftAzureSchema';
19
19
  import { microsoftStreamSchema } from './microsoftStreamSchema';
20
20
  import { gameChangerSchema } from './gameChangerSchema';
21
21
  import { FileLike } from '../common';
22
+ import { youtubeRtmpSchema } from './youtubeRtmpSchema';
22
23
  export declare const streamSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
23
24
  id: z.ZodNumber;
24
25
  enabled: z.ZodBoolean;
@@ -5632,8 +5633,314 @@ export declare const streamSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<
5632
5633
  outputUrl: string;
5633
5634
  streamKey: string;
5634
5635
  streamIdentifier?: string | undefined;
5636
+ }>, z.ZodObject<{
5637
+ id: z.ZodNumber;
5638
+ enabled: z.ZodBoolean;
5639
+ active: z.ZodBoolean;
5640
+ title: z.ZodString;
5641
+ trigger: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
5642
+ type: z.ZodLiteral<"manual">;
5643
+ ioPort: z.ZodNullable<z.ZodString>;
5644
+ }, "strip", z.ZodTypeAny, {
5645
+ type: "manual";
5646
+ ioPort: string | null;
5647
+ }, {
5648
+ type: "manual";
5649
+ ioPort: string | null;
5650
+ }>, z.ZodObject<{
5651
+ type: z.ZodLiteral<"onetime">;
5652
+ startTime: z.ZodNumber;
5653
+ stopTime: z.ZodNumber;
5654
+ }, "strip", z.ZodTypeAny, {
5655
+ type: "onetime";
5656
+ startTime: number;
5657
+ stopTime: number;
5658
+ }, {
5659
+ type: "onetime";
5660
+ startTime: number;
5661
+ stopTime: number;
5662
+ }>, z.ZodObject<{
5663
+ type: z.ZodLiteral<"recurrent">;
5664
+ schedule: z.ZodArray<z.ZodObject<{
5665
+ start: z.ZodObject<{
5666
+ day: z.ZodNumber;
5667
+ timeS: z.ZodNumber;
5668
+ }, "strip", z.ZodTypeAny, {
5669
+ day: number;
5670
+ timeS: number;
5671
+ }, {
5672
+ day: number;
5673
+ timeS: number;
5674
+ }>;
5675
+ stop: z.ZodObject<{
5676
+ day: z.ZodNumber;
5677
+ timeS: z.ZodNumber;
5678
+ }, "strip", z.ZodTypeAny, {
5679
+ day: number;
5680
+ timeS: number;
5681
+ }, {
5682
+ day: number;
5683
+ timeS: number;
5684
+ }>;
5685
+ isActive: z.ZodBoolean;
5686
+ }, "strip", z.ZodTypeAny, {
5687
+ start: {
5688
+ day: number;
5689
+ timeS: number;
5690
+ };
5691
+ stop: {
5692
+ day: number;
5693
+ timeS: number;
5694
+ };
5695
+ isActive: boolean;
5696
+ }, {
5697
+ start: {
5698
+ day: number;
5699
+ timeS: number;
5700
+ };
5701
+ stop: {
5702
+ day: number;
5703
+ timeS: number;
5704
+ };
5705
+ isActive: boolean;
5706
+ }>, "many">;
5707
+ }, "strip", z.ZodTypeAny, {
5708
+ type: "recurrent";
5709
+ schedule: {
5710
+ start: {
5711
+ day: number;
5712
+ timeS: number;
5713
+ };
5714
+ stop: {
5715
+ day: number;
5716
+ timeS: number;
5717
+ };
5718
+ isActive: boolean;
5719
+ }[];
5720
+ }, {
5721
+ type: "recurrent";
5722
+ schedule: {
5723
+ start: {
5724
+ day: number;
5725
+ timeS: number;
5726
+ };
5727
+ stop: {
5728
+ day: number;
5729
+ timeS: number;
5730
+ };
5731
+ isActive: boolean;
5732
+ }[];
5733
+ }>]>;
5734
+ video: z.ZodObject<{
5735
+ inputType: z.ZodUnion<[z.ZodLiteral<"CSw">, z.ZodLiteral<"CRS">, z.ZodLiteral<"RTSP_URL">]>;
5736
+ sourceUrl: z.ZodOptional<z.ZodString>;
5737
+ internalVapixParameters: z.ZodString;
5738
+ userVapixParameters: z.ZodString;
5739
+ streamingProtocol: z.ZodUnion<[z.ZodLiteral<"RTMP">, z.ZodLiteral<"RTMPS">, z.ZodLiteral<"HLS_PUSH">]>;
5740
+ streamDelay: z.ZodOptional<z.ZodObject<{
5741
+ value: z.ZodNumber;
5742
+ unit: z.ZodUnion<[z.ZodLiteral<"seconds">, z.ZodLiteral<"minutes">, z.ZodLiteral<"hours">]>;
5743
+ }, "strip", z.ZodTypeAny, {
5744
+ value: number;
5745
+ unit: "seconds" | "minutes" | "hours";
5746
+ }, {
5747
+ value: number;
5748
+ unit: "seconds" | "minutes" | "hours";
5749
+ }>>;
5750
+ }, "strip", z.ZodTypeAny, {
5751
+ inputType: "RTSP_URL" | "CSw" | "CRS";
5752
+ internalVapixParameters: string;
5753
+ userVapixParameters: string;
5754
+ streamingProtocol: "RTMP" | "RTMPS" | "HLS_PUSH";
5755
+ sourceUrl?: string | undefined;
5756
+ streamDelay?: {
5757
+ value: number;
5758
+ unit: "seconds" | "minutes" | "hours";
5759
+ } | undefined;
5760
+ }, {
5761
+ inputType: "RTSP_URL" | "CSw" | "CRS";
5762
+ internalVapixParameters: string;
5763
+ userVapixParameters: string;
5764
+ streamingProtocol: "RTMP" | "RTMPS" | "HLS_PUSH";
5765
+ sourceUrl?: string | undefined;
5766
+ streamDelay?: {
5767
+ value: number;
5768
+ unit: "seconds" | "minutes" | "hours";
5769
+ } | undefined;
5770
+ }>;
5771
+ audio: z.ZodDiscriminatedUnion<"source", [z.ZodObject<{
5772
+ source: z.ZodLiteral<"none">;
5773
+ }, "strip", z.ZodTypeAny, {
5774
+ source: "none";
5775
+ }, {
5776
+ source: "none";
5777
+ }>, z.ZodObject<{
5778
+ source: z.ZodLiteral<"microphone">;
5779
+ audioChannelNbr: z.ZodUnion<[z.ZodLiteral<1>, z.ZodLiteral<2>]>;
5780
+ }, "strip", z.ZodTypeAny, {
5781
+ source: "microphone";
5782
+ audioChannelNbr: 1 | 2;
5783
+ }, {
5784
+ source: "microphone";
5785
+ audioChannelNbr: 1 | 2;
5786
+ }>, z.ZodObject<{
5787
+ source: z.ZodLiteral<"file">;
5788
+ fileName: z.ZodString;
5789
+ filePath: z.ZodString;
5790
+ }, "strip", z.ZodTypeAny, {
5791
+ source: "file";
5792
+ fileName: string;
5793
+ filePath: string;
5794
+ }, {
5795
+ source: "file";
5796
+ fileName: string;
5797
+ filePath: string;
5798
+ }>, z.ZodObject<{
5799
+ source: z.ZodLiteral<"url">;
5800
+ fileName: z.ZodString;
5801
+ fileUrl: z.ZodString;
5802
+ avSyncMsec: z.ZodNumber;
5803
+ }, "strip", z.ZodTypeAny, {
5804
+ source: "url";
5805
+ fileName: string;
5806
+ fileUrl: string;
5807
+ avSyncMsec: number;
5808
+ }, {
5809
+ source: "url";
5810
+ fileName: string;
5811
+ fileUrl: string;
5812
+ avSyncMsec: number;
5813
+ }>]>;
5814
+ } & {
5815
+ outputUrl: z.ZodString;
5816
+ streamKey: z.ZodString;
5817
+ streamIdentifier: z.ZodOptional<z.ZodString>;
5818
+ saveToSdCard: z.ZodBoolean;
5819
+ statusCameraLed: z.ZodBoolean;
5820
+ statusCameraOutput: z.ZodNullable<z.ZodString>;
5821
+ } & {
5822
+ type: z.ZodLiteral<"youtube_rtmp">;
5823
+ }, "strip", z.ZodTypeAny, {
5824
+ type: "youtube_rtmp";
5825
+ audio: {
5826
+ source: "none";
5827
+ } | {
5828
+ source: "microphone";
5829
+ audioChannelNbr: 1 | 2;
5830
+ } | {
5831
+ source: "file";
5832
+ fileName: string;
5833
+ filePath: string;
5834
+ } | {
5835
+ source: "url";
5836
+ fileName: string;
5837
+ fileUrl: string;
5838
+ avSyncMsec: number;
5839
+ };
5840
+ video: {
5841
+ inputType: "RTSP_URL" | "CSw" | "CRS";
5842
+ internalVapixParameters: string;
5843
+ userVapixParameters: string;
5844
+ streamingProtocol: "RTMP" | "RTMPS" | "HLS_PUSH";
5845
+ sourceUrl?: string | undefined;
5846
+ streamDelay?: {
5847
+ value: number;
5848
+ unit: "seconds" | "minutes" | "hours";
5849
+ } | undefined;
5850
+ };
5851
+ enabled: boolean;
5852
+ id: number;
5853
+ active: boolean;
5854
+ title: string;
5855
+ trigger: {
5856
+ type: "manual";
5857
+ ioPort: string | null;
5858
+ } | {
5859
+ type: "onetime";
5860
+ startTime: number;
5861
+ stopTime: number;
5862
+ } | {
5863
+ type: "recurrent";
5864
+ schedule: {
5865
+ start: {
5866
+ day: number;
5867
+ timeS: number;
5868
+ };
5869
+ stop: {
5870
+ day: number;
5871
+ timeS: number;
5872
+ };
5873
+ isActive: boolean;
5874
+ }[];
5875
+ };
5876
+ saveToSdCard: boolean;
5877
+ statusCameraLed: boolean;
5878
+ statusCameraOutput: string | null;
5879
+ outputUrl: string;
5880
+ streamKey: string;
5881
+ streamIdentifier?: string | undefined;
5882
+ }, {
5883
+ type: "youtube_rtmp";
5884
+ audio: {
5885
+ source: "none";
5886
+ } | {
5887
+ source: "microphone";
5888
+ audioChannelNbr: 1 | 2;
5889
+ } | {
5890
+ source: "file";
5891
+ fileName: string;
5892
+ filePath: string;
5893
+ } | {
5894
+ source: "url";
5895
+ fileName: string;
5896
+ fileUrl: string;
5897
+ avSyncMsec: number;
5898
+ };
5899
+ video: {
5900
+ inputType: "RTSP_URL" | "CSw" | "CRS";
5901
+ internalVapixParameters: string;
5902
+ userVapixParameters: string;
5903
+ streamingProtocol: "RTMP" | "RTMPS" | "HLS_PUSH";
5904
+ sourceUrl?: string | undefined;
5905
+ streamDelay?: {
5906
+ value: number;
5907
+ unit: "seconds" | "minutes" | "hours";
5908
+ } | undefined;
5909
+ };
5910
+ enabled: boolean;
5911
+ id: number;
5912
+ active: boolean;
5913
+ title: string;
5914
+ trigger: {
5915
+ type: "manual";
5916
+ ioPort: string | null;
5917
+ } | {
5918
+ type: "onetime";
5919
+ startTime: number;
5920
+ stopTime: number;
5921
+ } | {
5922
+ type: "recurrent";
5923
+ schedule: {
5924
+ start: {
5925
+ day: number;
5926
+ timeS: number;
5927
+ };
5928
+ stop: {
5929
+ day: number;
5930
+ timeS: number;
5931
+ };
5932
+ isActive: boolean;
5933
+ }[];
5934
+ };
5935
+ saveToSdCard: boolean;
5936
+ statusCameraLed: boolean;
5937
+ statusCameraOutput: string | null;
5938
+ outputUrl: string;
5939
+ streamKey: string;
5940
+ streamIdentifier?: string | undefined;
5635
5941
  }>]>;
5636
5942
  export type TStream = z.infer<typeof streamSchema>;
5943
+ export type TStreamType = TStream['type'];
5637
5944
  export declare const streamListSchema: z.ZodObject<{
5638
5945
  streamList: z.ZodArray<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
5639
5946
  id: z.ZodNumber;
@@ -5814,41 +6121,362 @@ export declare const streamListSchema: z.ZodObject<{
5814
6121
  avSyncMsec: number;
5815
6122
  }>]>;
5816
6123
  } & {
5817
- type: z.ZodLiteral<"facebook">;
5818
- description: z.ZodOptional<z.ZodString>;
5819
- deleteAfterEnd: z.ZodBoolean;
5820
- saveToSdCard: z.ZodBoolean;
5821
- statusCameraLed: z.ZodBoolean;
5822
- statusCameraOutput: z.ZodNullable<z.ZodString>;
5823
- countdown: z.ZodBoolean;
5824
- post: z.ZodDiscriminatedUnion<"postLocation", [z.ZodObject<{
5825
- postLocation: z.ZodLiteral<"timeline">;
5826
- streamPrivacy: z.ZodUnion<[z.ZodLiteral<"public">, z.ZodLiteral<"friends">, z.ZodLiteral<"only_me">]>;
5827
- }, "strip", z.ZodTypeAny, {
5828
- postLocation: "timeline";
5829
- streamPrivacy: "public" | "friends" | "only_me";
5830
- }, {
5831
- postLocation: "timeline";
5832
- streamPrivacy: "public" | "friends" | "only_me";
5833
- }>, z.ZodObject<{
5834
- postLocation: z.ZodLiteral<"page">;
5835
- page: z.ZodString;
5836
- }, "strip", z.ZodTypeAny, {
5837
- postLocation: "page";
5838
- page: string;
5839
- }, {
5840
- postLocation: "page";
5841
- page: string;
5842
- }>]>;
6124
+ type: z.ZodLiteral<"facebook">;
6125
+ description: z.ZodOptional<z.ZodString>;
6126
+ deleteAfterEnd: z.ZodBoolean;
6127
+ saveToSdCard: z.ZodBoolean;
6128
+ statusCameraLed: z.ZodBoolean;
6129
+ statusCameraOutput: z.ZodNullable<z.ZodString>;
6130
+ countdown: z.ZodBoolean;
6131
+ post: z.ZodDiscriminatedUnion<"postLocation", [z.ZodObject<{
6132
+ postLocation: z.ZodLiteral<"timeline">;
6133
+ streamPrivacy: z.ZodUnion<[z.ZodLiteral<"public">, z.ZodLiteral<"friends">, z.ZodLiteral<"only_me">]>;
6134
+ }, "strip", z.ZodTypeAny, {
6135
+ postLocation: "timeline";
6136
+ streamPrivacy: "public" | "friends" | "only_me";
6137
+ }, {
6138
+ postLocation: "timeline";
6139
+ streamPrivacy: "public" | "friends" | "only_me";
6140
+ }>, z.ZodObject<{
6141
+ postLocation: z.ZodLiteral<"page">;
6142
+ page: z.ZodString;
6143
+ }, "strip", z.ZodTypeAny, {
6144
+ postLocation: "page";
6145
+ page: string;
6146
+ }, {
6147
+ postLocation: "page";
6148
+ page: string;
6149
+ }>]>;
6150
+ }, "strip", z.ZodTypeAny, {
6151
+ post: {
6152
+ postLocation: "timeline";
6153
+ streamPrivacy: "public" | "friends" | "only_me";
6154
+ } | {
6155
+ postLocation: "page";
6156
+ page: string;
6157
+ };
6158
+ type: "facebook";
6159
+ audio: {
6160
+ source: "none";
6161
+ } | {
6162
+ source: "microphone";
6163
+ audioChannelNbr: 1 | 2;
6164
+ } | {
6165
+ source: "file";
6166
+ fileName: string;
6167
+ filePath: string;
6168
+ } | {
6169
+ source: "url";
6170
+ fileName: string;
6171
+ fileUrl: string;
6172
+ avSyncMsec: number;
6173
+ };
6174
+ video: {
6175
+ inputType: "RTSP_URL" | "CSw" | "CRS";
6176
+ internalVapixParameters: string;
6177
+ userVapixParameters: string;
6178
+ streamingProtocol: "RTMP" | "RTMPS" | "HLS_PUSH";
6179
+ sourceUrl?: string | undefined;
6180
+ streamDelay?: {
6181
+ value: number;
6182
+ unit: "seconds" | "minutes" | "hours";
6183
+ } | undefined;
6184
+ };
6185
+ enabled: boolean;
6186
+ id: number;
6187
+ active: boolean;
6188
+ title: string;
6189
+ trigger: {
6190
+ type: "manual";
6191
+ ioPort: string | null;
6192
+ } | {
6193
+ type: "onetime";
6194
+ startTime: number;
6195
+ stopTime: number;
6196
+ } | {
6197
+ type: "recurrent";
6198
+ schedule: {
6199
+ start: {
6200
+ day: number;
6201
+ timeS: number;
6202
+ };
6203
+ stop: {
6204
+ day: number;
6205
+ timeS: number;
6206
+ };
6207
+ isActive: boolean;
6208
+ }[];
6209
+ };
6210
+ deleteAfterEnd: boolean;
6211
+ saveToSdCard: boolean;
6212
+ statusCameraLed: boolean;
6213
+ statusCameraOutput: string | null;
6214
+ countdown: boolean;
6215
+ description?: string | undefined;
6216
+ }, {
6217
+ post: {
6218
+ postLocation: "timeline";
6219
+ streamPrivacy: "public" | "friends" | "only_me";
6220
+ } | {
6221
+ postLocation: "page";
6222
+ page: string;
6223
+ };
6224
+ type: "facebook";
6225
+ audio: {
6226
+ source: "none";
6227
+ } | {
6228
+ source: "microphone";
6229
+ audioChannelNbr: 1 | 2;
6230
+ } | {
6231
+ source: "file";
6232
+ fileName: string;
6233
+ filePath: string;
6234
+ } | {
6235
+ source: "url";
6236
+ fileName: string;
6237
+ fileUrl: string;
6238
+ avSyncMsec: number;
6239
+ };
6240
+ video: {
6241
+ inputType: "RTSP_URL" | "CSw" | "CRS";
6242
+ internalVapixParameters: string;
6243
+ userVapixParameters: string;
6244
+ streamingProtocol: "RTMP" | "RTMPS" | "HLS_PUSH";
6245
+ sourceUrl?: string | undefined;
6246
+ streamDelay?: {
6247
+ value: number;
6248
+ unit: "seconds" | "minutes" | "hours";
6249
+ } | undefined;
6250
+ };
6251
+ enabled: boolean;
6252
+ id: number;
6253
+ active: boolean;
6254
+ title: string;
6255
+ trigger: {
6256
+ type: "manual";
6257
+ ioPort: string | null;
6258
+ } | {
6259
+ type: "onetime";
6260
+ startTime: number;
6261
+ stopTime: number;
6262
+ } | {
6263
+ type: "recurrent";
6264
+ schedule: {
6265
+ start: {
6266
+ day: number;
6267
+ timeS: number;
6268
+ };
6269
+ stop: {
6270
+ day: number;
6271
+ timeS: number;
6272
+ };
6273
+ isActive: boolean;
6274
+ }[];
6275
+ };
6276
+ deleteAfterEnd: boolean;
6277
+ saveToSdCard: boolean;
6278
+ statusCameraLed: boolean;
6279
+ statusCameraOutput: string | null;
6280
+ countdown: boolean;
6281
+ description?: string | undefined;
6282
+ }>, z.ZodObject<{
6283
+ id: z.ZodNumber;
6284
+ enabled: z.ZodBoolean;
6285
+ active: z.ZodBoolean;
6286
+ title: z.ZodString;
6287
+ trigger: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
6288
+ type: z.ZodLiteral<"manual">;
6289
+ ioPort: z.ZodNullable<z.ZodString>;
6290
+ }, "strip", z.ZodTypeAny, {
6291
+ type: "manual";
6292
+ ioPort: string | null;
6293
+ }, {
6294
+ type: "manual";
6295
+ ioPort: string | null;
6296
+ }>, z.ZodObject<{
6297
+ type: z.ZodLiteral<"onetime">;
6298
+ startTime: z.ZodNumber;
6299
+ stopTime: z.ZodNumber;
6300
+ }, "strip", z.ZodTypeAny, {
6301
+ type: "onetime";
6302
+ startTime: number;
6303
+ stopTime: number;
6304
+ }, {
6305
+ type: "onetime";
6306
+ startTime: number;
6307
+ stopTime: number;
6308
+ }>, z.ZodObject<{
6309
+ type: z.ZodLiteral<"recurrent">;
6310
+ schedule: z.ZodArray<z.ZodObject<{
6311
+ start: z.ZodObject<{
6312
+ day: z.ZodNumber;
6313
+ timeS: z.ZodNumber;
6314
+ }, "strip", z.ZodTypeAny, {
6315
+ day: number;
6316
+ timeS: number;
6317
+ }, {
6318
+ day: number;
6319
+ timeS: number;
6320
+ }>;
6321
+ stop: z.ZodObject<{
6322
+ day: z.ZodNumber;
6323
+ timeS: z.ZodNumber;
6324
+ }, "strip", z.ZodTypeAny, {
6325
+ day: number;
6326
+ timeS: number;
6327
+ }, {
6328
+ day: number;
6329
+ timeS: number;
6330
+ }>;
6331
+ isActive: z.ZodBoolean;
6332
+ }, "strip", z.ZodTypeAny, {
6333
+ start: {
6334
+ day: number;
6335
+ timeS: number;
6336
+ };
6337
+ stop: {
6338
+ day: number;
6339
+ timeS: number;
6340
+ };
6341
+ isActive: boolean;
6342
+ }, {
6343
+ start: {
6344
+ day: number;
6345
+ timeS: number;
6346
+ };
6347
+ stop: {
6348
+ day: number;
6349
+ timeS: number;
6350
+ };
6351
+ isActive: boolean;
6352
+ }>, "many">;
6353
+ }, "strip", z.ZodTypeAny, {
6354
+ type: "recurrent";
6355
+ schedule: {
6356
+ start: {
6357
+ day: number;
6358
+ timeS: number;
6359
+ };
6360
+ stop: {
6361
+ day: number;
6362
+ timeS: number;
6363
+ };
6364
+ isActive: boolean;
6365
+ }[];
6366
+ }, {
6367
+ type: "recurrent";
6368
+ schedule: {
6369
+ start: {
6370
+ day: number;
6371
+ timeS: number;
6372
+ };
6373
+ stop: {
6374
+ day: number;
6375
+ timeS: number;
6376
+ };
6377
+ isActive: boolean;
6378
+ }[];
6379
+ }>]>;
6380
+ video: z.ZodObject<{
6381
+ inputType: z.ZodUnion<[z.ZodLiteral<"CSw">, z.ZodLiteral<"CRS">, z.ZodLiteral<"RTSP_URL">]>;
6382
+ sourceUrl: z.ZodOptional<z.ZodString>;
6383
+ internalVapixParameters: z.ZodString;
6384
+ userVapixParameters: z.ZodString;
6385
+ streamingProtocol: z.ZodUnion<[z.ZodLiteral<"RTMP">, z.ZodLiteral<"RTMPS">, z.ZodLiteral<"HLS_PUSH">]>;
6386
+ streamDelay: z.ZodOptional<z.ZodObject<{
6387
+ value: z.ZodNumber;
6388
+ unit: z.ZodUnion<[z.ZodLiteral<"seconds">, z.ZodLiteral<"minutes">, z.ZodLiteral<"hours">]>;
6389
+ }, "strip", z.ZodTypeAny, {
6390
+ value: number;
6391
+ unit: "seconds" | "minutes" | "hours";
6392
+ }, {
6393
+ value: number;
6394
+ unit: "seconds" | "minutes" | "hours";
6395
+ }>>;
6396
+ }, "strip", z.ZodTypeAny, {
6397
+ inputType: "RTSP_URL" | "CSw" | "CRS";
6398
+ internalVapixParameters: string;
6399
+ userVapixParameters: string;
6400
+ streamingProtocol: "RTMP" | "RTMPS" | "HLS_PUSH";
6401
+ sourceUrl?: string | undefined;
6402
+ streamDelay?: {
6403
+ value: number;
6404
+ unit: "seconds" | "minutes" | "hours";
6405
+ } | undefined;
6406
+ }, {
6407
+ inputType: "RTSP_URL" | "CSw" | "CRS";
6408
+ internalVapixParameters: string;
6409
+ userVapixParameters: string;
6410
+ streamingProtocol: "RTMP" | "RTMPS" | "HLS_PUSH";
6411
+ sourceUrl?: string | undefined;
6412
+ streamDelay?: {
6413
+ value: number;
6414
+ unit: "seconds" | "minutes" | "hours";
6415
+ } | undefined;
6416
+ }>;
6417
+ audio: z.ZodDiscriminatedUnion<"source", [z.ZodObject<{
6418
+ source: z.ZodLiteral<"none">;
6419
+ }, "strip", z.ZodTypeAny, {
6420
+ source: "none";
6421
+ }, {
6422
+ source: "none";
6423
+ }>, z.ZodObject<{
6424
+ source: z.ZodLiteral<"microphone">;
6425
+ audioChannelNbr: z.ZodUnion<[z.ZodLiteral<1>, z.ZodLiteral<2>]>;
6426
+ }, "strip", z.ZodTypeAny, {
6427
+ source: "microphone";
6428
+ audioChannelNbr: 1 | 2;
6429
+ }, {
6430
+ source: "microphone";
6431
+ audioChannelNbr: 1 | 2;
6432
+ }>, z.ZodObject<{
6433
+ source: z.ZodLiteral<"file">;
6434
+ fileName: z.ZodString;
6435
+ filePath: z.ZodString;
6436
+ }, "strip", z.ZodTypeAny, {
6437
+ source: "file";
6438
+ fileName: string;
6439
+ filePath: string;
6440
+ }, {
6441
+ source: "file";
6442
+ fileName: string;
6443
+ filePath: string;
6444
+ }>, z.ZodObject<{
6445
+ source: z.ZodLiteral<"url">;
6446
+ fileName: z.ZodString;
6447
+ fileUrl: z.ZodString;
6448
+ avSyncMsec: z.ZodNumber;
6449
+ }, "strip", z.ZodTypeAny, {
6450
+ source: "url";
6451
+ fileName: string;
6452
+ fileUrl: string;
6453
+ avSyncMsec: number;
6454
+ }, {
6455
+ source: "url";
6456
+ fileName: string;
6457
+ fileUrl: string;
6458
+ avSyncMsec: number;
6459
+ }>]>;
6460
+ } & {
6461
+ type: z.ZodLiteral<"mpeg_dvb">;
6462
+ ipAddress: z.ZodString;
6463
+ port: z.ZodNumber;
6464
+ standard: z.ZodEnum<["DVB", "ATSC"]>;
6465
+ nullPacketsPaddingEnabled: z.ZodBoolean;
6466
+ nullPacketsPaddingKbps: z.ZodNumber;
6467
+ videoPid: z.ZodNumber;
6468
+ audioPid: z.ZodNumber;
6469
+ mpegtsStreamId: z.ZodNumber;
6470
+ pmtPid: z.ZodNumber;
6471
+ pcrPid: z.ZodNumber;
6472
+ pcrPeriodMs: z.ZodNumber;
6473
+ providerName: z.ZodString;
6474
+ serviceName: z.ZodString;
6475
+ statusCameraLed: z.ZodBoolean;
6476
+ statusCameraOutput: z.ZodNullable<z.ZodString>;
6477
+ saveToSdCard: z.ZodBoolean;
5843
6478
  }, "strip", z.ZodTypeAny, {
5844
- post: {
5845
- postLocation: "timeline";
5846
- streamPrivacy: "public" | "friends" | "only_me";
5847
- } | {
5848
- postLocation: "page";
5849
- page: string;
5850
- };
5851
- type: "facebook";
6479
+ type: "mpeg_dvb";
5852
6480
  audio: {
5853
6481
  source: "none";
5854
6482
  } | {
@@ -5875,6 +6503,7 @@ export declare const streamListSchema: z.ZodObject<{
5875
6503
  unit: "seconds" | "minutes" | "hours";
5876
6504
  } | undefined;
5877
6505
  };
6506
+ port: number;
5878
6507
  enabled: boolean;
5879
6508
  id: number;
5880
6509
  active: boolean;
@@ -5900,21 +6529,23 @@ export declare const streamListSchema: z.ZodObject<{
5900
6529
  isActive: boolean;
5901
6530
  }[];
5902
6531
  };
5903
- deleteAfterEnd: boolean;
5904
6532
  saveToSdCard: boolean;
5905
6533
  statusCameraLed: boolean;
5906
6534
  statusCameraOutput: string | null;
5907
- countdown: boolean;
5908
- description?: string | undefined;
6535
+ ipAddress: string;
6536
+ standard: "DVB" | "ATSC";
6537
+ nullPacketsPaddingEnabled: boolean;
6538
+ nullPacketsPaddingKbps: number;
6539
+ videoPid: number;
6540
+ audioPid: number;
6541
+ mpegtsStreamId: number;
6542
+ pmtPid: number;
6543
+ pcrPid: number;
6544
+ pcrPeriodMs: number;
6545
+ providerName: string;
6546
+ serviceName: string;
5909
6547
  }, {
5910
- post: {
5911
- postLocation: "timeline";
5912
- streamPrivacy: "public" | "friends" | "only_me";
5913
- } | {
5914
- postLocation: "page";
5915
- page: string;
5916
- };
5917
- type: "facebook";
6548
+ type: "mpeg_dvb";
5918
6549
  audio: {
5919
6550
  source: "none";
5920
6551
  } | {
@@ -5941,6 +6572,7 @@ export declare const streamListSchema: z.ZodObject<{
5941
6572
  unit: "seconds" | "minutes" | "hours";
5942
6573
  } | undefined;
5943
6574
  };
6575
+ port: number;
5944
6576
  enabled: boolean;
5945
6577
  id: number;
5946
6578
  active: boolean;
@@ -5966,12 +6598,21 @@ export declare const streamListSchema: z.ZodObject<{
5966
6598
  isActive: boolean;
5967
6599
  }[];
5968
6600
  };
5969
- deleteAfterEnd: boolean;
5970
6601
  saveToSdCard: boolean;
5971
6602
  statusCameraLed: boolean;
5972
6603
  statusCameraOutput: string | null;
5973
- countdown: boolean;
5974
- description?: string | undefined;
6604
+ ipAddress: string;
6605
+ standard: "DVB" | "ATSC";
6606
+ nullPacketsPaddingEnabled: boolean;
6607
+ nullPacketsPaddingKbps: number;
6608
+ videoPid: number;
6609
+ audioPid: number;
6610
+ mpegtsStreamId: number;
6611
+ pmtPid: number;
6612
+ pcrPid: number;
6613
+ pcrPeriodMs: number;
6614
+ providerName: string;
6615
+ serviceName: string;
5975
6616
  }>, z.ZodObject<{
5976
6617
  id: z.ZodNumber;
5977
6618
  enabled: z.ZodBoolean;
@@ -6151,25 +6792,16 @@ export declare const streamListSchema: z.ZodObject<{
6151
6792
  avSyncMsec: number;
6152
6793
  }>]>;
6153
6794
  } & {
6154
- type: z.ZodLiteral<"mpeg_dvb">;
6155
- ipAddress: z.ZodString;
6156
- port: z.ZodNumber;
6157
- standard: z.ZodEnum<["DVB", "ATSC"]>;
6158
- nullPacketsPaddingEnabled: z.ZodBoolean;
6159
- nullPacketsPaddingKbps: z.ZodNumber;
6160
- videoPid: z.ZodNumber;
6161
- audioPid: z.ZodNumber;
6162
- mpegtsStreamId: z.ZodNumber;
6163
- pmtPid: z.ZodNumber;
6164
- pcrPid: z.ZodNumber;
6165
- pcrPeriodMs: z.ZodNumber;
6166
- providerName: z.ZodString;
6167
- serviceName: z.ZodString;
6795
+ outputUrl: z.ZodString;
6796
+ streamKey: z.ZodString;
6797
+ streamIdentifier: z.ZodOptional<z.ZodString>;
6798
+ saveToSdCard: z.ZodBoolean;
6168
6799
  statusCameraLed: z.ZodBoolean;
6169
6800
  statusCameraOutput: z.ZodNullable<z.ZodString>;
6170
- saveToSdCard: z.ZodBoolean;
6801
+ } & {
6802
+ type: z.ZodLiteral<"rtmp">;
6171
6803
  }, "strip", z.ZodTypeAny, {
6172
- type: "mpeg_dvb";
6804
+ type: "rtmp";
6173
6805
  audio: {
6174
6806
  source: "none";
6175
6807
  } | {
@@ -6196,7 +6828,6 @@ export declare const streamListSchema: z.ZodObject<{
6196
6828
  unit: "seconds" | "minutes" | "hours";
6197
6829
  } | undefined;
6198
6830
  };
6199
- port: number;
6200
6831
  enabled: boolean;
6201
6832
  id: number;
6202
6833
  active: boolean;
@@ -6225,20 +6856,11 @@ export declare const streamListSchema: z.ZodObject<{
6225
6856
  saveToSdCard: boolean;
6226
6857
  statusCameraLed: boolean;
6227
6858
  statusCameraOutput: string | null;
6228
- ipAddress: string;
6229
- standard: "DVB" | "ATSC";
6230
- nullPacketsPaddingEnabled: boolean;
6231
- nullPacketsPaddingKbps: number;
6232
- videoPid: number;
6233
- audioPid: number;
6234
- mpegtsStreamId: number;
6235
- pmtPid: number;
6236
- pcrPid: number;
6237
- pcrPeriodMs: number;
6238
- providerName: string;
6239
- serviceName: string;
6859
+ outputUrl: string;
6860
+ streamKey: string;
6861
+ streamIdentifier?: string | undefined;
6240
6862
  }, {
6241
- type: "mpeg_dvb";
6863
+ type: "rtmp";
6242
6864
  audio: {
6243
6865
  source: "none";
6244
6866
  } | {
@@ -6265,7 +6887,6 @@ export declare const streamListSchema: z.ZodObject<{
6265
6887
  unit: "seconds" | "minutes" | "hours";
6266
6888
  } | undefined;
6267
6889
  };
6268
- port: number;
6269
6890
  enabled: boolean;
6270
6891
  id: number;
6271
6892
  active: boolean;
@@ -6294,18 +6915,9 @@ export declare const streamListSchema: z.ZodObject<{
6294
6915
  saveToSdCard: boolean;
6295
6916
  statusCameraLed: boolean;
6296
6917
  statusCameraOutput: string | null;
6297
- ipAddress: string;
6298
- standard: "DVB" | "ATSC";
6299
- nullPacketsPaddingEnabled: boolean;
6300
- nullPacketsPaddingKbps: number;
6301
- videoPid: number;
6302
- audioPid: number;
6303
- mpegtsStreamId: number;
6304
- pmtPid: number;
6305
- pcrPid: number;
6306
- pcrPeriodMs: number;
6307
- providerName: string;
6308
- serviceName: string;
6918
+ outputUrl: string;
6919
+ streamKey: string;
6920
+ streamIdentifier?: string | undefined;
6309
6921
  }>, z.ZodObject<{
6310
6922
  id: z.ZodNumber;
6311
6923
  enabled: z.ZodBoolean;
@@ -6485,16 +7097,9 @@ export declare const streamListSchema: z.ZodObject<{
6485
7097
  avSyncMsec: number;
6486
7098
  }>]>;
6487
7099
  } & {
6488
- outputUrl: z.ZodString;
6489
- streamKey: z.ZodString;
6490
- streamIdentifier: z.ZodOptional<z.ZodString>;
6491
- saveToSdCard: z.ZodBoolean;
6492
- statusCameraLed: z.ZodBoolean;
6493
- statusCameraOutput: z.ZodNullable<z.ZodString>;
6494
- } & {
6495
- type: z.ZodLiteral<"rtmp">;
7100
+ type: z.ZodLiteral<"sd_card">;
6496
7101
  }, "strip", z.ZodTypeAny, {
6497
- type: "rtmp";
7102
+ type: "sd_card";
6498
7103
  audio: {
6499
7104
  source: "none";
6500
7105
  } | {
@@ -6546,14 +7151,8 @@ export declare const streamListSchema: z.ZodObject<{
6546
7151
  isActive: boolean;
6547
7152
  }[];
6548
7153
  };
6549
- saveToSdCard: boolean;
6550
- statusCameraLed: boolean;
6551
- statusCameraOutput: string | null;
6552
- outputUrl: string;
6553
- streamKey: string;
6554
- streamIdentifier?: string | undefined;
6555
7154
  }, {
6556
- type: "rtmp";
7155
+ type: "sd_card";
6557
7156
  audio: {
6558
7157
  source: "none";
6559
7158
  } | {
@@ -6605,12 +7204,6 @@ export declare const streamListSchema: z.ZodObject<{
6605
7204
  isActive: boolean;
6606
7205
  }[];
6607
7206
  };
6608
- saveToSdCard: boolean;
6609
- statusCameraLed: boolean;
6610
- statusCameraOutput: string | null;
6611
- outputUrl: string;
6612
- streamKey: string;
6613
- streamIdentifier?: string | undefined;
6614
7207
  }>, z.ZodObject<{
6615
7208
  id: z.ZodNumber;
6616
7209
  enabled: z.ZodBoolean;
@@ -6790,9 +7383,9 @@ export declare const streamListSchema: z.ZodObject<{
6790
7383
  avSyncMsec: number;
6791
7384
  }>]>;
6792
7385
  } & {
6793
- type: z.ZodLiteral<"sd_card">;
7386
+ type: z.ZodLiteral<"windy">;
6794
7387
  }, "strip", z.ZodTypeAny, {
6795
- type: "sd_card";
7388
+ type: "windy";
6796
7389
  audio: {
6797
7390
  source: "none";
6798
7391
  } | {
@@ -6845,7 +7438,7 @@ export declare const streamListSchema: z.ZodObject<{
6845
7438
  }[];
6846
7439
  };
6847
7440
  }, {
6848
- type: "sd_card";
7441
+ type: "windy";
6849
7442
  audio: {
6850
7443
  source: "none";
6851
7444
  } | {
@@ -7076,9 +7669,23 @@ export declare const streamListSchema: z.ZodObject<{
7076
7669
  avSyncMsec: number;
7077
7670
  }>]>;
7078
7671
  } & {
7079
- type: z.ZodLiteral<"windy">;
7672
+ type: z.ZodLiteral<"youtube">;
7673
+ description: z.ZodOptional<z.ZodString>;
7674
+ playlist: z.ZodOptional<z.ZodString>;
7675
+ tags: z.ZodArray<z.ZodString, "many">;
7676
+ notificationEmail: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
7677
+ streamPrivacy: z.ZodUnion<[z.ZodLiteral<"public">, z.ZodLiteral<"unlisted">, z.ZodLiteral<"private">]>;
7678
+ latency: z.ZodUnion<[z.ZodLiteral<"normal">, z.ZodLiteral<"low">, z.ZodLiteral<"ultra_low">]>;
7679
+ afterEndStatus: z.ZodUnion<[z.ZodLiteral<"no_change">, z.ZodLiteral<"public">, z.ZodLiteral<"unlisted">, z.ZodLiteral<"private">]>;
7680
+ dvr: z.ZodBoolean;
7681
+ saveToSdCard: z.ZodBoolean;
7682
+ statusCameraLed: z.ZodBoolean;
7683
+ statusCameraOutput: z.ZodNullable<z.ZodString>;
7684
+ hasWatchdogs: z.ZodBoolean;
7685
+ countdown: z.ZodBoolean;
7686
+ enableManualControl: z.ZodBoolean;
7080
7687
  }, "strip", z.ZodTypeAny, {
7081
- type: "windy";
7688
+ type: "youtube";
7082
7689
  audio: {
7083
7690
  source: "none";
7084
7691
  } | {
@@ -7130,8 +7737,22 @@ export declare const streamListSchema: z.ZodObject<{
7130
7737
  isActive: boolean;
7131
7738
  }[];
7132
7739
  };
7740
+ streamPrivacy: "public" | "unlisted" | "private";
7741
+ saveToSdCard: boolean;
7742
+ statusCameraLed: boolean;
7743
+ statusCameraOutput: string | null;
7744
+ countdown: boolean;
7745
+ tags: string[];
7746
+ latency: "normal" | "low" | "ultra_low";
7747
+ afterEndStatus: "public" | "unlisted" | "private" | "no_change";
7748
+ dvr: boolean;
7749
+ hasWatchdogs: boolean;
7750
+ enableManualControl: boolean;
7751
+ playlist?: string | undefined;
7752
+ description?: string | undefined;
7753
+ notificationEmail?: string[] | undefined;
7133
7754
  }, {
7134
- type: "windy";
7755
+ type: "youtube";
7135
7756
  audio: {
7136
7757
  source: "none";
7137
7758
  } | {
@@ -7183,6 +7804,20 @@ export declare const streamListSchema: z.ZodObject<{
7183
7804
  isActive: boolean;
7184
7805
  }[];
7185
7806
  };
7807
+ streamPrivacy: "public" | "unlisted" | "private";
7808
+ saveToSdCard: boolean;
7809
+ statusCameraLed: boolean;
7810
+ statusCameraOutput: string | null;
7811
+ countdown: boolean;
7812
+ tags: string[];
7813
+ latency: "normal" | "low" | "ultra_low";
7814
+ afterEndStatus: "public" | "unlisted" | "private" | "no_change";
7815
+ dvr: boolean;
7816
+ hasWatchdogs: boolean;
7817
+ enableManualControl: boolean;
7818
+ playlist?: string | undefined;
7819
+ description?: string | undefined;
7820
+ notificationEmail?: string[] | undefined;
7186
7821
  }>, z.ZodObject<{
7187
7822
  id: z.ZodNumber;
7188
7823
  enabled: z.ZodBoolean;
@@ -7362,23 +7997,9 @@ export declare const streamListSchema: z.ZodObject<{
7362
7997
  avSyncMsec: number;
7363
7998
  }>]>;
7364
7999
  } & {
7365
- type: z.ZodLiteral<"youtube">;
7366
- description: z.ZodOptional<z.ZodString>;
7367
- playlist: z.ZodOptional<z.ZodString>;
7368
- tags: z.ZodArray<z.ZodString, "many">;
7369
- notificationEmail: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
7370
- streamPrivacy: z.ZodUnion<[z.ZodLiteral<"public">, z.ZodLiteral<"unlisted">, z.ZodLiteral<"private">]>;
7371
- latency: z.ZodUnion<[z.ZodLiteral<"normal">, z.ZodLiteral<"low">, z.ZodLiteral<"ultra_low">]>;
7372
- afterEndStatus: z.ZodUnion<[z.ZodLiteral<"no_change">, z.ZodLiteral<"public">, z.ZodLiteral<"unlisted">, z.ZodLiteral<"private">]>;
7373
- dvr: z.ZodBoolean;
7374
- saveToSdCard: z.ZodBoolean;
7375
- statusCameraLed: z.ZodBoolean;
7376
- statusCameraOutput: z.ZodNullable<z.ZodString>;
7377
- hasWatchdogs: z.ZodBoolean;
7378
- countdown: z.ZodBoolean;
7379
- enableManualControl: z.ZodBoolean;
8000
+ type: z.ZodLiteral<"vimeo">;
7380
8001
  }, "strip", z.ZodTypeAny, {
7381
- type: "youtube";
8002
+ type: "vimeo";
7382
8003
  audio: {
7383
8004
  source: "none";
7384
8005
  } | {
@@ -7430,22 +8051,8 @@ export declare const streamListSchema: z.ZodObject<{
7430
8051
  isActive: boolean;
7431
8052
  }[];
7432
8053
  };
7433
- streamPrivacy: "public" | "unlisted" | "private";
7434
- saveToSdCard: boolean;
7435
- statusCameraLed: boolean;
7436
- statusCameraOutput: string | null;
7437
- countdown: boolean;
7438
- tags: string[];
7439
- latency: "normal" | "low" | "ultra_low";
7440
- afterEndStatus: "public" | "unlisted" | "private" | "no_change";
7441
- dvr: boolean;
7442
- hasWatchdogs: boolean;
7443
- enableManualControl: boolean;
7444
- playlist?: string | undefined;
7445
- description?: string | undefined;
7446
- notificationEmail?: string[] | undefined;
7447
8054
  }, {
7448
- type: "youtube";
8055
+ type: "vimeo";
7449
8056
  audio: {
7450
8057
  source: "none";
7451
8058
  } | {
@@ -7497,20 +8104,6 @@ export declare const streamListSchema: z.ZodObject<{
7497
8104
  isActive: boolean;
7498
8105
  }[];
7499
8106
  };
7500
- streamPrivacy: "public" | "unlisted" | "private";
7501
- saveToSdCard: boolean;
7502
- statusCameraLed: boolean;
7503
- statusCameraOutput: string | null;
7504
- countdown: boolean;
7505
- tags: string[];
7506
- latency: "normal" | "low" | "ultra_low";
7507
- afterEndStatus: "public" | "unlisted" | "private" | "no_change";
7508
- dvr: boolean;
7509
- hasWatchdogs: boolean;
7510
- enableManualControl: boolean;
7511
- playlist?: string | undefined;
7512
- description?: string | undefined;
7513
- notificationEmail?: string[] | undefined;
7514
8107
  }>, z.ZodObject<{
7515
8108
  id: z.ZodNumber;
7516
8109
  enabled: z.ZodBoolean;
@@ -7690,9 +8283,9 @@ export declare const streamListSchema: z.ZodObject<{
7690
8283
  avSyncMsec: number;
7691
8284
  }>]>;
7692
8285
  } & {
7693
- type: z.ZodLiteral<"vimeo">;
8286
+ type: z.ZodLiteral<"twitch">;
7694
8287
  }, "strip", z.ZodTypeAny, {
7695
- type: "vimeo";
8288
+ type: "twitch";
7696
8289
  audio: {
7697
8290
  source: "none";
7698
8291
  } | {
@@ -7745,7 +8338,7 @@ export declare const streamListSchema: z.ZodObject<{
7745
8338
  }[];
7746
8339
  };
7747
8340
  }, {
7748
- type: "vimeo";
8341
+ type: "twitch";
7749
8342
  audio: {
7750
8343
  source: "none";
7751
8344
  } | {
@@ -7976,9 +8569,9 @@ export declare const streamListSchema: z.ZodObject<{
7976
8569
  avSyncMsec: number;
7977
8570
  }>]>;
7978
8571
  } & {
7979
- type: z.ZodLiteral<"twitch">;
8572
+ type: z.ZodLiteral<"church">;
7980
8573
  }, "strip", z.ZodTypeAny, {
7981
- type: "twitch";
8574
+ type: "church";
7982
8575
  audio: {
7983
8576
  source: "none";
7984
8577
  } | {
@@ -8031,7 +8624,7 @@ export declare const streamListSchema: z.ZodObject<{
8031
8624
  }[];
8032
8625
  };
8033
8626
  }, {
8034
- type: "twitch";
8627
+ type: "church";
8035
8628
  audio: {
8036
8629
  source: "none";
8037
8630
  } | {
@@ -8262,9 +8855,9 @@ export declare const streamListSchema: z.ZodObject<{
8262
8855
  avSyncMsec: number;
8263
8856
  }>]>;
8264
8857
  } & {
8265
- type: z.ZodLiteral<"church">;
8858
+ type: z.ZodLiteral<"srt">;
8266
8859
  }, "strip", z.ZodTypeAny, {
8267
- type: "church";
8860
+ type: "srt";
8268
8861
  audio: {
8269
8862
  source: "none";
8270
8863
  } | {
@@ -8317,7 +8910,7 @@ export declare const streamListSchema: z.ZodObject<{
8317
8910
  }[];
8318
8911
  };
8319
8912
  }, {
8320
- type: "church";
8913
+ type: "srt";
8321
8914
  audio: {
8322
8915
  source: "none";
8323
8916
  } | {
@@ -8548,9 +9141,9 @@ export declare const streamListSchema: z.ZodObject<{
8548
9141
  avSyncMsec: number;
8549
9142
  }>]>;
8550
9143
  } & {
8551
- type: z.ZodLiteral<"srt">;
9144
+ type: z.ZodLiteral<"da_cast">;
8552
9145
  }, "strip", z.ZodTypeAny, {
8553
- type: "srt";
9146
+ type: "da_cast";
8554
9147
  audio: {
8555
9148
  source: "none";
8556
9149
  } | {
@@ -8603,7 +9196,7 @@ export declare const streamListSchema: z.ZodObject<{
8603
9196
  }[];
8604
9197
  };
8605
9198
  }, {
8606
- type: "srt";
9199
+ type: "da_cast";
8607
9200
  audio: {
8608
9201
  source: "none";
8609
9202
  } | {
@@ -8834,9 +9427,9 @@ export declare const streamListSchema: z.ZodObject<{
8834
9427
  avSyncMsec: number;
8835
9428
  }>]>;
8836
9429
  } & {
8837
- type: z.ZodLiteral<"da_cast">;
9430
+ type: z.ZodLiteral<"hls_pull">;
8838
9431
  }, "strip", z.ZodTypeAny, {
8839
- type: "da_cast";
9432
+ type: "hls_pull";
8840
9433
  audio: {
8841
9434
  source: "none";
8842
9435
  } | {
@@ -8889,7 +9482,7 @@ export declare const streamListSchema: z.ZodObject<{
8889
9482
  }[];
8890
9483
  };
8891
9484
  }, {
8892
- type: "da_cast";
9485
+ type: "hls_pull";
8893
9486
  audio: {
8894
9487
  source: "none";
8895
9488
  } | {
@@ -9120,9 +9713,9 @@ export declare const streamListSchema: z.ZodObject<{
9120
9713
  avSyncMsec: number;
9121
9714
  }>]>;
9122
9715
  } & {
9123
- type: z.ZodLiteral<"hls_pull">;
9716
+ type: z.ZodLiteral<"hls_push">;
9124
9717
  }, "strip", z.ZodTypeAny, {
9125
- type: "hls_pull";
9718
+ type: "hls_push";
9126
9719
  audio: {
9127
9720
  source: "none";
9128
9721
  } | {
@@ -9175,7 +9768,7 @@ export declare const streamListSchema: z.ZodObject<{
9175
9768
  }[];
9176
9769
  };
9177
9770
  }, {
9178
- type: "hls_pull";
9771
+ type: "hls_push";
9179
9772
  audio: {
9180
9773
  source: "none";
9181
9774
  } | {
@@ -9406,9 +9999,9 @@ export declare const streamListSchema: z.ZodObject<{
9406
9999
  avSyncMsec: number;
9407
10000
  }>]>;
9408
10001
  } & {
9409
- type: z.ZodLiteral<"hls_push">;
10002
+ type: z.ZodLiteral<"wowza">;
9410
10003
  }, "strip", z.ZodTypeAny, {
9411
- type: "hls_push";
10004
+ type: "wowza";
9412
10005
  audio: {
9413
10006
  source: "none";
9414
10007
  } | {
@@ -9461,7 +10054,7 @@ export declare const streamListSchema: z.ZodObject<{
9461
10054
  }[];
9462
10055
  };
9463
10056
  }, {
9464
- type: "hls_push";
10057
+ type: "wowza";
9465
10058
  audio: {
9466
10059
  source: "none";
9467
10060
  } | {
@@ -9692,9 +10285,9 @@ export declare const streamListSchema: z.ZodObject<{
9692
10285
  avSyncMsec: number;
9693
10286
  }>]>;
9694
10287
  } & {
9695
- type: z.ZodLiteral<"wowza">;
10288
+ type: z.ZodLiteral<"dailymotion">;
9696
10289
  }, "strip", z.ZodTypeAny, {
9697
- type: "wowza";
10290
+ type: "dailymotion";
9698
10291
  audio: {
9699
10292
  source: "none";
9700
10293
  } | {
@@ -9747,7 +10340,7 @@ export declare const streamListSchema: z.ZodObject<{
9747
10340
  }[];
9748
10341
  };
9749
10342
  }, {
9750
- type: "wowza";
10343
+ type: "dailymotion";
9751
10344
  audio: {
9752
10345
  source: "none";
9753
10346
  } | {
@@ -9978,9 +10571,9 @@ export declare const streamListSchema: z.ZodObject<{
9978
10571
  avSyncMsec: number;
9979
10572
  }>]>;
9980
10573
  } & {
9981
- type: z.ZodLiteral<"dailymotion">;
10574
+ type: z.ZodLiteral<"ibm">;
9982
10575
  }, "strip", z.ZodTypeAny, {
9983
- type: "dailymotion";
10576
+ type: "ibm";
9984
10577
  audio: {
9985
10578
  source: "none";
9986
10579
  } | {
@@ -10033,7 +10626,7 @@ export declare const streamListSchema: z.ZodObject<{
10033
10626
  }[];
10034
10627
  };
10035
10628
  }, {
10036
- type: "dailymotion";
10629
+ type: "ibm";
10037
10630
  audio: {
10038
10631
  source: "none";
10039
10632
  } | {
@@ -10264,9 +10857,9 @@ export declare const streamListSchema: z.ZodObject<{
10264
10857
  avSyncMsec: number;
10265
10858
  }>]>;
10266
10859
  } & {
10267
- type: z.ZodLiteral<"ibm">;
10860
+ type: z.ZodLiteral<"microsoft_azure">;
10268
10861
  }, "strip", z.ZodTypeAny, {
10269
- type: "ibm";
10862
+ type: "microsoft_azure";
10270
10863
  audio: {
10271
10864
  source: "none";
10272
10865
  } | {
@@ -10319,7 +10912,7 @@ export declare const streamListSchema: z.ZodObject<{
10319
10912
  }[];
10320
10913
  };
10321
10914
  }, {
10322
- type: "ibm";
10915
+ type: "microsoft_azure";
10323
10916
  audio: {
10324
10917
  source: "none";
10325
10918
  } | {
@@ -10550,9 +11143,9 @@ export declare const streamListSchema: z.ZodObject<{
10550
11143
  avSyncMsec: number;
10551
11144
  }>]>;
10552
11145
  } & {
10553
- type: z.ZodLiteral<"microsoft_azure">;
11146
+ type: z.ZodLiteral<"microsoft_stream">;
10554
11147
  }, "strip", z.ZodTypeAny, {
10555
- type: "microsoft_azure";
11148
+ type: "microsoft_stream";
10556
11149
  audio: {
10557
11150
  source: "none";
10558
11151
  } | {
@@ -10605,7 +11198,7 @@ export declare const streamListSchema: z.ZodObject<{
10605
11198
  }[];
10606
11199
  };
10607
11200
  }, {
10608
- type: "microsoft_azure";
11201
+ type: "microsoft_stream";
10609
11202
  audio: {
10610
11203
  source: "none";
10611
11204
  } | {
@@ -10836,9 +11429,16 @@ export declare const streamListSchema: z.ZodObject<{
10836
11429
  avSyncMsec: number;
10837
11430
  }>]>;
10838
11431
  } & {
10839
- type: z.ZodLiteral<"microsoft_stream">;
11432
+ outputUrl: z.ZodString;
11433
+ streamKey: z.ZodString;
11434
+ streamIdentifier: z.ZodOptional<z.ZodString>;
11435
+ saveToSdCard: z.ZodBoolean;
11436
+ statusCameraLed: z.ZodBoolean;
11437
+ statusCameraOutput: z.ZodNullable<z.ZodString>;
11438
+ } & {
11439
+ type: z.ZodLiteral<"game_changer">;
10840
11440
  }, "strip", z.ZodTypeAny, {
10841
- type: "microsoft_stream";
11441
+ type: "game_changer";
10842
11442
  audio: {
10843
11443
  source: "none";
10844
11444
  } | {
@@ -10890,8 +11490,14 @@ export declare const streamListSchema: z.ZodObject<{
10890
11490
  isActive: boolean;
10891
11491
  }[];
10892
11492
  };
11493
+ saveToSdCard: boolean;
11494
+ statusCameraLed: boolean;
11495
+ statusCameraOutput: string | null;
11496
+ outputUrl: string;
11497
+ streamKey: string;
11498
+ streamIdentifier?: string | undefined;
10893
11499
  }, {
10894
- type: "microsoft_stream";
11500
+ type: "game_changer";
10895
11501
  audio: {
10896
11502
  source: "none";
10897
11503
  } | {
@@ -10943,6 +11549,12 @@ export declare const streamListSchema: z.ZodObject<{
10943
11549
  isActive: boolean;
10944
11550
  }[];
10945
11551
  };
11552
+ saveToSdCard: boolean;
11553
+ statusCameraLed: boolean;
11554
+ statusCameraOutput: string | null;
11555
+ outputUrl: string;
11556
+ streamKey: string;
11557
+ streamIdentifier?: string | undefined;
10946
11558
  }>, z.ZodObject<{
10947
11559
  id: z.ZodNumber;
10948
11560
  enabled: z.ZodBoolean;
@@ -11129,9 +11741,9 @@ export declare const streamListSchema: z.ZodObject<{
11129
11741
  statusCameraLed: z.ZodBoolean;
11130
11742
  statusCameraOutput: z.ZodNullable<z.ZodString>;
11131
11743
  } & {
11132
- type: z.ZodLiteral<"game_changer">;
11744
+ type: z.ZodLiteral<"youtube_rtmp">;
11133
11745
  }, "strip", z.ZodTypeAny, {
11134
- type: "game_changer";
11746
+ type: "youtube_rtmp";
11135
11747
  audio: {
11136
11748
  source: "none";
11137
11749
  } | {
@@ -11190,7 +11802,7 @@ export declare const streamListSchema: z.ZodObject<{
11190
11802
  streamKey: string;
11191
11803
  streamIdentifier?: string | undefined;
11192
11804
  }, {
11193
- type: "game_changer";
11805
+ type: "youtube_rtmp";
11194
11806
  audio: {
11195
11807
  source: "none";
11196
11808
  } | {
@@ -12312,6 +12924,65 @@ export declare const streamListSchema: z.ZodObject<{
12312
12924
  outputUrl: string;
12313
12925
  streamKey: string;
12314
12926
  streamIdentifier?: string | undefined;
12927
+ } | {
12928
+ type: "youtube_rtmp";
12929
+ audio: {
12930
+ source: "none";
12931
+ } | {
12932
+ source: "microphone";
12933
+ audioChannelNbr: 1 | 2;
12934
+ } | {
12935
+ source: "file";
12936
+ fileName: string;
12937
+ filePath: string;
12938
+ } | {
12939
+ source: "url";
12940
+ fileName: string;
12941
+ fileUrl: string;
12942
+ avSyncMsec: number;
12943
+ };
12944
+ video: {
12945
+ inputType: "RTSP_URL" | "CSw" | "CRS";
12946
+ internalVapixParameters: string;
12947
+ userVapixParameters: string;
12948
+ streamingProtocol: "RTMP" | "RTMPS" | "HLS_PUSH";
12949
+ sourceUrl?: string | undefined;
12950
+ streamDelay?: {
12951
+ value: number;
12952
+ unit: "seconds" | "minutes" | "hours";
12953
+ } | undefined;
12954
+ };
12955
+ enabled: boolean;
12956
+ id: number;
12957
+ active: boolean;
12958
+ title: string;
12959
+ trigger: {
12960
+ type: "manual";
12961
+ ioPort: string | null;
12962
+ } | {
12963
+ type: "onetime";
12964
+ startTime: number;
12965
+ stopTime: number;
12966
+ } | {
12967
+ type: "recurrent";
12968
+ schedule: {
12969
+ start: {
12970
+ day: number;
12971
+ timeS: number;
12972
+ };
12973
+ stop: {
12974
+ day: number;
12975
+ timeS: number;
12976
+ };
12977
+ isActive: boolean;
12978
+ }[];
12979
+ };
12980
+ saveToSdCard: boolean;
12981
+ statusCameraLed: boolean;
12982
+ statusCameraOutput: string | null;
12983
+ outputUrl: string;
12984
+ streamKey: string;
12985
+ streamIdentifier?: string | undefined;
12315
12986
  })[];
12316
12987
  }, {
12317
12988
  streamList: ({
@@ -13376,6 +14047,65 @@ export declare const streamListSchema: z.ZodObject<{
13376
14047
  outputUrl: string;
13377
14048
  streamKey: string;
13378
14049
  streamIdentifier?: string | undefined;
14050
+ } | {
14051
+ type: "youtube_rtmp";
14052
+ audio: {
14053
+ source: "none";
14054
+ } | {
14055
+ source: "microphone";
14056
+ audioChannelNbr: 1 | 2;
14057
+ } | {
14058
+ source: "file";
14059
+ fileName: string;
14060
+ filePath: string;
14061
+ } | {
14062
+ source: "url";
14063
+ fileName: string;
14064
+ fileUrl: string;
14065
+ avSyncMsec: number;
14066
+ };
14067
+ video: {
14068
+ inputType: "RTSP_URL" | "CSw" | "CRS";
14069
+ internalVapixParameters: string;
14070
+ userVapixParameters: string;
14071
+ streamingProtocol: "RTMP" | "RTMPS" | "HLS_PUSH";
14072
+ sourceUrl?: string | undefined;
14073
+ streamDelay?: {
14074
+ value: number;
14075
+ unit: "seconds" | "minutes" | "hours";
14076
+ } | undefined;
14077
+ };
14078
+ enabled: boolean;
14079
+ id: number;
14080
+ active: boolean;
14081
+ title: string;
14082
+ trigger: {
14083
+ type: "manual";
14084
+ ioPort: string | null;
14085
+ } | {
14086
+ type: "onetime";
14087
+ startTime: number;
14088
+ stopTime: number;
14089
+ } | {
14090
+ type: "recurrent";
14091
+ schedule: {
14092
+ start: {
14093
+ day: number;
14094
+ timeS: number;
14095
+ };
14096
+ stop: {
14097
+ day: number;
14098
+ timeS: number;
14099
+ };
14100
+ isActive: boolean;
14101
+ }[];
14102
+ };
14103
+ saveToSdCard: boolean;
14104
+ statusCameraLed: boolean;
14105
+ statusCameraOutput: string | null;
14106
+ outputUrl: string;
14107
+ streamKey: string;
14108
+ streamIdentifier?: string | undefined;
13379
14109
  })[];
13380
14110
  }>;
13381
14111
  export type TStreamList = z.infer<typeof streamListSchema>;
@@ -14480,6 +15210,67 @@ export declare const isGameChangerStream: (stream: TStream) => stream is {
14480
15210
  streamKey: string;
14481
15211
  streamIdentifier?: string | undefined;
14482
15212
  };
15213
+ export type TYoutubeRtmpStream = z.infer<typeof youtubeRtmpSchema>;
15214
+ export declare const isYoutubeRtmpStream: (stream: TStream) => stream is {
15215
+ type: "youtube_rtmp";
15216
+ audio: {
15217
+ source: "none";
15218
+ } | {
15219
+ source: "microphone";
15220
+ audioChannelNbr: 1 | 2;
15221
+ } | {
15222
+ source: "file";
15223
+ fileName: string;
15224
+ filePath: string;
15225
+ } | {
15226
+ source: "url";
15227
+ fileName: string;
15228
+ fileUrl: string;
15229
+ avSyncMsec: number;
15230
+ };
15231
+ video: {
15232
+ inputType: "RTSP_URL" | "CSw" | "CRS";
15233
+ internalVapixParameters: string;
15234
+ userVapixParameters: string;
15235
+ streamingProtocol: "RTMP" | "RTMPS" | "HLS_PUSH";
15236
+ sourceUrl?: string | undefined;
15237
+ streamDelay?: {
15238
+ value: number;
15239
+ unit: "seconds" | "minutes" | "hours";
15240
+ } | undefined;
15241
+ };
15242
+ enabled: boolean;
15243
+ id: number;
15244
+ active: boolean;
15245
+ title: string;
15246
+ trigger: {
15247
+ type: "manual";
15248
+ ioPort: string | null;
15249
+ } | {
15250
+ type: "onetime";
15251
+ startTime: number;
15252
+ stopTime: number;
15253
+ } | {
15254
+ type: "recurrent";
15255
+ schedule: {
15256
+ start: {
15257
+ day: number;
15258
+ timeS: number;
15259
+ };
15260
+ stop: {
15261
+ day: number;
15262
+ timeS: number;
15263
+ };
15264
+ isActive: boolean;
15265
+ }[];
15266
+ };
15267
+ saveToSdCard: boolean;
15268
+ statusCameraLed: boolean;
15269
+ statusCameraOutput: string | null;
15270
+ outputUrl: string;
15271
+ streamKey: string;
15272
+ streamIdentifier?: string | undefined;
15273
+ };
14483
15274
  export declare enum AudioType {
14484
15275
  MP3 = 0,
14485
15276
  AAC = 1