camstreamerlib 4.0.0-beta.115 → 4.0.0-beta.116

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 (115) hide show
  1. package/cjs/CamStreamerAPI.d.ts +1155 -485
  2. package/cjs/CamStreamerAPI.js +4 -4
  3. package/cjs/VapixAPI.d.ts +1 -1
  4. package/cjs/errors/errors.d.ts +2 -2
  5. package/cjs/types/CamStreamerAPI/CamStreamerAPI.d.ts +8076 -2678
  6. package/cjs/types/CamStreamerAPI/CamStreamerAPI.js +39 -55
  7. package/cjs/types/CamStreamerAPI/facebookSchema.d.ts +183 -55
  8. package/cjs/types/CamStreamerAPI/facebookSchema.js +6 -10
  9. package/cjs/types/CamStreamerAPI/index.d.ts +1 -5
  10. package/cjs/types/CamStreamerAPI/index.js +1 -5
  11. package/cjs/types/CamStreamerAPI/oldStreamSchema.d.ts +39 -39
  12. package/cjs/types/CamStreamerAPI/oldStreamSchema.js +1 -1
  13. package/cjs/types/CamStreamerAPI/streamCommonTypes.d.ts +224 -341
  14. package/cjs/types/CamStreamerAPI/streamCommonTypes.js +89 -75
  15. package/cjs/types/CamStreamerAPI/streamsSchema.d.ts +7333 -0
  16. package/cjs/types/CamStreamerAPI/streamsSchema.js +63 -0
  17. package/cjs/types/CamStreamerAPI/windySchema.d.ts +159 -45
  18. package/cjs/types/CamStreamerAPI/windySchema.js +1 -1
  19. package/cjs/types/CamStreamerAPI/youtubeSchema.d.ts +159 -54
  20. package/cjs/types/CamStreamerAPI/youtubeSchema.js +1 -4
  21. package/cjs/types/VapixAPI.d.ts +10 -10
  22. package/cjs/types/ws/CamStreamerEvents.d.ts +33 -33
  23. package/cjs/types/ws/CamStreamerEvents.js +3 -3
  24. package/esm/CamStreamerAPI.js +4 -4
  25. package/esm/types/CamStreamerAPI/CamStreamerAPI.js +22 -38
  26. package/esm/types/CamStreamerAPI/facebookSchema.js +5 -9
  27. package/esm/types/CamStreamerAPI/index.js +1 -5
  28. package/esm/types/CamStreamerAPI/oldStreamSchema.js +1 -1
  29. package/esm/types/CamStreamerAPI/streamCommonTypes.js +88 -74
  30. package/esm/types/CamStreamerAPI/streamsSchema.js +57 -0
  31. package/esm/types/CamStreamerAPI/windySchema.js +1 -1
  32. package/esm/types/CamStreamerAPI/youtubeSchema.js +1 -4
  33. package/esm/types/ws/CamStreamerEvents.js +3 -3
  34. package/package.json +1 -1
  35. package/types/CamStreamerAPI.d.ts +1155 -485
  36. package/types/VapixAPI.d.ts +1 -1
  37. package/types/errors/errors.d.ts +2 -2
  38. package/types/types/CamStreamerAPI/CamStreamerAPI.d.ts +8076 -2678
  39. package/types/types/CamStreamerAPI/facebookSchema.d.ts +183 -55
  40. package/types/types/CamStreamerAPI/index.d.ts +1 -5
  41. package/types/types/CamStreamerAPI/oldStreamSchema.d.ts +39 -39
  42. package/types/types/CamStreamerAPI/streamCommonTypes.d.ts +224 -341
  43. package/types/types/CamStreamerAPI/streamsSchema.d.ts +7333 -0
  44. package/types/types/CamStreamerAPI/windySchema.d.ts +159 -45
  45. package/types/types/CamStreamerAPI/youtubeSchema.d.ts +159 -54
  46. package/types/types/VapixAPI.d.ts +10 -10
  47. package/types/types/ws/CamStreamerEvents.d.ts +33 -33
  48. package/cjs/types/CamStreamerAPI/churchSchema.d.ts +0 -293
  49. package/cjs/types/CamStreamerAPI/churchSchema.js +0 -11
  50. package/cjs/types/CamStreamerAPI/daCastSchema.d.ts +0 -293
  51. package/cjs/types/CamStreamerAPI/daCastSchema.js +0 -11
  52. package/cjs/types/CamStreamerAPI/dailymotionSchema.d.ts +0 -293
  53. package/cjs/types/CamStreamerAPI/dailymotionSchema.js +0 -11
  54. package/cjs/types/CamStreamerAPI/gameChangerSchema.d.ts +0 -312
  55. package/cjs/types/CamStreamerAPI/gameChangerSchema.js +0 -11
  56. package/cjs/types/CamStreamerAPI/hlsPullSchema.d.ts +0 -293
  57. package/cjs/types/CamStreamerAPI/hlsPullSchema.js +0 -11
  58. package/cjs/types/CamStreamerAPI/hlsPushSchema.d.ts +0 -293
  59. package/cjs/types/CamStreamerAPI/hlsPushSchema.js +0 -11
  60. package/cjs/types/CamStreamerAPI/ibmSchema.d.ts +0 -293
  61. package/cjs/types/CamStreamerAPI/ibmSchema.js +0 -11
  62. package/cjs/types/CamStreamerAPI/microsoftAzureSchema.d.ts +0 -293
  63. package/cjs/types/CamStreamerAPI/microsoftAzureSchema.js +0 -11
  64. package/cjs/types/CamStreamerAPI/microsoftStreamSchema.d.ts +0 -293
  65. package/cjs/types/CamStreamerAPI/microsoftStreamSchema.js +0 -11
  66. package/cjs/types/CamStreamerAPI/mpegDvbSchema.d.ts +0 -314
  67. package/cjs/types/CamStreamerAPI/mpegDvbSchema.js +0 -18
  68. package/cjs/types/CamStreamerAPI/rtmpSchema.d.ts +0 -619
  69. package/cjs/types/CamStreamerAPI/rtmpSchema.js +0 -19
  70. package/cjs/types/CamStreamerAPI/sdCardSchema.d.ts +0 -293
  71. package/cjs/types/CamStreamerAPI/sdCardSchema.js +0 -11
  72. package/cjs/types/CamStreamerAPI/srtSchema.d.ts +0 -293
  73. package/cjs/types/CamStreamerAPI/srtSchema.js +0 -11
  74. package/cjs/types/CamStreamerAPI/twitchSchema.d.ts +0 -293
  75. package/cjs/types/CamStreamerAPI/twitchSchema.js +0 -11
  76. package/cjs/types/CamStreamerAPI/vimeoSchema.d.ts +0 -293
  77. package/cjs/types/CamStreamerAPI/vimeoSchema.js +0 -11
  78. package/cjs/types/CamStreamerAPI/wowzaSchema.d.ts +0 -293
  79. package/cjs/types/CamStreamerAPI/wowzaSchema.js +0 -11
  80. package/cjs/types/CamStreamerAPI/youtubeRtmpSchema.d.ts +0 -312
  81. package/cjs/types/CamStreamerAPI/youtubeRtmpSchema.js +0 -11
  82. package/esm/types/CamStreamerAPI/churchSchema.js +0 -5
  83. package/esm/types/CamStreamerAPI/daCastSchema.js +0 -5
  84. package/esm/types/CamStreamerAPI/dailymotionSchema.js +0 -5
  85. package/esm/types/CamStreamerAPI/gameChangerSchema.js +0 -5
  86. package/esm/types/CamStreamerAPI/hlsPullSchema.js +0 -5
  87. package/esm/types/CamStreamerAPI/hlsPushSchema.js +0 -5
  88. package/esm/types/CamStreamerAPI/ibmSchema.js +0 -5
  89. package/esm/types/CamStreamerAPI/microsoftAzureSchema.js +0 -5
  90. package/esm/types/CamStreamerAPI/microsoftStreamSchema.js +0 -5
  91. package/esm/types/CamStreamerAPI/mpegDvbSchema.js +0 -12
  92. package/esm/types/CamStreamerAPI/rtmpSchema.js +0 -13
  93. package/esm/types/CamStreamerAPI/sdCardSchema.js +0 -5
  94. package/esm/types/CamStreamerAPI/srtSchema.js +0 -5
  95. package/esm/types/CamStreamerAPI/twitchSchema.js +0 -5
  96. package/esm/types/CamStreamerAPI/vimeoSchema.js +0 -5
  97. package/esm/types/CamStreamerAPI/wowzaSchema.js +0 -5
  98. package/esm/types/CamStreamerAPI/youtubeRtmpSchema.js +0 -5
  99. package/types/types/CamStreamerAPI/churchSchema.d.ts +0 -293
  100. package/types/types/CamStreamerAPI/daCastSchema.d.ts +0 -293
  101. package/types/types/CamStreamerAPI/dailymotionSchema.d.ts +0 -293
  102. package/types/types/CamStreamerAPI/gameChangerSchema.d.ts +0 -312
  103. package/types/types/CamStreamerAPI/hlsPullSchema.d.ts +0 -293
  104. package/types/types/CamStreamerAPI/hlsPushSchema.d.ts +0 -293
  105. package/types/types/CamStreamerAPI/ibmSchema.d.ts +0 -293
  106. package/types/types/CamStreamerAPI/microsoftAzureSchema.d.ts +0 -293
  107. package/types/types/CamStreamerAPI/microsoftStreamSchema.d.ts +0 -293
  108. package/types/types/CamStreamerAPI/mpegDvbSchema.d.ts +0 -314
  109. package/types/types/CamStreamerAPI/rtmpSchema.d.ts +0 -619
  110. package/types/types/CamStreamerAPI/sdCardSchema.d.ts +0 -293
  111. package/types/types/CamStreamerAPI/srtSchema.d.ts +0 -293
  112. package/types/types/CamStreamerAPI/twitchSchema.d.ts +0 -293
  113. package/types/types/CamStreamerAPI/vimeoSchema.d.ts +0 -293
  114. package/types/types/CamStreamerAPI/wowzaSchema.d.ts +0 -293
  115. package/types/types/CamStreamerAPI/youtubeRtmpSchema.d.ts +0 -312
@@ -1,32 +1,51 @@
1
1
  import z from 'zod';
2
- export declare const facebookStreamPrivacySchema: z.ZodUnion<[z.ZodLiteral<"public">, z.ZodLiteral<"friends">, z.ZodLiteral<"only_me">]>;
2
+ declare const timelinePostSchema: z.ZodObject<{
3
+ postLocation: z.ZodLiteral<"timeline">;
4
+ streamPrivacy: z.ZodUnion<[z.ZodLiteral<"public">, z.ZodLiteral<"friends">, z.ZodLiteral<"only_me">]>;
5
+ }, "strip", z.ZodTypeAny, {
6
+ postLocation: "timeline";
7
+ streamPrivacy: "public" | "friends" | "only_me";
8
+ }, {
9
+ postLocation: "timeline";
10
+ streamPrivacy: "public" | "friends" | "only_me";
11
+ }>;
12
+ export type TTimeLinePost = z.infer<typeof timelinePostSchema>;
13
+ export type TFacebookStreamPrivacy = TTimeLinePost['streamPrivacy'];
14
+ declare const pagePostSchema: z.ZodObject<{
15
+ postLocation: z.ZodLiteral<"page">;
16
+ page: z.ZodString;
17
+ }, "strip", z.ZodTypeAny, {
18
+ postLocation: "page";
19
+ page: string;
20
+ }, {
21
+ postLocation: "page";
22
+ page: string;
23
+ }>;
24
+ export type TPagePost = z.infer<typeof pagePostSchema>;
3
25
  export declare const facebookSchema: z.ZodObject<{
4
- id: z.ZodNumber;
26
+ streamId: z.ZodString;
5
27
  enabled: z.ZodBoolean;
6
28
  active: z.ZodBoolean;
7
29
  title: z.ZodString;
8
30
  trigger: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
9
31
  type: z.ZodLiteral<"manual">;
10
- ioPort: z.ZodNullable<z.ZodString>;
32
+ ioPort: z.ZodNullable<z.ZodNumber>;
11
33
  }, "strip", z.ZodTypeAny, {
12
34
  type: "manual";
13
- ioPort: string | null;
35
+ ioPort: number | null;
14
36
  }, {
15
37
  type: "manual";
16
- ioPort: string | null;
38
+ ioPort: number | null;
17
39
  }>, z.ZodObject<{
18
40
  type: z.ZodLiteral<"onetime">;
19
41
  startTime: z.ZodNumber;
20
42
  stopTime: z.ZodNumber;
21
- ioPort: z.ZodNullable<z.ZodString>;
22
43
  }, "strip", z.ZodTypeAny, {
23
44
  type: "onetime";
24
- ioPort: string | null;
25
45
  startTime: number;
26
46
  stopTime: number;
27
47
  }, {
28
48
  type: "onetime";
29
- ioPort: string | null;
30
49
  startTime: number;
31
50
  stopTime: number;
32
51
  }>, z.ZodObject<{
@@ -102,11 +121,51 @@ export declare const facebookSchema: z.ZodObject<{
102
121
  }[];
103
122
  }>]>;
104
123
  video: z.ZodObject<{
105
- inputType: z.ZodUnion<[z.ZodLiteral<"CSw">, z.ZodLiteral<"CRS">, z.ZodLiteral<"RTSP_URL">]>;
106
- sourceUrl: z.ZodOptional<z.ZodString>;
124
+ output: z.ZodDiscriminatedUnion<"callApi", [z.ZodObject<{
125
+ type: z.ZodUnion<[z.ZodLiteral<"video">, z.ZodLiteral<"images">]>;
126
+ callApi: z.ZodLiteral<false>;
127
+ url: z.ZodString;
128
+ }, "strip", z.ZodTypeAny, {
129
+ type: "video" | "images";
130
+ url: string;
131
+ callApi: false;
132
+ }, {
133
+ type: "video" | "images";
134
+ url: string;
135
+ callApi: false;
136
+ }>, z.ZodObject<{
137
+ type: z.ZodLiteral<"video">;
138
+ callApi: z.ZodLiteral<true>;
139
+ prepareAheadS: z.ZodNumber;
140
+ }, "strip", z.ZodTypeAny, {
141
+ type: "video";
142
+ callApi: true;
143
+ prepareAheadS: number;
144
+ }, {
145
+ type: "video";
146
+ callApi: true;
147
+ prepareAheadS: number;
148
+ }>]>;
149
+ outputParameters: z.ZodString;
150
+ input: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
151
+ type: z.ZodLiteral<"RTSP_URL">;
152
+ url: z.ZodString;
153
+ }, "strip", z.ZodTypeAny, {
154
+ type: "RTSP_URL";
155
+ url: string;
156
+ }, {
157
+ type: "RTSP_URL";
158
+ url: string;
159
+ }>, z.ZodObject<{
160
+ type: z.ZodUnion<[z.ZodLiteral<"CSw">, z.ZodLiteral<"CRS">]>;
161
+ }, "strip", z.ZodTypeAny, {
162
+ type: "CSw" | "CRS";
163
+ }, {
164
+ type: "CSw" | "CRS";
165
+ }>]>;
166
+ streamingProtocol: z.ZodUnion<[z.ZodLiteral<"RTMP">, z.ZodLiteral<"RTMPS">, z.ZodLiteral<"HLS_PUSH">]>;
107
167
  internalVapixParameters: z.ZodString;
108
168
  userVapixParameters: z.ZodString;
109
- streamingProtocol: z.ZodUnion<[z.ZodLiteral<"RTMP">, z.ZodLiteral<"RTMPS">, z.ZodLiteral<"HLS_PUSH">]>;
110
169
  streamDelay: z.ZodOptional<z.ZodObject<{
111
170
  value: z.ZodNumber;
112
171
  unit: z.ZodUnion<[z.ZodLiteral<"seconds">, z.ZodLiteral<"minutes">, z.ZodLiteral<"hours">]>;
@@ -118,51 +177,79 @@ export declare const facebookSchema: z.ZodObject<{
118
177
  unit: "seconds" | "minutes" | "hours";
119
178
  }>>;
120
179
  }, "strip", z.ZodTypeAny, {
121
- inputType: "RTSP_URL" | "CSw" | "CRS";
180
+ output: {
181
+ type: "video" | "images";
182
+ url: string;
183
+ callApi: false;
184
+ } | {
185
+ type: "video";
186
+ callApi: true;
187
+ prepareAheadS: number;
188
+ };
189
+ outputParameters: string;
190
+ input: {
191
+ type: "RTSP_URL";
192
+ url: string;
193
+ } | {
194
+ type: "CSw" | "CRS";
195
+ };
196
+ streamingProtocol: "RTMP" | "RTMPS" | "HLS_PUSH";
122
197
  internalVapixParameters: string;
123
198
  userVapixParameters: string;
124
- streamingProtocol: "RTMP" | "RTMPS" | "HLS_PUSH";
125
- sourceUrl?: string | undefined;
126
199
  streamDelay?: {
127
200
  value: number;
128
201
  unit: "seconds" | "minutes" | "hours";
129
202
  } | undefined;
130
203
  }, {
131
- inputType: "RTSP_URL" | "CSw" | "CRS";
204
+ output: {
205
+ type: "video" | "images";
206
+ url: string;
207
+ callApi: false;
208
+ } | {
209
+ type: "video";
210
+ callApi: true;
211
+ prepareAheadS: number;
212
+ };
213
+ outputParameters: string;
214
+ input: {
215
+ type: "RTSP_URL";
216
+ url: string;
217
+ } | {
218
+ type: "CSw" | "CRS";
219
+ };
220
+ streamingProtocol: "RTMP" | "RTMPS" | "HLS_PUSH";
132
221
  internalVapixParameters: string;
133
222
  userVapixParameters: string;
134
- streamingProtocol: "RTMP" | "RTMPS" | "HLS_PUSH";
135
- sourceUrl?: string | undefined;
136
223
  streamDelay?: {
137
224
  value: number;
138
225
  unit: "seconds" | "minutes" | "hours";
139
226
  } | undefined;
140
227
  }>;
141
- audio: z.ZodDiscriminatedUnion<"source", [z.ZodObject<{
142
- source: z.ZodLiteral<"none">;
143
- }, "strip", z.ZodTypeAny, {
144
- source: "none";
145
- }, {
146
- source: "none";
147
- }>, z.ZodObject<{
228
+ audio: z.ZodNullable<z.ZodDiscriminatedUnion<"source", [z.ZodObject<{
148
229
  source: z.ZodLiteral<"microphone">;
149
230
  audioChannelNbr: z.ZodUnion<[z.ZodLiteral<1>, z.ZodLiteral<2>]>;
231
+ forceStereo: z.ZodUnion<[z.ZodLiteral<0>, z.ZodLiteral<1>]>;
150
232
  }, "strip", z.ZodTypeAny, {
151
233
  source: "microphone";
152
234
  audioChannelNbr: 1 | 2;
235
+ forceStereo: 0 | 1;
153
236
  }, {
154
237
  source: "microphone";
155
238
  audioChannelNbr: 1 | 2;
239
+ forceStereo: 0 | 1;
156
240
  }>, z.ZodObject<{
157
241
  source: z.ZodLiteral<"file">;
158
242
  fileName: z.ZodString;
159
243
  filePath: z.ZodString;
244
+ forceStereo: z.ZodUnion<[z.ZodLiteral<0>, z.ZodLiteral<1>]>;
160
245
  }, "strip", z.ZodTypeAny, {
161
246
  source: "file";
247
+ forceStereo: 0 | 1;
162
248
  fileName: string;
163
249
  filePath: string;
164
250
  }, {
165
251
  source: "file";
252
+ forceStereo: 0 | 1;
166
253
  fileName: string;
167
254
  filePath: string;
168
255
  }>, z.ZodObject<{
@@ -170,24 +257,34 @@ export declare const facebookSchema: z.ZodObject<{
170
257
  fileName: z.ZodString;
171
258
  fileUrl: z.ZodString;
172
259
  avSyncMsec: z.ZodNumber;
260
+ forceStereo: z.ZodUnion<[z.ZodLiteral<0>, z.ZodLiteral<1>]>;
173
261
  }, "strip", z.ZodTypeAny, {
174
262
  source: "url";
263
+ forceStereo: 0 | 1;
175
264
  fileName: string;
176
265
  fileUrl: string;
177
266
  avSyncMsec: number;
178
267
  }, {
179
268
  source: "url";
269
+ forceStereo: 0 | 1;
180
270
  fileName: string;
181
271
  fileUrl: string;
182
272
  avSyncMsec: number;
183
- }>]>;
273
+ }>]>>;
274
+ status: z.ZodObject<{
275
+ led: z.ZodBoolean;
276
+ port: z.ZodNullable<z.ZodNumber>;
277
+ }, "strip", z.ZodTypeAny, {
278
+ port: number | null;
279
+ led: boolean;
280
+ }, {
281
+ port: number | null;
282
+ led: boolean;
283
+ }>;
184
284
  } & {
185
- type: z.ZodLiteral<"facebook">;
285
+ platform: z.ZodLiteral<"facebook">;
186
286
  description: z.ZodOptional<z.ZodString>;
187
287
  deleteAfterEnd: z.ZodBoolean;
188
- saveToSdCard: z.ZodBoolean;
189
- statusCameraLed: z.ZodBoolean;
190
- statusCameraOutput: z.ZodNullable<z.ZodString>;
191
288
  countdown: z.ZodBoolean;
192
289
  post: z.ZodDiscriminatedUnion<"postLocation", [z.ZodObject<{
193
290
  postLocation: z.ZodLiteral<"timeline">;
@@ -216,43 +313,60 @@ export declare const facebookSchema: z.ZodObject<{
216
313
  postLocation: "page";
217
314
  page: string;
218
315
  };
219
- type: "facebook";
316
+ status: {
317
+ port: number | null;
318
+ led: boolean;
319
+ };
220
320
  audio: {
221
- source: "none";
222
- } | {
223
321
  source: "microphone";
224
322
  audioChannelNbr: 1 | 2;
323
+ forceStereo: 0 | 1;
225
324
  } | {
226
325
  source: "file";
326
+ forceStereo: 0 | 1;
227
327
  fileName: string;
228
328
  filePath: string;
229
329
  } | {
230
330
  source: "url";
331
+ forceStereo: 0 | 1;
231
332
  fileName: string;
232
333
  fileUrl: string;
233
334
  avSyncMsec: number;
234
- };
335
+ } | null;
235
336
  video: {
236
- inputType: "RTSP_URL" | "CSw" | "CRS";
337
+ output: {
338
+ type: "video" | "images";
339
+ url: string;
340
+ callApi: false;
341
+ } | {
342
+ type: "video";
343
+ callApi: true;
344
+ prepareAheadS: number;
345
+ };
346
+ outputParameters: string;
347
+ input: {
348
+ type: "RTSP_URL";
349
+ url: string;
350
+ } | {
351
+ type: "CSw" | "CRS";
352
+ };
353
+ streamingProtocol: "RTMP" | "RTMPS" | "HLS_PUSH";
237
354
  internalVapixParameters: string;
238
355
  userVapixParameters: string;
239
- streamingProtocol: "RTMP" | "RTMPS" | "HLS_PUSH";
240
- sourceUrl?: string | undefined;
241
356
  streamDelay?: {
242
357
  value: number;
243
358
  unit: "seconds" | "minutes" | "hours";
244
359
  } | undefined;
245
360
  };
246
361
  enabled: boolean;
247
- id: number;
362
+ streamId: string;
248
363
  active: boolean;
249
364
  title: string;
250
365
  trigger: {
251
366
  type: "manual";
252
- ioPort: string | null;
367
+ ioPort: number | null;
253
368
  } | {
254
369
  type: "onetime";
255
- ioPort: string | null;
256
370
  startTime: number;
257
371
  stopTime: number;
258
372
  } | {
@@ -269,10 +383,8 @@ export declare const facebookSchema: z.ZodObject<{
269
383
  isActive: boolean;
270
384
  }[];
271
385
  };
386
+ platform: "facebook";
272
387
  deleteAfterEnd: boolean;
273
- saveToSdCard: boolean;
274
- statusCameraLed: boolean;
275
- statusCameraOutput: string | null;
276
388
  countdown: boolean;
277
389
  description?: string | undefined;
278
390
  }, {
@@ -283,43 +395,60 @@ export declare const facebookSchema: z.ZodObject<{
283
395
  postLocation: "page";
284
396
  page: string;
285
397
  };
286
- type: "facebook";
398
+ status: {
399
+ port: number | null;
400
+ led: boolean;
401
+ };
287
402
  audio: {
288
- source: "none";
289
- } | {
290
403
  source: "microphone";
291
404
  audioChannelNbr: 1 | 2;
405
+ forceStereo: 0 | 1;
292
406
  } | {
293
407
  source: "file";
408
+ forceStereo: 0 | 1;
294
409
  fileName: string;
295
410
  filePath: string;
296
411
  } | {
297
412
  source: "url";
413
+ forceStereo: 0 | 1;
298
414
  fileName: string;
299
415
  fileUrl: string;
300
416
  avSyncMsec: number;
301
- };
417
+ } | null;
302
418
  video: {
303
- inputType: "RTSP_URL" | "CSw" | "CRS";
419
+ output: {
420
+ type: "video" | "images";
421
+ url: string;
422
+ callApi: false;
423
+ } | {
424
+ type: "video";
425
+ callApi: true;
426
+ prepareAheadS: number;
427
+ };
428
+ outputParameters: string;
429
+ input: {
430
+ type: "RTSP_URL";
431
+ url: string;
432
+ } | {
433
+ type: "CSw" | "CRS";
434
+ };
435
+ streamingProtocol: "RTMP" | "RTMPS" | "HLS_PUSH";
304
436
  internalVapixParameters: string;
305
437
  userVapixParameters: string;
306
- streamingProtocol: "RTMP" | "RTMPS" | "HLS_PUSH";
307
- sourceUrl?: string | undefined;
308
438
  streamDelay?: {
309
439
  value: number;
310
440
  unit: "seconds" | "minutes" | "hours";
311
441
  } | undefined;
312
442
  };
313
443
  enabled: boolean;
314
- id: number;
444
+ streamId: string;
315
445
  active: boolean;
316
446
  title: string;
317
447
  trigger: {
318
448
  type: "manual";
319
- ioPort: string | null;
449
+ ioPort: number | null;
320
450
  } | {
321
451
  type: "onetime";
322
- ioPort: string | null;
323
452
  startTime: number;
324
453
  stopTime: number;
325
454
  } | {
@@ -336,10 +465,9 @@ export declare const facebookSchema: z.ZodObject<{
336
465
  isActive: boolean;
337
466
  }[];
338
467
  };
468
+ platform: "facebook";
339
469
  deleteAfterEnd: boolean;
340
- saveToSdCard: boolean;
341
- statusCameraLed: boolean;
342
- statusCameraOutput: string | null;
343
470
  countdown: boolean;
344
471
  description?: string | undefined;
345
472
  }>;
473
+ export {};
@@ -1,10 +1,6 @@
1
1
  export * from './CamStreamerAPI';
2
2
  export * from './streamCommonTypes';
3
3
  export * from './facebookSchema';
4
- export * from './mpegDvbSchema';
5
- export * from './rtmpSchema';
6
- export * from './gameChangerSchema';
7
- export * from './sdCardSchema';
8
4
  export * from './windySchema';
9
5
  export * from './youtubeSchema';
10
- export * from './youtubeRtmpSchema';
6
+ export * from './streamsSchema';
@@ -23,47 +23,47 @@ export declare const oldStringStreamSchema: z.ZodObject<{
23
23
  stopTime: z.ZodString;
24
24
  }, "strip", z.ZodTypeAny, {
25
25
  enabled: string;
26
+ active: string;
27
+ trigger: string;
26
28
  startTime: string;
27
29
  stopTime: string;
28
30
  schedule: string;
29
- inputType: string;
31
+ callApi: string;
32
+ outputParameters: string;
30
33
  internalVapixParameters: string;
31
34
  userVapixParameters: string;
32
35
  streamDelay: string;
36
+ forceStereo: string;
33
37
  avSyncMsec: string;
34
- active: string;
35
- trigger: string;
36
- outputParameters: string;
37
38
  audioSource: string;
38
39
  outputType: string;
39
40
  mediaServerUrl: string;
41
+ inputType: string;
40
42
  inputUrl: string;
41
- forceStereo: string;
42
43
  statusLed: string;
43
44
  statusPort: string;
44
- callApi: string;
45
45
  prepareAhead: string;
46
46
  }, {
47
47
  enabled: string;
48
+ active: string;
49
+ trigger: string;
48
50
  startTime: string;
49
51
  stopTime: string;
50
52
  schedule: string;
51
- inputType: string;
53
+ callApi: string;
54
+ outputParameters: string;
52
55
  internalVapixParameters: string;
53
56
  userVapixParameters: string;
54
57
  streamDelay: string;
58
+ forceStereo: string;
55
59
  avSyncMsec: string;
56
- active: string;
57
- trigger: string;
58
- outputParameters: string;
59
60
  audioSource: string;
60
61
  outputType: string;
61
62
  mediaServerUrl: string;
63
+ inputType: string;
62
64
  inputUrl: string;
63
- forceStereo: string;
64
65
  statusLed: string;
65
66
  statusPort: string;
66
- callApi: string;
67
67
  prepareAhead: string;
68
68
  }>;
69
69
  export declare const oldStringStreamSchemaWithId: z.ZodObject<{
@@ -89,52 +89,52 @@ export declare const oldStringStreamSchemaWithId: z.ZodObject<{
89
89
  startTime: z.ZodString;
90
90
  stopTime: z.ZodString;
91
91
  } & {
92
- id: z.ZodString;
92
+ streamId: z.ZodString;
93
93
  }, "strip", z.ZodTypeAny, {
94
94
  enabled: string;
95
- id: string;
95
+ streamId: string;
96
+ active: string;
97
+ trigger: string;
96
98
  startTime: string;
97
99
  stopTime: string;
98
100
  schedule: string;
99
- inputType: string;
101
+ callApi: string;
102
+ outputParameters: string;
100
103
  internalVapixParameters: string;
101
104
  userVapixParameters: string;
102
105
  streamDelay: string;
106
+ forceStereo: string;
103
107
  avSyncMsec: string;
104
- active: string;
105
- trigger: string;
106
- outputParameters: string;
107
108
  audioSource: string;
108
109
  outputType: string;
109
110
  mediaServerUrl: string;
111
+ inputType: string;
110
112
  inputUrl: string;
111
- forceStereo: string;
112
113
  statusLed: string;
113
114
  statusPort: string;
114
- callApi: string;
115
115
  prepareAhead: string;
116
116
  }, {
117
117
  enabled: string;
118
- id: string;
118
+ streamId: string;
119
+ active: string;
120
+ trigger: string;
119
121
  startTime: string;
120
122
  stopTime: string;
121
123
  schedule: string;
122
- inputType: string;
124
+ callApi: string;
125
+ outputParameters: string;
123
126
  internalVapixParameters: string;
124
127
  userVapixParameters: string;
125
128
  streamDelay: string;
129
+ forceStereo: string;
126
130
  avSyncMsec: string;
127
- active: string;
128
- trigger: string;
129
- outputParameters: string;
130
131
  audioSource: string;
131
132
  outputType: string;
132
133
  mediaServerUrl: string;
134
+ inputType: string;
133
135
  inputUrl: string;
134
- forceStereo: string;
135
136
  statusLed: string;
136
137
  statusPort: string;
137
- callApi: string;
138
138
  prepareAhead: string;
139
139
  }>;
140
140
  export type TOldStringStream = z.infer<typeof oldStringStreamSchema>;
@@ -162,47 +162,47 @@ export declare const oldStreamSchema: z.ZodObject<{
162
162
  stopTime: z.ZodNullable<z.ZodNumber>;
163
163
  }, "strip", z.ZodTypeAny, {
164
164
  enabled: 0 | 1;
165
+ active: 0 | 1;
166
+ trigger: string;
165
167
  startTime: number | null;
166
168
  stopTime: number | null;
167
169
  schedule: string;
168
- inputType: "RTSP_URL" | "CSw" | "CRS";
170
+ callApi: number;
171
+ outputParameters: string;
169
172
  internalVapixParameters: string;
170
173
  userVapixParameters: string;
171
174
  streamDelay: number | null;
175
+ forceStereo: 0 | 1;
172
176
  avSyncMsec: number;
173
- active: 0 | 1;
174
- trigger: string;
175
- outputParameters: string;
176
177
  audioSource: string;
177
178
  outputType: "video" | "none" | "images";
178
179
  mediaServerUrl: string;
180
+ inputType: "RTSP_URL" | "CSw" | "CRS";
179
181
  inputUrl: string;
180
- forceStereo: 0 | 1;
181
182
  statusLed: number;
182
183
  statusPort: string;
183
- callApi: number;
184
184
  prepareAhead: number;
185
185
  }, {
186
186
  enabled: 0 | 1;
187
+ active: 0 | 1;
188
+ trigger: string;
187
189
  startTime: number | null;
188
190
  stopTime: number | null;
189
191
  schedule: string;
190
- inputType: "RTSP_URL" | "CSw" | "CRS";
192
+ callApi: number;
193
+ outputParameters: string;
191
194
  internalVapixParameters: string;
192
195
  userVapixParameters: string;
193
196
  streamDelay: number | null;
197
+ forceStereo: 0 | 1;
194
198
  avSyncMsec: number;
195
- active: 0 | 1;
196
- trigger: string;
197
- outputParameters: string;
198
199
  audioSource: string;
199
200
  outputType: "video" | "none" | "images";
200
201
  mediaServerUrl: string;
202
+ inputType: "RTSP_URL" | "CSw" | "CRS";
201
203
  inputUrl: string;
202
- forceStereo: 0 | 1;
203
204
  statusLed: number;
204
205
  statusPort: string;
205
- callApi: number;
206
206
  prepareAhead: number;
207
207
  }>;
208
208
  export type TOldStream = z.infer<typeof oldStreamSchema>;