camstreamerlib 4.0.0-beta.115 → 4.0.0-beta.117

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 +1235 -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 +8759 -2681
  6. package/cjs/types/CamStreamerAPI/CamStreamerAPI.js +39 -55
  7. package/cjs/types/CamStreamerAPI/facebookSchema.d.ts +197 -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 +238 -341
  14. package/cjs/types/CamStreamerAPI/streamCommonTypes.js +92 -75
  15. package/cjs/types/CamStreamerAPI/streamsSchema.d.ts +7585 -0
  16. package/cjs/types/CamStreamerAPI/streamsSchema.js +63 -0
  17. package/cjs/types/CamStreamerAPI/windySchema.d.ts +173 -45
  18. package/cjs/types/CamStreamerAPI/windySchema.js +1 -1
  19. package/cjs/types/CamStreamerAPI/youtubeSchema.d.ts +173 -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 +91 -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 +1235 -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 +8759 -2681
  39. package/types/types/CamStreamerAPI/facebookSchema.d.ts +197 -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 +238 -341
  43. package/types/types/CamStreamerAPI/streamsSchema.d.ts +7585 -0
  44. package/types/types/CamStreamerAPI/windySchema.d.ts +173 -45
  45. package/types/types/CamStreamerAPI/youtubeSchema.d.ts +173 -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
@@ -0,0 +1,63 @@
1
+ "use strict";
2
+ var __importDefault = (this && this.__importDefault) || function (mod) {
3
+ return (mod && mod.__esModule) ? mod : { "default": mod };
4
+ };
5
+ Object.defineProperty(exports, "__esModule", { value: true });
6
+ exports.youtubeRtmpSchema = exports.wowzaSchema = exports.vimeoSchema = exports.twitchSchema = exports.srtSchema = exports.sdCardSchema = exports.rtmpSchema = exports.microsoftStreamSchema = exports.microsoftAzureSchema = exports.mpegDvbSchema = exports.ibmSchema = exports.hlsPushSchema = exports.hlsPullSchema = exports.gameChangerSchema = exports.dailymotionSchema = exports.daCastSchema = exports.churchSchema = exports.commonRtmpSchema = void 0;
7
+ const zod_1 = __importDefault(require("zod"));
8
+ const streamCommonTypes_1 = require("./streamCommonTypes");
9
+ exports.commonRtmpSchema = streamCommonTypes_1.streamCommonSchema.extend({
10
+ streamKey: zod_1.default.string(),
11
+ streamIdentifier: zod_1.default.string().optional(),
12
+ });
13
+ exports.churchSchema = streamCommonTypes_1.streamCommonSchema.extend({
14
+ platform: zod_1.default.literal('church'),
15
+ });
16
+ exports.daCastSchema = streamCommonTypes_1.streamCommonSchema.extend({
17
+ platform: zod_1.default.literal('da_cast'),
18
+ });
19
+ exports.dailymotionSchema = streamCommonTypes_1.streamCommonSchema.extend({
20
+ platform: zod_1.default.literal('dailymotion'),
21
+ });
22
+ exports.gameChangerSchema = exports.commonRtmpSchema.extend({
23
+ platform: zod_1.default.literal('game_changer'),
24
+ });
25
+ exports.hlsPullSchema = streamCommonTypes_1.streamCommonSchema.extend({
26
+ platform: zod_1.default.literal('hls_pull'),
27
+ });
28
+ exports.hlsPushSchema = streamCommonTypes_1.streamCommonSchema.extend({
29
+ platform: zod_1.default.literal('hls_push'),
30
+ });
31
+ exports.ibmSchema = streamCommonTypes_1.streamCommonSchema.extend({
32
+ platform: zod_1.default.literal('ibm'),
33
+ });
34
+ exports.mpegDvbSchema = streamCommonTypes_1.streamCommonSchema.extend({
35
+ platform: zod_1.default.literal('mpeg_dvb'),
36
+ });
37
+ exports.microsoftAzureSchema = streamCommonTypes_1.streamCommonSchema.extend({
38
+ platform: zod_1.default.literal('microsoft_azure'),
39
+ });
40
+ exports.microsoftStreamSchema = streamCommonTypes_1.streamCommonSchema.extend({
41
+ platform: zod_1.default.literal('microsoft_stream'),
42
+ });
43
+ exports.rtmpSchema = exports.commonRtmpSchema.extend({
44
+ platform: zod_1.default.literal('rtmp'),
45
+ });
46
+ exports.sdCardSchema = streamCommonTypes_1.streamCommonSchema.extend({
47
+ platform: zod_1.default.literal('sd_card'),
48
+ });
49
+ exports.srtSchema = streamCommonTypes_1.streamCommonSchema.extend({
50
+ platform: zod_1.default.literal('srt'),
51
+ });
52
+ exports.twitchSchema = streamCommonTypes_1.streamCommonSchema.extend({
53
+ platform: zod_1.default.literal('twitch'),
54
+ });
55
+ exports.vimeoSchema = streamCommonTypes_1.streamCommonSchema.extend({
56
+ platform: zod_1.default.literal('vimeo'),
57
+ });
58
+ exports.wowzaSchema = streamCommonTypes_1.streamCommonSchema.extend({
59
+ platform: zod_1.default.literal('wowza'),
60
+ });
61
+ exports.youtubeRtmpSchema = exports.commonRtmpSchema.extend({
62
+ platform: zod_1.default.literal('youtube_rtmp'),
63
+ });
@@ -1,31 +1,28 @@
1
1
  import z from 'zod';
2
2
  export declare const windySchema: z.ZodObject<{
3
- id: z.ZodNumber;
3
+ streamId: z.ZodString;
4
4
  enabled: z.ZodBoolean;
5
5
  active: z.ZodBoolean;
6
6
  title: z.ZodString;
7
7
  trigger: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
8
8
  type: z.ZodLiteral<"manual">;
9
- ioPort: z.ZodNullable<z.ZodString>;
9
+ ioPort: z.ZodNullable<z.ZodNumber>;
10
10
  }, "strip", z.ZodTypeAny, {
11
11
  type: "manual";
12
- ioPort: string | null;
12
+ ioPort: number | null;
13
13
  }, {
14
14
  type: "manual";
15
- ioPort: string | null;
15
+ ioPort: number | null;
16
16
  }>, z.ZodObject<{
17
17
  type: z.ZodLiteral<"onetime">;
18
18
  startTime: z.ZodNumber;
19
19
  stopTime: z.ZodNumber;
20
- ioPort: z.ZodNullable<z.ZodString>;
21
20
  }, "strip", z.ZodTypeAny, {
22
21
  type: "onetime";
23
- ioPort: string | null;
24
22
  startTime: number;
25
23
  stopTime: number;
26
24
  }, {
27
25
  type: "onetime";
28
- ioPort: string | null;
29
26
  startTime: number;
30
27
  stopTime: number;
31
28
  }>, z.ZodObject<{
@@ -101,11 +98,57 @@ export declare const windySchema: z.ZodObject<{
101
98
  }[];
102
99
  }>]>;
103
100
  video: z.ZodObject<{
104
- inputType: z.ZodUnion<[z.ZodLiteral<"CSw">, z.ZodLiteral<"CRS">, z.ZodLiteral<"RTSP_URL">]>;
105
- sourceUrl: z.ZodOptional<z.ZodString>;
101
+ output: z.ZodDiscriminatedUnion<"callApi", [z.ZodObject<{
102
+ type: z.ZodUnion<[z.ZodLiteral<"video">, z.ZodLiteral<"images">]>;
103
+ callApi: z.ZodLiteral<false>;
104
+ url: z.ZodString;
105
+ }, "strip", z.ZodTypeAny, {
106
+ type: "video" | "images";
107
+ url: string;
108
+ callApi: false;
109
+ }, {
110
+ type: "video" | "images";
111
+ url: string;
112
+ callApi: false;
113
+ }>, z.ZodObject<{
114
+ type: z.ZodLiteral<"video">;
115
+ callApi: z.ZodLiteral<true>;
116
+ prepareAheadS: z.ZodNumber;
117
+ }, "strip", z.ZodTypeAny, {
118
+ type: "video";
119
+ callApi: true;
120
+ prepareAheadS: number;
121
+ }, {
122
+ type: "video";
123
+ callApi: true;
124
+ prepareAheadS: number;
125
+ }>]>;
126
+ outputParameters: z.ZodString;
127
+ input: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
128
+ type: z.ZodLiteral<"RTSP_URL">;
129
+ url: z.ZodString;
130
+ }, "strip", z.ZodTypeAny, {
131
+ type: "RTSP_URL";
132
+ url: string;
133
+ }, {
134
+ type: "RTSP_URL";
135
+ url: string;
136
+ }>, z.ZodObject<{
137
+ type: z.ZodLiteral<"CSw">;
138
+ }, "strip", z.ZodTypeAny, {
139
+ type: "CSw";
140
+ }, {
141
+ type: "CSw";
142
+ }>, z.ZodObject<{
143
+ type: z.ZodLiteral<"CRS">;
144
+ }, "strip", z.ZodTypeAny, {
145
+ type: "CRS";
146
+ }, {
147
+ type: "CRS";
148
+ }>]>;
149
+ streamingProtocol: z.ZodUnion<[z.ZodLiteral<"RTMP">, z.ZodLiteral<"RTMPS">, z.ZodLiteral<"HLS_PUSH">]>;
106
150
  internalVapixParameters: z.ZodString;
107
151
  userVapixParameters: z.ZodString;
108
- streamingProtocol: z.ZodUnion<[z.ZodLiteral<"RTMP">, z.ZodLiteral<"RTMPS">, z.ZodLiteral<"HLS_PUSH">]>;
109
152
  streamDelay: z.ZodOptional<z.ZodObject<{
110
153
  value: z.ZodNumber;
111
154
  unit: z.ZodUnion<[z.ZodLiteral<"seconds">, z.ZodLiteral<"minutes">, z.ZodLiteral<"hours">]>;
@@ -117,51 +160,83 @@ export declare const windySchema: z.ZodObject<{
117
160
  unit: "seconds" | "minutes" | "hours";
118
161
  }>>;
119
162
  }, "strip", z.ZodTypeAny, {
120
- inputType: "RTSP_URL" | "CSw" | "CRS";
163
+ output: {
164
+ type: "video" | "images";
165
+ url: string;
166
+ callApi: false;
167
+ } | {
168
+ type: "video";
169
+ callApi: true;
170
+ prepareAheadS: number;
171
+ };
172
+ outputParameters: string;
173
+ input: {
174
+ type: "RTSP_URL";
175
+ url: string;
176
+ } | {
177
+ type: "CSw";
178
+ } | {
179
+ type: "CRS";
180
+ };
181
+ streamingProtocol: "RTMP" | "RTMPS" | "HLS_PUSH";
121
182
  internalVapixParameters: string;
122
183
  userVapixParameters: string;
123
- streamingProtocol: "RTMP" | "RTMPS" | "HLS_PUSH";
124
- sourceUrl?: string | undefined;
125
184
  streamDelay?: {
126
185
  value: number;
127
186
  unit: "seconds" | "minutes" | "hours";
128
187
  } | undefined;
129
188
  }, {
130
- inputType: "RTSP_URL" | "CSw" | "CRS";
189
+ output: {
190
+ type: "video" | "images";
191
+ url: string;
192
+ callApi: false;
193
+ } | {
194
+ type: "video";
195
+ callApi: true;
196
+ prepareAheadS: number;
197
+ };
198
+ outputParameters: string;
199
+ input: {
200
+ type: "RTSP_URL";
201
+ url: string;
202
+ } | {
203
+ type: "CSw";
204
+ } | {
205
+ type: "CRS";
206
+ };
207
+ streamingProtocol: "RTMP" | "RTMPS" | "HLS_PUSH";
131
208
  internalVapixParameters: string;
132
209
  userVapixParameters: string;
133
- streamingProtocol: "RTMP" | "RTMPS" | "HLS_PUSH";
134
- sourceUrl?: string | undefined;
135
210
  streamDelay?: {
136
211
  value: number;
137
212
  unit: "seconds" | "minutes" | "hours";
138
213
  } | undefined;
139
214
  }>;
140
- audio: z.ZodDiscriminatedUnion<"source", [z.ZodObject<{
141
- source: z.ZodLiteral<"none">;
142
- }, "strip", z.ZodTypeAny, {
143
- source: "none";
144
- }, {
145
- source: "none";
146
- }>, z.ZodObject<{
215
+ audio: z.ZodNullable<z.ZodDiscriminatedUnion<"source", [z.ZodObject<{
147
216
  source: z.ZodLiteral<"microphone">;
148
217
  audioChannelNbr: z.ZodUnion<[z.ZodLiteral<1>, z.ZodLiteral<2>]>;
218
+ forceStereo: z.ZodUnion<[z.ZodLiteral<0>, z.ZodLiteral<1>]>;
149
219
  }, "strip", z.ZodTypeAny, {
150
220
  source: "microphone";
151
221
  audioChannelNbr: 1 | 2;
222
+ forceStereo: 0 | 1;
152
223
  }, {
153
224
  source: "microphone";
154
225
  audioChannelNbr: 1 | 2;
226
+ forceStereo: 0 | 1;
155
227
  }>, z.ZodObject<{
156
228
  source: z.ZodLiteral<"file">;
157
229
  fileName: z.ZodString;
158
230
  filePath: z.ZodString;
231
+ forceStereo: z.ZodUnion<[z.ZodLiteral<0>, z.ZodLiteral<1>]>;
159
232
  }, "strip", z.ZodTypeAny, {
160
233
  source: "file";
234
+ forceStereo: 0 | 1;
161
235
  fileName: string;
162
236
  filePath: string;
163
237
  }, {
164
238
  source: "file";
239
+ forceStereo: 0 | 1;
165
240
  fileName: string;
166
241
  filePath: string;
167
242
  }>, z.ZodObject<{
@@ -169,57 +244,89 @@ export declare const windySchema: z.ZodObject<{
169
244
  fileName: z.ZodString;
170
245
  fileUrl: z.ZodString;
171
246
  avSyncMsec: z.ZodNumber;
247
+ forceStereo: z.ZodUnion<[z.ZodLiteral<0>, z.ZodLiteral<1>]>;
172
248
  }, "strip", z.ZodTypeAny, {
173
249
  source: "url";
250
+ forceStereo: 0 | 1;
174
251
  fileName: string;
175
252
  fileUrl: string;
176
253
  avSyncMsec: number;
177
254
  }, {
178
255
  source: "url";
256
+ forceStereo: 0 | 1;
179
257
  fileName: string;
180
258
  fileUrl: string;
181
259
  avSyncMsec: number;
182
- }>]>;
260
+ }>]>>;
261
+ status: z.ZodObject<{
262
+ led: z.ZodBoolean;
263
+ port: z.ZodNullable<z.ZodNumber>;
264
+ }, "strip", z.ZodTypeAny, {
265
+ port: number | null;
266
+ led: boolean;
267
+ }, {
268
+ port: number | null;
269
+ led: boolean;
270
+ }>;
183
271
  } & {
184
- type: z.ZodLiteral<"windy">;
272
+ platform: z.ZodLiteral<"windy">;
185
273
  }, "strip", z.ZodTypeAny, {
186
- type: "windy";
274
+ status: {
275
+ port: number | null;
276
+ led: boolean;
277
+ };
187
278
  audio: {
188
- source: "none";
189
- } | {
190
279
  source: "microphone";
191
280
  audioChannelNbr: 1 | 2;
281
+ forceStereo: 0 | 1;
192
282
  } | {
193
283
  source: "file";
284
+ forceStereo: 0 | 1;
194
285
  fileName: string;
195
286
  filePath: string;
196
287
  } | {
197
288
  source: "url";
289
+ forceStereo: 0 | 1;
198
290
  fileName: string;
199
291
  fileUrl: string;
200
292
  avSyncMsec: number;
201
- };
293
+ } | null;
202
294
  video: {
203
- inputType: "RTSP_URL" | "CSw" | "CRS";
295
+ output: {
296
+ type: "video" | "images";
297
+ url: string;
298
+ callApi: false;
299
+ } | {
300
+ type: "video";
301
+ callApi: true;
302
+ prepareAheadS: number;
303
+ };
304
+ outputParameters: string;
305
+ input: {
306
+ type: "RTSP_URL";
307
+ url: string;
308
+ } | {
309
+ type: "CSw";
310
+ } | {
311
+ type: "CRS";
312
+ };
313
+ streamingProtocol: "RTMP" | "RTMPS" | "HLS_PUSH";
204
314
  internalVapixParameters: string;
205
315
  userVapixParameters: string;
206
- streamingProtocol: "RTMP" | "RTMPS" | "HLS_PUSH";
207
- sourceUrl?: string | undefined;
208
316
  streamDelay?: {
209
317
  value: number;
210
318
  unit: "seconds" | "minutes" | "hours";
211
319
  } | undefined;
212
320
  };
213
321
  enabled: boolean;
214
- id: number;
322
+ streamId: string;
215
323
  active: boolean;
216
324
  title: string;
217
325
  trigger: {
218
326
  type: "manual";
219
- ioPort: string | null;
327
+ ioPort: number | null;
220
328
  } | {
221
329
  type: "onetime";
222
- ioPort: string | null;
223
330
  startTime: number;
224
331
  stopTime: number;
225
332
  } | {
@@ -236,44 +343,64 @@ export declare const windySchema: z.ZodObject<{
236
343
  isActive: boolean;
237
344
  }[];
238
345
  };
346
+ platform: "windy";
239
347
  }, {
240
- type: "windy";
348
+ status: {
349
+ port: number | null;
350
+ led: boolean;
351
+ };
241
352
  audio: {
242
- source: "none";
243
- } | {
244
353
  source: "microphone";
245
354
  audioChannelNbr: 1 | 2;
355
+ forceStereo: 0 | 1;
246
356
  } | {
247
357
  source: "file";
358
+ forceStereo: 0 | 1;
248
359
  fileName: string;
249
360
  filePath: string;
250
361
  } | {
251
362
  source: "url";
363
+ forceStereo: 0 | 1;
252
364
  fileName: string;
253
365
  fileUrl: string;
254
366
  avSyncMsec: number;
255
- };
367
+ } | null;
256
368
  video: {
257
- inputType: "RTSP_URL" | "CSw" | "CRS";
369
+ output: {
370
+ type: "video" | "images";
371
+ url: string;
372
+ callApi: false;
373
+ } | {
374
+ type: "video";
375
+ callApi: true;
376
+ prepareAheadS: number;
377
+ };
378
+ outputParameters: string;
379
+ input: {
380
+ type: "RTSP_URL";
381
+ url: string;
382
+ } | {
383
+ type: "CSw";
384
+ } | {
385
+ type: "CRS";
386
+ };
387
+ streamingProtocol: "RTMP" | "RTMPS" | "HLS_PUSH";
258
388
  internalVapixParameters: string;
259
389
  userVapixParameters: string;
260
- streamingProtocol: "RTMP" | "RTMPS" | "HLS_PUSH";
261
- sourceUrl?: string | undefined;
262
390
  streamDelay?: {
263
391
  value: number;
264
392
  unit: "seconds" | "minutes" | "hours";
265
393
  } | undefined;
266
394
  };
267
395
  enabled: boolean;
268
- id: number;
396
+ streamId: string;
269
397
  active: boolean;
270
398
  title: string;
271
399
  trigger: {
272
400
  type: "manual";
273
- ioPort: string | null;
401
+ ioPort: number | null;
274
402
  } | {
275
403
  type: "onetime";
276
- ioPort: string | null;
277
404
  startTime: number;
278
405
  stopTime: number;
279
406
  } | {
@@ -290,4 +417,5 @@ export declare const windySchema: z.ZodObject<{
290
417
  isActive: boolean;
291
418
  }[];
292
419
  };
420
+ platform: "windy";
293
421
  }>;
@@ -7,5 +7,5 @@ exports.windySchema = void 0;
7
7
  const zod_1 = __importDefault(require("zod"));
8
8
  const streamCommonTypes_1 = require("./streamCommonTypes");
9
9
  exports.windySchema = streamCommonTypes_1.streamCommonSchema.extend({
10
- type: zod_1.default.literal('windy'),
10
+ platform: zod_1.default.literal('windy'),
11
11
  });