camstreamerlib 4.0.0-beta.119 → 4.0.0-beta.120
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.
- package/cjs/CamOverlayAPI.d.ts +83 -91
- package/cjs/CamOverlayAPI.js +10 -62
- package/cjs/CamScripterAPI.d.ts +4 -8
- package/cjs/CamScripterAPI.js +4 -29
- package/cjs/CamStreamerAPI.d.ts +1427 -1596
- package/cjs/CamStreamerAPI.js +7 -76
- package/cjs/CamSwitcherAPI.d.ts +18 -21
- package/cjs/CamSwitcherAPI.js +5 -26
- package/cjs/PlaneTrackerAPI.d.ts +9 -15
- package/cjs/PlaneTrackerAPI.js +6 -69
- package/cjs/internal/BasicAPI.d.ts +15 -0
- package/cjs/internal/BasicAPI.js +97 -0
- package/cjs/internal/versionCompare.d.ts +2 -2
- package/cjs/types/CamOverlayAPI/CamOverlayAPI.d.ts +296 -296
- package/cjs/types/CamOverlayAPI/accuweatherSchema.d.ts +6 -6
- package/cjs/types/CamOverlayAPI/customGraphicsSchema.d.ts +26 -26
- package/cjs/types/CamOverlayAPI/imagesSchema.d.ts +8 -8
- package/cjs/types/CamOverlayAPI/infotickerSchema.d.ts +6 -6
- package/cjs/types/CamOverlayAPI/pipSchema.d.ts +6 -6
- package/cjs/types/CamOverlayAPI/ptzCompassSchema.d.ts +6 -6
- package/cjs/types/CamOverlayAPI/ptzSchema.d.ts +11 -11
- package/cjs/types/CamOverlayAPI/scoreBoardSchema.d.ts +18 -18
- package/cjs/types/CamOverlayAPI/screenSharingSchema.d.ts +6 -6
- package/cjs/types/CamOverlayAPI/serviceCommonTypes.d.ts +12 -12
- package/cjs/types/CamOverlayAPI/webCameraSharingSchema.d.ts +6 -6
- package/cjs/types/CamStreamerAPI/CamStreamerAPI.d.ts +7796 -9156
- package/cjs/types/CamStreamerAPI/facebookSchema.d.ts +146 -174
- package/cjs/types/CamStreamerAPI/oldStreamSchema.d.ts +22 -22
- package/cjs/types/CamStreamerAPI/streamCommonTypes.d.ts +140 -168
- package/cjs/types/CamStreamerAPI/streamCommonTypes.js +22 -32
- package/cjs/types/CamStreamerAPI/streamsSchema.d.ts +2513 -3017
- package/cjs/types/CamStreamerAPI/windySchema.d.ts +138 -166
- package/cjs/types/CamStreamerAPI/youtubeSchema.d.ts +148 -176
- package/cjs/types/CamSwitcherAPI.d.ts +66 -66
- package/cjs/types/PlaneTrackerAPI.d.ts +12 -12
- package/cjs/types/ws/CamStreamerEvents.d.ts +8 -8
- package/cjs/types/ws/CamSwitcherEvents.d.ts +8 -8
- package/esm/CamOverlayAPI.js +11 -63
- package/esm/CamScripterAPI.js +4 -29
- package/esm/CamStreamerAPI.js +8 -77
- package/esm/CamSwitcherAPI.js +6 -27
- package/esm/PlaneTrackerAPI.js +7 -70
- package/esm/internal/BasicAPI.js +93 -0
- package/esm/types/CamStreamerAPI/streamCommonTypes.js +22 -32
- package/package.json +1 -1
- package/types/CamOverlayAPI.d.ts +83 -91
- package/types/CamScripterAPI.d.ts +4 -8
- package/types/CamStreamerAPI.d.ts +1427 -1596
- package/types/CamSwitcherAPI.d.ts +18 -21
- package/types/PlaneTrackerAPI.d.ts +9 -15
- package/types/internal/BasicAPI.d.ts +15 -0
- package/types/internal/versionCompare.d.ts +2 -2
- package/types/types/CamOverlayAPI/CamOverlayAPI.d.ts +296 -296
- package/types/types/CamOverlayAPI/accuweatherSchema.d.ts +6 -6
- package/types/types/CamOverlayAPI/customGraphicsSchema.d.ts +26 -26
- package/types/types/CamOverlayAPI/imagesSchema.d.ts +8 -8
- package/types/types/CamOverlayAPI/infotickerSchema.d.ts +6 -6
- package/types/types/CamOverlayAPI/pipSchema.d.ts +6 -6
- package/types/types/CamOverlayAPI/ptzCompassSchema.d.ts +6 -6
- package/types/types/CamOverlayAPI/ptzSchema.d.ts +11 -11
- package/types/types/CamOverlayAPI/scoreBoardSchema.d.ts +18 -18
- package/types/types/CamOverlayAPI/screenSharingSchema.d.ts +6 -6
- package/types/types/CamOverlayAPI/serviceCommonTypes.d.ts +12 -12
- package/types/types/CamOverlayAPI/webCameraSharingSchema.d.ts +6 -6
- package/types/types/CamStreamerAPI/CamStreamerAPI.d.ts +7796 -9156
- package/types/types/CamStreamerAPI/facebookSchema.d.ts +146 -174
- package/types/types/CamStreamerAPI/oldStreamSchema.d.ts +22 -22
- package/types/types/CamStreamerAPI/streamCommonTypes.d.ts +140 -168
- package/types/types/CamStreamerAPI/streamsSchema.d.ts +2513 -3017
- package/types/types/CamStreamerAPI/windySchema.d.ts +138 -166
- package/types/types/CamStreamerAPI/youtubeSchema.d.ts +148 -176
- package/types/types/CamSwitcherAPI.d.ts +66 -66
- package/types/types/PlaneTrackerAPI.d.ts +12 -12
- package/types/types/ws/CamStreamerEvents.d.ts +8 -8
- package/types/types/ws/CamSwitcherEvents.d.ts +8 -8
|
@@ -29,25 +29,28 @@ export declare const facebookSchema: z.ZodObject<{
|
|
|
29
29
|
title: z.ZodString;
|
|
30
30
|
trigger: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
31
31
|
type: z.ZodLiteral<"manual">;
|
|
32
|
-
|
|
32
|
+
port: z.ZodOptional<z.ZodNumber>;
|
|
33
33
|
}, "strip", z.ZodTypeAny, {
|
|
34
34
|
type: "manual";
|
|
35
|
-
|
|
35
|
+
port?: number | undefined;
|
|
36
36
|
}, {
|
|
37
37
|
type: "manual";
|
|
38
|
-
|
|
38
|
+
port?: number | undefined;
|
|
39
39
|
}>, z.ZodObject<{
|
|
40
40
|
type: z.ZodLiteral<"onetime">;
|
|
41
41
|
startTime: z.ZodNumber;
|
|
42
42
|
stopTime: z.ZodNumber;
|
|
43
|
+
prepareAheadS: z.ZodOptional<z.ZodNumber>;
|
|
43
44
|
}, "strip", z.ZodTypeAny, {
|
|
44
45
|
type: "onetime";
|
|
45
46
|
startTime: number;
|
|
46
47
|
stopTime: number;
|
|
48
|
+
prepareAheadS?: number | undefined;
|
|
47
49
|
}, {
|
|
48
50
|
type: "onetime";
|
|
49
51
|
startTime: number;
|
|
50
52
|
stopTime: number;
|
|
53
|
+
prepareAheadS?: number | undefined;
|
|
51
54
|
}>, z.ZodObject<{
|
|
52
55
|
type: z.ZodLiteral<"recurrent">;
|
|
53
56
|
schedule: z.ZodArray<z.ZodObject<{
|
|
@@ -93,6 +96,7 @@ export declare const facebookSchema: z.ZodObject<{
|
|
|
93
96
|
};
|
|
94
97
|
isActive: boolean;
|
|
95
98
|
}>, "many">;
|
|
99
|
+
prepareAheadS: z.ZodOptional<z.ZodNumber>;
|
|
96
100
|
}, "strip", z.ZodTypeAny, {
|
|
97
101
|
type: "recurrent";
|
|
98
102
|
schedule: {
|
|
@@ -106,6 +110,7 @@ export declare const facebookSchema: z.ZodObject<{
|
|
|
106
110
|
};
|
|
107
111
|
isActive: boolean;
|
|
108
112
|
}[];
|
|
113
|
+
prepareAheadS?: number | undefined;
|
|
109
114
|
}, {
|
|
110
115
|
type: "recurrent";
|
|
111
116
|
schedule: {
|
|
@@ -119,34 +124,22 @@ export declare const facebookSchema: z.ZodObject<{
|
|
|
119
124
|
};
|
|
120
125
|
isActive: boolean;
|
|
121
126
|
}[];
|
|
127
|
+
prepareAheadS?: number | undefined;
|
|
122
128
|
}>]>;
|
|
123
129
|
video: z.ZodObject<{
|
|
124
|
-
output: z.
|
|
130
|
+
output: z.ZodObject<{
|
|
125
131
|
type: z.ZodUnion<[z.ZodLiteral<"video">, z.ZodLiteral<"images">]>;
|
|
126
|
-
|
|
127
|
-
|
|
132
|
+
url: z.ZodNullable<z.ZodString>;
|
|
133
|
+
parameters: z.ZodString;
|
|
128
134
|
}, "strip", z.ZodTypeAny, {
|
|
129
135
|
type: "video" | "images";
|
|
130
|
-
url: string;
|
|
131
|
-
|
|
136
|
+
url: string | null;
|
|
137
|
+
parameters: string;
|
|
132
138
|
}, {
|
|
133
139
|
type: "video" | "images";
|
|
134
|
-
url: string;
|
|
135
|
-
|
|
136
|
-
}
|
|
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;
|
|
140
|
+
url: string | null;
|
|
141
|
+
parameters: string;
|
|
142
|
+
}>;
|
|
150
143
|
input: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
151
144
|
type: z.ZodLiteral<"RTSP_URL">;
|
|
152
145
|
url: z.ZodString;
|
|
@@ -164,35 +157,27 @@ export declare const facebookSchema: z.ZodObject<{
|
|
|
164
157
|
type: "CSw";
|
|
165
158
|
}>, z.ZodObject<{
|
|
166
159
|
type: z.ZodLiteral<"CRS">;
|
|
160
|
+
streamingProtocol: z.ZodUnion<[z.ZodLiteral<"RTMP">, z.ZodLiteral<"RTMPS">, z.ZodLiteral<"HLS_PUSH">]>;
|
|
161
|
+
internalVapixParameters: z.ZodString;
|
|
162
|
+
userVapixParameters: z.ZodString;
|
|
167
163
|
}, "strip", z.ZodTypeAny, {
|
|
168
164
|
type: "CRS";
|
|
165
|
+
streamingProtocol: "RTMP" | "RTMPS" | "HLS_PUSH";
|
|
166
|
+
internalVapixParameters: string;
|
|
167
|
+
userVapixParameters: string;
|
|
169
168
|
}, {
|
|
170
169
|
type: "CRS";
|
|
170
|
+
streamingProtocol: "RTMP" | "RTMPS" | "HLS_PUSH";
|
|
171
|
+
internalVapixParameters: string;
|
|
172
|
+
userVapixParameters: string;
|
|
171
173
|
}>]>;
|
|
172
|
-
|
|
173
|
-
internalVapixParameters: z.ZodString;
|
|
174
|
-
userVapixParameters: z.ZodString;
|
|
175
|
-
streamDelay: z.ZodOptional<z.ZodObject<{
|
|
176
|
-
value: z.ZodNumber;
|
|
177
|
-
unit: z.ZodUnion<[z.ZodLiteral<"seconds">, z.ZodLiteral<"minutes">, z.ZodLiteral<"hours">]>;
|
|
178
|
-
}, "strip", z.ZodTypeAny, {
|
|
179
|
-
value: number;
|
|
180
|
-
unit: "seconds" | "minutes" | "hours";
|
|
181
|
-
}, {
|
|
182
|
-
value: number;
|
|
183
|
-
unit: "seconds" | "minutes" | "hours";
|
|
184
|
-
}>>;
|
|
174
|
+
delayS: z.ZodOptional<z.ZodNumber>;
|
|
185
175
|
}, "strip", z.ZodTypeAny, {
|
|
186
176
|
output: {
|
|
187
177
|
type: "video" | "images";
|
|
188
|
-
url: string;
|
|
189
|
-
|
|
190
|
-
} | {
|
|
191
|
-
type: "video";
|
|
192
|
-
callApi: true;
|
|
193
|
-
prepareAheadS: number;
|
|
178
|
+
url: string | null;
|
|
179
|
+
parameters: string;
|
|
194
180
|
};
|
|
195
|
-
outputParameters: string;
|
|
196
181
|
input: {
|
|
197
182
|
type: "RTSP_URL";
|
|
198
183
|
url: string;
|
|
@@ -200,25 +185,17 @@ export declare const facebookSchema: z.ZodObject<{
|
|
|
200
185
|
type: "CSw";
|
|
201
186
|
} | {
|
|
202
187
|
type: "CRS";
|
|
188
|
+
streamingProtocol: "RTMP" | "RTMPS" | "HLS_PUSH";
|
|
189
|
+
internalVapixParameters: string;
|
|
190
|
+
userVapixParameters: string;
|
|
203
191
|
};
|
|
204
|
-
|
|
205
|
-
internalVapixParameters: string;
|
|
206
|
-
userVapixParameters: string;
|
|
207
|
-
streamDelay?: {
|
|
208
|
-
value: number;
|
|
209
|
-
unit: "seconds" | "minutes" | "hours";
|
|
210
|
-
} | undefined;
|
|
192
|
+
delayS?: number | undefined;
|
|
211
193
|
}, {
|
|
212
194
|
output: {
|
|
213
195
|
type: "video" | "images";
|
|
214
|
-
url: string;
|
|
215
|
-
|
|
216
|
-
} | {
|
|
217
|
-
type: "video";
|
|
218
|
-
callApi: true;
|
|
219
|
-
prepareAheadS: number;
|
|
196
|
+
url: string | null;
|
|
197
|
+
parameters: string;
|
|
220
198
|
};
|
|
221
|
-
outputParameters: string;
|
|
222
199
|
input: {
|
|
223
200
|
type: "RTSP_URL";
|
|
224
201
|
url: string;
|
|
@@ -226,16 +203,19 @@ export declare const facebookSchema: z.ZodObject<{
|
|
|
226
203
|
type: "CSw";
|
|
227
204
|
} | {
|
|
228
205
|
type: "CRS";
|
|
206
|
+
streamingProtocol: "RTMP" | "RTMPS" | "HLS_PUSH";
|
|
207
|
+
internalVapixParameters: string;
|
|
208
|
+
userVapixParameters: string;
|
|
229
209
|
};
|
|
230
|
-
|
|
231
|
-
internalVapixParameters: string;
|
|
232
|
-
userVapixParameters: string;
|
|
233
|
-
streamDelay?: {
|
|
234
|
-
value: number;
|
|
235
|
-
unit: "seconds" | "minutes" | "hours";
|
|
236
|
-
} | undefined;
|
|
210
|
+
delayS?: number | undefined;
|
|
237
211
|
}>;
|
|
238
|
-
audio: z.
|
|
212
|
+
audio: z.ZodDiscriminatedUnion<"source", [z.ZodObject<{
|
|
213
|
+
source: z.ZodLiteral<"none">;
|
|
214
|
+
}, "strip", z.ZodTypeAny, {
|
|
215
|
+
source: "none";
|
|
216
|
+
}, {
|
|
217
|
+
source: "none";
|
|
218
|
+
}>, z.ZodObject<{
|
|
239
219
|
source: z.ZodLiteral<"microphone">;
|
|
240
220
|
audioChannelNbr: z.ZodUnion<[z.ZodLiteral<1>, z.ZodLiteral<2>]>;
|
|
241
221
|
forceStereo: z.ZodBoolean;
|
|
@@ -249,47 +229,47 @@ export declare const facebookSchema: z.ZodObject<{
|
|
|
249
229
|
forceStereo: boolean;
|
|
250
230
|
}>, z.ZodObject<{
|
|
251
231
|
source: z.ZodLiteral<"file">;
|
|
252
|
-
|
|
253
|
-
|
|
232
|
+
name: z.ZodString;
|
|
233
|
+
path: z.ZodString;
|
|
254
234
|
forceStereo: z.ZodBoolean;
|
|
255
235
|
}, "strip", z.ZodTypeAny, {
|
|
236
|
+
path: string;
|
|
237
|
+
name: string;
|
|
256
238
|
source: "file";
|
|
257
239
|
forceStereo: boolean;
|
|
258
|
-
fileName: string;
|
|
259
|
-
filePath: string;
|
|
260
240
|
}, {
|
|
241
|
+
path: string;
|
|
242
|
+
name: string;
|
|
261
243
|
source: "file";
|
|
262
244
|
forceStereo: boolean;
|
|
263
|
-
fileName: string;
|
|
264
|
-
filePath: string;
|
|
265
245
|
}>, z.ZodObject<{
|
|
266
246
|
source: z.ZodLiteral<"url">;
|
|
267
|
-
|
|
268
|
-
|
|
247
|
+
name: z.ZodString;
|
|
248
|
+
url: z.ZodString;
|
|
269
249
|
avSyncMsec: z.ZodNumber;
|
|
270
250
|
forceStereo: z.ZodBoolean;
|
|
271
251
|
}, "strip", z.ZodTypeAny, {
|
|
252
|
+
name: string;
|
|
253
|
+
url: string;
|
|
272
254
|
source: "url";
|
|
273
255
|
forceStereo: boolean;
|
|
274
|
-
fileName: string;
|
|
275
|
-
fileUrl: string;
|
|
276
256
|
avSyncMsec: number;
|
|
277
257
|
}, {
|
|
258
|
+
name: string;
|
|
259
|
+
url: string;
|
|
278
260
|
source: "url";
|
|
279
261
|
forceStereo: boolean;
|
|
280
|
-
fileName: string;
|
|
281
|
-
fileUrl: string;
|
|
282
262
|
avSyncMsec: number;
|
|
283
|
-
}>]
|
|
263
|
+
}>]>;
|
|
284
264
|
status: z.ZodObject<{
|
|
285
265
|
led: z.ZodBoolean;
|
|
286
|
-
port: z.
|
|
266
|
+
port: z.ZodOptional<z.ZodNumber>;
|
|
287
267
|
}, "strip", z.ZodTypeAny, {
|
|
288
|
-
port: number | null;
|
|
289
268
|
led: boolean;
|
|
269
|
+
port?: number | undefined;
|
|
290
270
|
}, {
|
|
291
|
-
port: number | null;
|
|
292
271
|
led: boolean;
|
|
272
|
+
port?: number | undefined;
|
|
293
273
|
}>;
|
|
294
274
|
} & {
|
|
295
275
|
platform: z.ZodLiteral<"facebook">;
|
|
@@ -324,63 +304,21 @@ export declare const facebookSchema: z.ZodObject<{
|
|
|
324
304
|
page: string;
|
|
325
305
|
};
|
|
326
306
|
status: {
|
|
327
|
-
port: number | null;
|
|
328
307
|
led: boolean;
|
|
308
|
+
port?: number | undefined;
|
|
329
309
|
};
|
|
330
|
-
audio: {
|
|
331
|
-
source: "microphone";
|
|
332
|
-
audioChannelNbr: 1 | 2;
|
|
333
|
-
forceStereo: boolean;
|
|
334
|
-
} | {
|
|
335
|
-
source: "file";
|
|
336
|
-
forceStereo: boolean;
|
|
337
|
-
fileName: string;
|
|
338
|
-
filePath: string;
|
|
339
|
-
} | {
|
|
340
|
-
source: "url";
|
|
341
|
-
forceStereo: boolean;
|
|
342
|
-
fileName: string;
|
|
343
|
-
fileUrl: string;
|
|
344
|
-
avSyncMsec: number;
|
|
345
|
-
} | null;
|
|
346
|
-
video: {
|
|
347
|
-
output: {
|
|
348
|
-
type: "video" | "images";
|
|
349
|
-
url: string;
|
|
350
|
-
callApi: false;
|
|
351
|
-
} | {
|
|
352
|
-
type: "video";
|
|
353
|
-
callApi: true;
|
|
354
|
-
prepareAheadS: number;
|
|
355
|
-
};
|
|
356
|
-
outputParameters: string;
|
|
357
|
-
input: {
|
|
358
|
-
type: "RTSP_URL";
|
|
359
|
-
url: string;
|
|
360
|
-
} | {
|
|
361
|
-
type: "CSw";
|
|
362
|
-
} | {
|
|
363
|
-
type: "CRS";
|
|
364
|
-
};
|
|
365
|
-
streamingProtocol: "RTMP" | "RTMPS" | "HLS_PUSH";
|
|
366
|
-
internalVapixParameters: string;
|
|
367
|
-
userVapixParameters: string;
|
|
368
|
-
streamDelay?: {
|
|
369
|
-
value: number;
|
|
370
|
-
unit: "seconds" | "minutes" | "hours";
|
|
371
|
-
} | undefined;
|
|
372
|
-
};
|
|
373
|
-
enabled: boolean;
|
|
374
310
|
streamId: string;
|
|
311
|
+
enabled: boolean;
|
|
375
312
|
active: boolean;
|
|
376
313
|
title: string;
|
|
377
314
|
trigger: {
|
|
378
315
|
type: "manual";
|
|
379
|
-
|
|
316
|
+
port?: number | undefined;
|
|
380
317
|
} | {
|
|
381
318
|
type: "onetime";
|
|
382
319
|
startTime: number;
|
|
383
320
|
stopTime: number;
|
|
321
|
+
prepareAheadS?: number | undefined;
|
|
384
322
|
} | {
|
|
385
323
|
type: "recurrent";
|
|
386
324
|
schedule: {
|
|
@@ -394,6 +332,44 @@ export declare const facebookSchema: z.ZodObject<{
|
|
|
394
332
|
};
|
|
395
333
|
isActive: boolean;
|
|
396
334
|
}[];
|
|
335
|
+
prepareAheadS?: number | undefined;
|
|
336
|
+
};
|
|
337
|
+
video: {
|
|
338
|
+
output: {
|
|
339
|
+
type: "video" | "images";
|
|
340
|
+
url: string | null;
|
|
341
|
+
parameters: string;
|
|
342
|
+
};
|
|
343
|
+
input: {
|
|
344
|
+
type: "RTSP_URL";
|
|
345
|
+
url: string;
|
|
346
|
+
} | {
|
|
347
|
+
type: "CSw";
|
|
348
|
+
} | {
|
|
349
|
+
type: "CRS";
|
|
350
|
+
streamingProtocol: "RTMP" | "RTMPS" | "HLS_PUSH";
|
|
351
|
+
internalVapixParameters: string;
|
|
352
|
+
userVapixParameters: string;
|
|
353
|
+
};
|
|
354
|
+
delayS?: number | undefined;
|
|
355
|
+
};
|
|
356
|
+
audio: {
|
|
357
|
+
source: "none";
|
|
358
|
+
} | {
|
|
359
|
+
source: "microphone";
|
|
360
|
+
audioChannelNbr: 1 | 2;
|
|
361
|
+
forceStereo: boolean;
|
|
362
|
+
} | {
|
|
363
|
+
path: string;
|
|
364
|
+
name: string;
|
|
365
|
+
source: "file";
|
|
366
|
+
forceStereo: boolean;
|
|
367
|
+
} | {
|
|
368
|
+
name: string;
|
|
369
|
+
url: string;
|
|
370
|
+
source: "url";
|
|
371
|
+
forceStereo: boolean;
|
|
372
|
+
avSyncMsec: number;
|
|
397
373
|
};
|
|
398
374
|
platform: "facebook";
|
|
399
375
|
deleteAfterEnd: boolean;
|
|
@@ -408,63 +384,21 @@ export declare const facebookSchema: z.ZodObject<{
|
|
|
408
384
|
page: string;
|
|
409
385
|
};
|
|
410
386
|
status: {
|
|
411
|
-
port: number | null;
|
|
412
387
|
led: boolean;
|
|
388
|
+
port?: number | undefined;
|
|
413
389
|
};
|
|
414
|
-
audio: {
|
|
415
|
-
source: "microphone";
|
|
416
|
-
audioChannelNbr: 1 | 2;
|
|
417
|
-
forceStereo: boolean;
|
|
418
|
-
} | {
|
|
419
|
-
source: "file";
|
|
420
|
-
forceStereo: boolean;
|
|
421
|
-
fileName: string;
|
|
422
|
-
filePath: string;
|
|
423
|
-
} | {
|
|
424
|
-
source: "url";
|
|
425
|
-
forceStereo: boolean;
|
|
426
|
-
fileName: string;
|
|
427
|
-
fileUrl: string;
|
|
428
|
-
avSyncMsec: number;
|
|
429
|
-
} | null;
|
|
430
|
-
video: {
|
|
431
|
-
output: {
|
|
432
|
-
type: "video" | "images";
|
|
433
|
-
url: string;
|
|
434
|
-
callApi: false;
|
|
435
|
-
} | {
|
|
436
|
-
type: "video";
|
|
437
|
-
callApi: true;
|
|
438
|
-
prepareAheadS: number;
|
|
439
|
-
};
|
|
440
|
-
outputParameters: string;
|
|
441
|
-
input: {
|
|
442
|
-
type: "RTSP_URL";
|
|
443
|
-
url: string;
|
|
444
|
-
} | {
|
|
445
|
-
type: "CSw";
|
|
446
|
-
} | {
|
|
447
|
-
type: "CRS";
|
|
448
|
-
};
|
|
449
|
-
streamingProtocol: "RTMP" | "RTMPS" | "HLS_PUSH";
|
|
450
|
-
internalVapixParameters: string;
|
|
451
|
-
userVapixParameters: string;
|
|
452
|
-
streamDelay?: {
|
|
453
|
-
value: number;
|
|
454
|
-
unit: "seconds" | "minutes" | "hours";
|
|
455
|
-
} | undefined;
|
|
456
|
-
};
|
|
457
|
-
enabled: boolean;
|
|
458
390
|
streamId: string;
|
|
391
|
+
enabled: boolean;
|
|
459
392
|
active: boolean;
|
|
460
393
|
title: string;
|
|
461
394
|
trigger: {
|
|
462
395
|
type: "manual";
|
|
463
|
-
|
|
396
|
+
port?: number | undefined;
|
|
464
397
|
} | {
|
|
465
398
|
type: "onetime";
|
|
466
399
|
startTime: number;
|
|
467
400
|
stopTime: number;
|
|
401
|
+
prepareAheadS?: number | undefined;
|
|
468
402
|
} | {
|
|
469
403
|
type: "recurrent";
|
|
470
404
|
schedule: {
|
|
@@ -478,6 +412,44 @@ export declare const facebookSchema: z.ZodObject<{
|
|
|
478
412
|
};
|
|
479
413
|
isActive: boolean;
|
|
480
414
|
}[];
|
|
415
|
+
prepareAheadS?: number | undefined;
|
|
416
|
+
};
|
|
417
|
+
video: {
|
|
418
|
+
output: {
|
|
419
|
+
type: "video" | "images";
|
|
420
|
+
url: string | null;
|
|
421
|
+
parameters: string;
|
|
422
|
+
};
|
|
423
|
+
input: {
|
|
424
|
+
type: "RTSP_URL";
|
|
425
|
+
url: string;
|
|
426
|
+
} | {
|
|
427
|
+
type: "CSw";
|
|
428
|
+
} | {
|
|
429
|
+
type: "CRS";
|
|
430
|
+
streamingProtocol: "RTMP" | "RTMPS" | "HLS_PUSH";
|
|
431
|
+
internalVapixParameters: string;
|
|
432
|
+
userVapixParameters: string;
|
|
433
|
+
};
|
|
434
|
+
delayS?: number | undefined;
|
|
435
|
+
};
|
|
436
|
+
audio: {
|
|
437
|
+
source: "none";
|
|
438
|
+
} | {
|
|
439
|
+
source: "microphone";
|
|
440
|
+
audioChannelNbr: 1 | 2;
|
|
441
|
+
forceStereo: boolean;
|
|
442
|
+
} | {
|
|
443
|
+
path: string;
|
|
444
|
+
name: string;
|
|
445
|
+
source: "file";
|
|
446
|
+
forceStereo: boolean;
|
|
447
|
+
} | {
|
|
448
|
+
name: string;
|
|
449
|
+
url: string;
|
|
450
|
+
source: "url";
|
|
451
|
+
forceStereo: boolean;
|
|
452
|
+
avSyncMsec: number;
|
|
481
453
|
};
|
|
482
454
|
platform: "facebook";
|
|
483
455
|
deleteAfterEnd: boolean;
|
|
@@ -28,20 +28,20 @@ export declare const oldStringStreamSchema: z.ZodObject<{
|
|
|
28
28
|
startTime: string;
|
|
29
29
|
stopTime: string;
|
|
30
30
|
schedule: string;
|
|
31
|
-
callApi: string;
|
|
32
|
-
outputParameters: string;
|
|
33
31
|
internalVapixParameters: string;
|
|
34
32
|
userVapixParameters: string;
|
|
35
|
-
streamDelay: string;
|
|
36
33
|
forceStereo: string;
|
|
37
34
|
avSyncMsec: string;
|
|
38
35
|
audioSource: string;
|
|
36
|
+
outputParameters: string;
|
|
39
37
|
outputType: string;
|
|
40
38
|
mediaServerUrl: string;
|
|
41
39
|
inputType: string;
|
|
42
40
|
inputUrl: string;
|
|
41
|
+
streamDelay: string;
|
|
43
42
|
statusLed: string;
|
|
44
43
|
statusPort: string;
|
|
44
|
+
callApi: string;
|
|
45
45
|
prepareAhead: string;
|
|
46
46
|
}, {
|
|
47
47
|
enabled: string;
|
|
@@ -50,20 +50,20 @@ export declare const oldStringStreamSchema: z.ZodObject<{
|
|
|
50
50
|
startTime: string;
|
|
51
51
|
stopTime: string;
|
|
52
52
|
schedule: string;
|
|
53
|
-
callApi: string;
|
|
54
|
-
outputParameters: string;
|
|
55
53
|
internalVapixParameters: string;
|
|
56
54
|
userVapixParameters: string;
|
|
57
|
-
streamDelay: string;
|
|
58
55
|
forceStereo: string;
|
|
59
56
|
avSyncMsec: string;
|
|
60
57
|
audioSource: string;
|
|
58
|
+
outputParameters: string;
|
|
61
59
|
outputType: string;
|
|
62
60
|
mediaServerUrl: string;
|
|
63
61
|
inputType: string;
|
|
64
62
|
inputUrl: string;
|
|
63
|
+
streamDelay: string;
|
|
65
64
|
statusLed: string;
|
|
66
65
|
statusPort: string;
|
|
66
|
+
callApi: string;
|
|
67
67
|
prepareAhead: string;
|
|
68
68
|
}>;
|
|
69
69
|
export declare const oldStringStreamSchemaWithId: z.ZodObject<{
|
|
@@ -91,50 +91,50 @@ export declare const oldStringStreamSchemaWithId: z.ZodObject<{
|
|
|
91
91
|
} & {
|
|
92
92
|
streamId: z.ZodString;
|
|
93
93
|
}, "strip", z.ZodTypeAny, {
|
|
94
|
-
enabled: string;
|
|
95
94
|
streamId: string;
|
|
95
|
+
enabled: string;
|
|
96
96
|
active: string;
|
|
97
97
|
trigger: string;
|
|
98
98
|
startTime: string;
|
|
99
99
|
stopTime: string;
|
|
100
100
|
schedule: string;
|
|
101
|
-
callApi: string;
|
|
102
|
-
outputParameters: string;
|
|
103
101
|
internalVapixParameters: string;
|
|
104
102
|
userVapixParameters: string;
|
|
105
|
-
streamDelay: string;
|
|
106
103
|
forceStereo: string;
|
|
107
104
|
avSyncMsec: string;
|
|
108
105
|
audioSource: string;
|
|
106
|
+
outputParameters: string;
|
|
109
107
|
outputType: string;
|
|
110
108
|
mediaServerUrl: string;
|
|
111
109
|
inputType: string;
|
|
112
110
|
inputUrl: string;
|
|
111
|
+
streamDelay: string;
|
|
113
112
|
statusLed: string;
|
|
114
113
|
statusPort: string;
|
|
114
|
+
callApi: string;
|
|
115
115
|
prepareAhead: string;
|
|
116
116
|
}, {
|
|
117
|
-
enabled: string;
|
|
118
117
|
streamId: string;
|
|
118
|
+
enabled: string;
|
|
119
119
|
active: string;
|
|
120
120
|
trigger: string;
|
|
121
121
|
startTime: string;
|
|
122
122
|
stopTime: string;
|
|
123
123
|
schedule: string;
|
|
124
|
-
callApi: string;
|
|
125
|
-
outputParameters: string;
|
|
126
124
|
internalVapixParameters: string;
|
|
127
125
|
userVapixParameters: string;
|
|
128
|
-
streamDelay: string;
|
|
129
126
|
forceStereo: string;
|
|
130
127
|
avSyncMsec: string;
|
|
131
128
|
audioSource: string;
|
|
129
|
+
outputParameters: string;
|
|
132
130
|
outputType: string;
|
|
133
131
|
mediaServerUrl: string;
|
|
134
132
|
inputType: string;
|
|
135
133
|
inputUrl: string;
|
|
134
|
+
streamDelay: string;
|
|
136
135
|
statusLed: string;
|
|
137
136
|
statusPort: string;
|
|
137
|
+
callApi: string;
|
|
138
138
|
prepareAhead: string;
|
|
139
139
|
}>;
|
|
140
140
|
export type TOldStringStream = z.infer<typeof oldStringStreamSchema>;
|
|
@@ -167,20 +167,20 @@ export declare const oldStreamSchema: z.ZodObject<{
|
|
|
167
167
|
startTime: number | null;
|
|
168
168
|
stopTime: number | null;
|
|
169
169
|
schedule: string;
|
|
170
|
-
callApi: number;
|
|
171
|
-
outputParameters: string;
|
|
172
170
|
internalVapixParameters: string;
|
|
173
171
|
userVapixParameters: string;
|
|
174
|
-
streamDelay: number | null;
|
|
175
172
|
forceStereo: 0 | 1;
|
|
176
173
|
avSyncMsec: number;
|
|
177
174
|
audioSource: string;
|
|
178
|
-
|
|
175
|
+
outputParameters: string;
|
|
176
|
+
outputType: "video" | "images" | "none";
|
|
179
177
|
mediaServerUrl: string;
|
|
180
178
|
inputType: "RTSP_URL" | "CSw" | "CRS";
|
|
181
179
|
inputUrl: string;
|
|
180
|
+
streamDelay: number | null;
|
|
182
181
|
statusLed: number;
|
|
183
182
|
statusPort: string;
|
|
183
|
+
callApi: number;
|
|
184
184
|
prepareAhead: number;
|
|
185
185
|
}, {
|
|
186
186
|
enabled: 0 | 1;
|
|
@@ -189,20 +189,20 @@ export declare const oldStreamSchema: z.ZodObject<{
|
|
|
189
189
|
startTime: number | null;
|
|
190
190
|
stopTime: number | null;
|
|
191
191
|
schedule: string;
|
|
192
|
-
callApi: number;
|
|
193
|
-
outputParameters: string;
|
|
194
192
|
internalVapixParameters: string;
|
|
195
193
|
userVapixParameters: string;
|
|
196
|
-
streamDelay: number | null;
|
|
197
194
|
forceStereo: 0 | 1;
|
|
198
195
|
avSyncMsec: number;
|
|
199
196
|
audioSource: string;
|
|
200
|
-
|
|
197
|
+
outputParameters: string;
|
|
198
|
+
outputType: "video" | "images" | "none";
|
|
201
199
|
mediaServerUrl: string;
|
|
202
200
|
inputType: "RTSP_URL" | "CSw" | "CRS";
|
|
203
201
|
inputUrl: string;
|
|
202
|
+
streamDelay: number | null;
|
|
204
203
|
statusLed: number;
|
|
205
204
|
statusPort: string;
|
|
205
|
+
callApi: number;
|
|
206
206
|
prepareAhead: number;
|
|
207
207
|
}>;
|
|
208
208
|
export type TOldStream = z.infer<typeof oldStreamSchema>;
|