camstreamerlib 4.0.0-beta.103 → 4.0.0-beta.105
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/CamStreamerAPI.d.ts +420 -344
- package/cjs/types/CamStreamerAPI/CamStreamerAPI.d.ts +2804 -1778
- package/cjs/types/CamStreamerAPI/churchSchema.d.ts +56 -32
- package/cjs/types/CamStreamerAPI/daCastSchema.d.ts +56 -32
- package/cjs/types/CamStreamerAPI/dailymotionSchema.d.ts +56 -32
- package/cjs/types/CamStreamerAPI/facebookSchema.d.ts +56 -32
- package/cjs/types/CamStreamerAPI/gameChangerSchema.d.ts +56 -32
- package/cjs/types/CamStreamerAPI/hlsPullSchema.d.ts +56 -32
- package/cjs/types/CamStreamerAPI/hlsPushSchema.d.ts +56 -32
- package/cjs/types/CamStreamerAPI/ibmSchema.d.ts +56 -32
- package/cjs/types/CamStreamerAPI/microsoftAzureSchema.d.ts +56 -32
- package/cjs/types/CamStreamerAPI/microsoftStreamSchema.d.ts +56 -32
- package/cjs/types/CamStreamerAPI/mpegDvbSchema.d.ts +56 -32
- package/cjs/types/CamStreamerAPI/oldStreamSchema.d.ts +18 -18
- package/cjs/types/CamStreamerAPI/rtmpSchema.d.ts +59 -35
- package/cjs/types/CamStreamerAPI/rtmpSchema.js +1 -1
- package/cjs/types/CamStreamerAPI/sdCardSchema.d.ts +56 -32
- package/cjs/types/CamStreamerAPI/srtSchema.d.ts +56 -32
- package/cjs/types/CamStreamerAPI/streamCommonTypes.d.ts +101 -42
- package/cjs/types/CamStreamerAPI/streamCommonTypes.js +12 -14
- package/cjs/types/CamStreamerAPI/twitchSchema.d.ts +56 -32
- package/cjs/types/CamStreamerAPI/vimeoSchema.d.ts +56 -32
- package/cjs/types/CamStreamerAPI/windySchema.d.ts +56 -32
- package/cjs/types/CamStreamerAPI/wowzaSchema.d.ts +56 -32
- package/cjs/types/CamStreamerAPI/youtubeSchema.d.ts +56 -32
- package/esm/types/CamStreamerAPI/rtmpSchema.js +1 -1
- package/esm/types/CamStreamerAPI/streamCommonTypes.js +11 -13
- package/package.json +1 -1
- package/types/CamStreamerAPI.d.ts +420 -344
- package/types/types/CamStreamerAPI/CamStreamerAPI.d.ts +2804 -1778
- package/types/types/CamStreamerAPI/churchSchema.d.ts +56 -32
- package/types/types/CamStreamerAPI/daCastSchema.d.ts +56 -32
- package/types/types/CamStreamerAPI/dailymotionSchema.d.ts +56 -32
- package/types/types/CamStreamerAPI/facebookSchema.d.ts +56 -32
- package/types/types/CamStreamerAPI/gameChangerSchema.d.ts +56 -32
- package/types/types/CamStreamerAPI/hlsPullSchema.d.ts +56 -32
- package/types/types/CamStreamerAPI/hlsPushSchema.d.ts +56 -32
- package/types/types/CamStreamerAPI/ibmSchema.d.ts +56 -32
- package/types/types/CamStreamerAPI/microsoftAzureSchema.d.ts +56 -32
- package/types/types/CamStreamerAPI/microsoftStreamSchema.d.ts +56 -32
- package/types/types/CamStreamerAPI/mpegDvbSchema.d.ts +56 -32
- package/types/types/CamStreamerAPI/oldStreamSchema.d.ts +18 -18
- package/types/types/CamStreamerAPI/rtmpSchema.d.ts +59 -35
- package/types/types/CamStreamerAPI/sdCardSchema.d.ts +56 -32
- package/types/types/CamStreamerAPI/srtSchema.d.ts +56 -32
- package/types/types/CamStreamerAPI/streamCommonTypes.d.ts +101 -42
- package/types/types/CamStreamerAPI/twitchSchema.d.ts +56 -32
- package/types/types/CamStreamerAPI/vimeoSchema.d.ts +56 -32
- package/types/types/CamStreamerAPI/windySchema.d.ts +56 -32
- package/types/types/CamStreamerAPI/wowzaSchema.d.ts +56 -32
- package/types/types/CamStreamerAPI/youtubeSchema.d.ts +56 -32
|
@@ -142,23 +142,20 @@ export type TStreamTriggerType = TStreamTrigger['type'];
|
|
|
142
142
|
export type TTriggerSchedule = z.infer<typeof scheduleSchema>;
|
|
143
143
|
export declare const streamInputTypeSchema: z.ZodUnion<[z.ZodLiteral<"CSw">, z.ZodLiteral<"CRS">, z.ZodLiteral<"RTSP_URL">]>;
|
|
144
144
|
export type TStreamInputType = z.infer<typeof streamInputTypeSchema>;
|
|
145
|
-
export declare const streamingProtocolTypeSchema: z.ZodUnion<[z.ZodLiteral<"
|
|
145
|
+
export declare const streamingProtocolTypeSchema: z.ZodUnion<[z.ZodLiteral<"RTMP">, z.ZodLiteral<"RTMPS">, z.ZodLiteral<"HLS_PUSH">]>;
|
|
146
146
|
export type TStreamingProtocolType = z.infer<typeof streamingProtocolTypeSchema>;
|
|
147
147
|
export declare const videoCodecSchema: z.ZodUnion<[z.ZodLiteral<"h264">, z.ZodLiteral<"h265">, z.ZodLiteral<"av1">]>;
|
|
148
148
|
export type TVideoCodec = z.infer<typeof videoCodecSchema>;
|
|
149
149
|
export declare const overlaysSchema: z.ZodUnion<[z.ZodLiteral<"all">, z.ZodLiteral<"text">, z.ZodLiteral<"image">, z.ZodLiteral<"application">, z.ZodLiteral<"">, z.ZodLiteral<"off">]>;
|
|
150
150
|
export type TOverlays = z.infer<typeof overlaysSchema>;
|
|
151
151
|
export declare const streamDelaySchema: z.ZodObject<{
|
|
152
|
-
|
|
153
|
-
timeS: z.ZodNumber;
|
|
152
|
+
value: z.ZodNumber;
|
|
154
153
|
unit: z.ZodUnion<[z.ZodLiteral<"seconds">, z.ZodLiteral<"minutes">, z.ZodLiteral<"hours">]>;
|
|
155
154
|
}, "strip", z.ZodTypeAny, {
|
|
156
|
-
|
|
157
|
-
timeS: number;
|
|
155
|
+
value: number;
|
|
158
156
|
unit: "seconds" | "minutes" | "hours";
|
|
159
157
|
}, {
|
|
160
|
-
|
|
161
|
-
timeS: number;
|
|
158
|
+
value: number;
|
|
162
159
|
unit: "seconds" | "minutes" | "hours";
|
|
163
160
|
}>;
|
|
164
161
|
export type TStreamDelay = z.infer<typeof streamDelaySchema>;
|
|
@@ -211,6 +208,44 @@ export declare const internalVapixParametersSchema: z.ZodObject<{
|
|
|
211
208
|
nbrOfChannels?: 1 | 2 | undefined;
|
|
212
209
|
}>;
|
|
213
210
|
export type TInternalVapixParameters = z.infer<typeof internalVapixParametersSchema>;
|
|
211
|
+
export declare const streamVideoSchema: z.ZodObject<{
|
|
212
|
+
inputType: z.ZodUnion<[z.ZodLiteral<"CSw">, z.ZodLiteral<"CRS">, z.ZodLiteral<"RTSP_URL">]>;
|
|
213
|
+
sourceUrl: z.ZodOptional<z.ZodString>;
|
|
214
|
+
internalVapixParameters: z.ZodString;
|
|
215
|
+
userVapixParameters: z.ZodString;
|
|
216
|
+
streamingProtocol: z.ZodUnion<[z.ZodLiteral<"RTMP">, z.ZodLiteral<"RTMPS">, z.ZodLiteral<"HLS_PUSH">]>;
|
|
217
|
+
streamDelay: z.ZodOptional<z.ZodObject<{
|
|
218
|
+
value: z.ZodNumber;
|
|
219
|
+
unit: z.ZodUnion<[z.ZodLiteral<"seconds">, z.ZodLiteral<"minutes">, z.ZodLiteral<"hours">]>;
|
|
220
|
+
}, "strip", z.ZodTypeAny, {
|
|
221
|
+
value: number;
|
|
222
|
+
unit: "seconds" | "minutes" | "hours";
|
|
223
|
+
}, {
|
|
224
|
+
value: number;
|
|
225
|
+
unit: "seconds" | "minutes" | "hours";
|
|
226
|
+
}>>;
|
|
227
|
+
}, "strip", z.ZodTypeAny, {
|
|
228
|
+
inputType: "RTSP_URL" | "CSw" | "CRS";
|
|
229
|
+
internalVapixParameters: string;
|
|
230
|
+
userVapixParameters: string;
|
|
231
|
+
streamingProtocol: "RTMP" | "RTMPS" | "HLS_PUSH";
|
|
232
|
+
sourceUrl?: string | undefined;
|
|
233
|
+
streamDelay?: {
|
|
234
|
+
value: number;
|
|
235
|
+
unit: "seconds" | "minutes" | "hours";
|
|
236
|
+
} | undefined;
|
|
237
|
+
}, {
|
|
238
|
+
inputType: "RTSP_URL" | "CSw" | "CRS";
|
|
239
|
+
internalVapixParameters: string;
|
|
240
|
+
userVapixParameters: string;
|
|
241
|
+
streamingProtocol: "RTMP" | "RTMPS" | "HLS_PUSH";
|
|
242
|
+
sourceUrl?: string | undefined;
|
|
243
|
+
streamDelay?: {
|
|
244
|
+
value: number;
|
|
245
|
+
unit: "seconds" | "minutes" | "hours";
|
|
246
|
+
} | undefined;
|
|
247
|
+
}>;
|
|
248
|
+
export type TStreamVideo = z.infer<typeof streamVideoSchema>;
|
|
214
249
|
export declare const streamAudioSchema: z.ZodDiscriminatedUnion<"source", [z.ZodObject<{
|
|
215
250
|
source: z.ZodLiteral<"none">;
|
|
216
251
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -254,10 +289,10 @@ export declare const streamAudioSchema: z.ZodDiscriminatedUnion<"source", [z.Zod
|
|
|
254
289
|
fileUrl: string;
|
|
255
290
|
avSyncMsec: number;
|
|
256
291
|
}>]>;
|
|
257
|
-
export type
|
|
258
|
-
export type TStreamAudioSource =
|
|
292
|
+
export type TStreamAudio = z.infer<typeof streamAudioSchema>;
|
|
293
|
+
export type TStreamAudioSource = TStreamAudio['source'];
|
|
259
294
|
export type TAudioOfSource<T extends TStreamAudioSource> = {
|
|
260
|
-
audio: Extract<
|
|
295
|
+
audio: Extract<TStreamAudio, {
|
|
261
296
|
source: T;
|
|
262
297
|
}>;
|
|
263
298
|
};
|
|
@@ -359,22 +394,42 @@ export declare const streamCommonSchema: z.ZodObject<{
|
|
|
359
394
|
isActive: boolean;
|
|
360
395
|
}[];
|
|
361
396
|
}>]>;
|
|
362
|
-
|
|
363
|
-
|
|
364
|
-
|
|
365
|
-
|
|
366
|
-
|
|
367
|
-
|
|
368
|
-
|
|
369
|
-
|
|
397
|
+
video: z.ZodObject<{
|
|
398
|
+
inputType: z.ZodUnion<[z.ZodLiteral<"CSw">, z.ZodLiteral<"CRS">, z.ZodLiteral<"RTSP_URL">]>;
|
|
399
|
+
sourceUrl: z.ZodOptional<z.ZodString>;
|
|
400
|
+
internalVapixParameters: z.ZodString;
|
|
401
|
+
userVapixParameters: z.ZodString;
|
|
402
|
+
streamingProtocol: z.ZodUnion<[z.ZodLiteral<"RTMP">, z.ZodLiteral<"RTMPS">, z.ZodLiteral<"HLS_PUSH">]>;
|
|
403
|
+
streamDelay: z.ZodOptional<z.ZodObject<{
|
|
404
|
+
value: z.ZodNumber;
|
|
405
|
+
unit: z.ZodUnion<[z.ZodLiteral<"seconds">, z.ZodLiteral<"minutes">, z.ZodLiteral<"hours">]>;
|
|
406
|
+
}, "strip", z.ZodTypeAny, {
|
|
407
|
+
value: number;
|
|
408
|
+
unit: "seconds" | "minutes" | "hours";
|
|
409
|
+
}, {
|
|
410
|
+
value: number;
|
|
411
|
+
unit: "seconds" | "minutes" | "hours";
|
|
412
|
+
}>>;
|
|
370
413
|
}, "strip", z.ZodTypeAny, {
|
|
371
|
-
|
|
372
|
-
|
|
373
|
-
|
|
414
|
+
inputType: "RTSP_URL" | "CSw" | "CRS";
|
|
415
|
+
internalVapixParameters: string;
|
|
416
|
+
userVapixParameters: string;
|
|
417
|
+
streamingProtocol: "RTMP" | "RTMPS" | "HLS_PUSH";
|
|
418
|
+
sourceUrl?: string | undefined;
|
|
419
|
+
streamDelay?: {
|
|
420
|
+
value: number;
|
|
421
|
+
unit: "seconds" | "minutes" | "hours";
|
|
422
|
+
} | undefined;
|
|
374
423
|
}, {
|
|
375
|
-
|
|
376
|
-
|
|
377
|
-
|
|
424
|
+
inputType: "RTSP_URL" | "CSw" | "CRS";
|
|
425
|
+
internalVapixParameters: string;
|
|
426
|
+
userVapixParameters: string;
|
|
427
|
+
streamingProtocol: "RTMP" | "RTMPS" | "HLS_PUSH";
|
|
428
|
+
sourceUrl?: string | undefined;
|
|
429
|
+
streamDelay?: {
|
|
430
|
+
value: number;
|
|
431
|
+
unit: "seconds" | "minutes" | "hours";
|
|
432
|
+
} | undefined;
|
|
378
433
|
}>;
|
|
379
434
|
audio: z.ZodDiscriminatedUnion<"source", [z.ZodObject<{
|
|
380
435
|
source: z.ZodLiteral<"none">;
|
|
@@ -435,6 +490,17 @@ export declare const streamCommonSchema: z.ZodObject<{
|
|
|
435
490
|
fileUrl: string;
|
|
436
491
|
avSyncMsec: number;
|
|
437
492
|
};
|
|
493
|
+
video: {
|
|
494
|
+
inputType: "RTSP_URL" | "CSw" | "CRS";
|
|
495
|
+
internalVapixParameters: string;
|
|
496
|
+
userVapixParameters: string;
|
|
497
|
+
streamingProtocol: "RTMP" | "RTMPS" | "HLS_PUSH";
|
|
498
|
+
sourceUrl?: string | undefined;
|
|
499
|
+
streamDelay?: {
|
|
500
|
+
value: number;
|
|
501
|
+
unit: "seconds" | "minutes" | "hours";
|
|
502
|
+
} | undefined;
|
|
503
|
+
};
|
|
438
504
|
enabled: boolean;
|
|
439
505
|
id: number;
|
|
440
506
|
active: boolean;
|
|
@@ -460,15 +526,6 @@ export declare const streamCommonSchema: z.ZodObject<{
|
|
|
460
526
|
isActive: boolean;
|
|
461
527
|
}[];
|
|
462
528
|
};
|
|
463
|
-
inputType: "RTSP_URL" | "CSw" | "CRS";
|
|
464
|
-
internalVapixParameters: string;
|
|
465
|
-
userVapixParameters: string;
|
|
466
|
-
streamingProtocol: "RTSP" | "RTMP" | "RTMPS" | "HLS";
|
|
467
|
-
streamDelay: {
|
|
468
|
-
enabled: boolean;
|
|
469
|
-
timeS: number;
|
|
470
|
-
unit: "seconds" | "minutes" | "hours";
|
|
471
|
-
};
|
|
472
529
|
}, {
|
|
473
530
|
audio: {
|
|
474
531
|
source: "none";
|
|
@@ -485,6 +542,17 @@ export declare const streamCommonSchema: z.ZodObject<{
|
|
|
485
542
|
fileUrl: string;
|
|
486
543
|
avSyncMsec: number;
|
|
487
544
|
};
|
|
545
|
+
video: {
|
|
546
|
+
inputType: "RTSP_URL" | "CSw" | "CRS";
|
|
547
|
+
internalVapixParameters: string;
|
|
548
|
+
userVapixParameters: string;
|
|
549
|
+
streamingProtocol: "RTMP" | "RTMPS" | "HLS_PUSH";
|
|
550
|
+
sourceUrl?: string | undefined;
|
|
551
|
+
streamDelay?: {
|
|
552
|
+
value: number;
|
|
553
|
+
unit: "seconds" | "minutes" | "hours";
|
|
554
|
+
} | undefined;
|
|
555
|
+
};
|
|
488
556
|
enabled: boolean;
|
|
489
557
|
id: number;
|
|
490
558
|
active: boolean;
|
|
@@ -510,15 +578,6 @@ export declare const streamCommonSchema: z.ZodObject<{
|
|
|
510
578
|
isActive: boolean;
|
|
511
579
|
}[];
|
|
512
580
|
};
|
|
513
|
-
inputType: "RTSP_URL" | "CSw" | "CRS";
|
|
514
|
-
internalVapixParameters: string;
|
|
515
|
-
userVapixParameters: string;
|
|
516
|
-
streamingProtocol: "RTSP" | "RTMP" | "RTMPS" | "HLS";
|
|
517
|
-
streamDelay: {
|
|
518
|
-
enabled: boolean;
|
|
519
|
-
timeS: number;
|
|
520
|
-
unit: "seconds" | "minutes" | "hours";
|
|
521
|
-
};
|
|
522
581
|
}>;
|
|
523
582
|
export type TCommonStream = z.infer<typeof streamCommonSchema>;
|
|
524
583
|
export {};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.streamCommonSchema = exports.streamAudioSchema = exports.internalVapixParametersSchema = exports.streamDelaySchema = exports.overlaysSchema = exports.videoCodecSchema = exports.streamingProtocolTypeSchema = exports.streamInputTypeSchema = exports.streamTriggerSchema = exports.streamTypeSchema = void 0;
|
|
3
|
+
exports.streamCommonSchema = exports.streamAudioSchema = exports.streamVideoSchema = exports.internalVapixParametersSchema = exports.streamDelaySchema = exports.overlaysSchema = exports.videoCodecSchema = exports.streamingProtocolTypeSchema = exports.streamInputTypeSchema = exports.streamTriggerSchema = exports.streamTypeSchema = void 0;
|
|
4
4
|
const zod_1 = require("zod");
|
|
5
5
|
const common_1 = require("../common");
|
|
6
6
|
exports.streamTypeSchema = zod_1.z.union([
|
|
@@ -47,12 +47,7 @@ exports.streamTriggerSchema = zod_1.z.discriminatedUnion('type', [
|
|
|
47
47
|
}),
|
|
48
48
|
]);
|
|
49
49
|
exports.streamInputTypeSchema = zod_1.z.union([zod_1.z.literal('CSw'), zod_1.z.literal('CRS'), zod_1.z.literal('RTSP_URL')]);
|
|
50
|
-
exports.streamingProtocolTypeSchema = zod_1.z.union([
|
|
51
|
-
zod_1.z.literal('RTSP'),
|
|
52
|
-
zod_1.z.literal('RTMP'),
|
|
53
|
-
zod_1.z.literal('RTMPS'),
|
|
54
|
-
zod_1.z.literal('HLS'),
|
|
55
|
-
]);
|
|
50
|
+
exports.streamingProtocolTypeSchema = zod_1.z.union([zod_1.z.literal('RTMP'), zod_1.z.literal('RTMPS'), zod_1.z.literal('HLS_PUSH')]);
|
|
56
51
|
exports.videoCodecSchema = zod_1.z.union([zod_1.z.literal('h264'), zod_1.z.literal('h265'), zod_1.z.literal('av1')]);
|
|
57
52
|
exports.overlaysSchema = zod_1.z.union([
|
|
58
53
|
zod_1.z.literal('all'),
|
|
@@ -63,8 +58,7 @@ exports.overlaysSchema = zod_1.z.union([
|
|
|
63
58
|
zod_1.z.literal('off'),
|
|
64
59
|
]);
|
|
65
60
|
exports.streamDelaySchema = zod_1.z.object({
|
|
66
|
-
|
|
67
|
-
timeS: zod_1.z.number().int(),
|
|
61
|
+
value: zod_1.z.number().int(),
|
|
68
62
|
unit: zod_1.z.union([zod_1.z.literal('seconds'), zod_1.z.literal('minutes'), zod_1.z.literal('hours')]),
|
|
69
63
|
});
|
|
70
64
|
exports.internalVapixParametersSchema = common_1.bitrateVapixParamsSchema.extend({
|
|
@@ -88,6 +82,14 @@ exports.internalVapixParametersSchema = common_1.bitrateVapixParamsSchema.extend
|
|
|
88
82
|
])
|
|
89
83
|
.optional(),
|
|
90
84
|
});
|
|
85
|
+
exports.streamVideoSchema = zod_1.z.object({
|
|
86
|
+
inputType: exports.streamInputTypeSchema,
|
|
87
|
+
sourceUrl: zod_1.z.string().optional(),
|
|
88
|
+
internalVapixParameters: zod_1.z.string(),
|
|
89
|
+
userVapixParameters: zod_1.z.string(),
|
|
90
|
+
streamingProtocol: exports.streamingProtocolTypeSchema,
|
|
91
|
+
streamDelay: exports.streamDelaySchema.optional(),
|
|
92
|
+
});
|
|
91
93
|
exports.streamAudioSchema = zod_1.z.discriminatedUnion('source', [
|
|
92
94
|
zod_1.z.object({
|
|
93
95
|
source: zod_1.z.literal('none'),
|
|
@@ -111,10 +113,6 @@ exports.streamCommonSchema = zod_1.z.object({
|
|
|
111
113
|
active: zod_1.z.boolean(),
|
|
112
114
|
title: zod_1.z.string(),
|
|
113
115
|
trigger: exports.streamTriggerSchema,
|
|
114
|
-
|
|
115
|
-
internalVapixParameters: zod_1.z.string(),
|
|
116
|
-
userVapixParameters: zod_1.z.string(),
|
|
117
|
-
streamingProtocol: exports.streamingProtocolTypeSchema,
|
|
118
|
-
streamDelay: exports.streamDelaySchema,
|
|
116
|
+
video: exports.streamVideoSchema,
|
|
119
117
|
audio: exports.streamAudioSchema,
|
|
120
118
|
});
|
|
@@ -97,22 +97,42 @@ export declare const twitchSchema: z.ZodObject<{
|
|
|
97
97
|
isActive: boolean;
|
|
98
98
|
}[];
|
|
99
99
|
}>]>;
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
100
|
+
video: z.ZodObject<{
|
|
101
|
+
inputType: z.ZodUnion<[z.ZodLiteral<"CSw">, z.ZodLiteral<"CRS">, z.ZodLiteral<"RTSP_URL">]>;
|
|
102
|
+
sourceUrl: z.ZodOptional<z.ZodString>;
|
|
103
|
+
internalVapixParameters: z.ZodString;
|
|
104
|
+
userVapixParameters: z.ZodString;
|
|
105
|
+
streamingProtocol: z.ZodUnion<[z.ZodLiteral<"RTMP">, z.ZodLiteral<"RTMPS">, z.ZodLiteral<"HLS_PUSH">]>;
|
|
106
|
+
streamDelay: z.ZodOptional<z.ZodObject<{
|
|
107
|
+
value: z.ZodNumber;
|
|
108
|
+
unit: z.ZodUnion<[z.ZodLiteral<"seconds">, z.ZodLiteral<"minutes">, z.ZodLiteral<"hours">]>;
|
|
109
|
+
}, "strip", z.ZodTypeAny, {
|
|
110
|
+
value: number;
|
|
111
|
+
unit: "seconds" | "minutes" | "hours";
|
|
112
|
+
}, {
|
|
113
|
+
value: number;
|
|
114
|
+
unit: "seconds" | "minutes" | "hours";
|
|
115
|
+
}>>;
|
|
108
116
|
}, "strip", z.ZodTypeAny, {
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
117
|
+
inputType: "RTSP_URL" | "CSw" | "CRS";
|
|
118
|
+
internalVapixParameters: string;
|
|
119
|
+
userVapixParameters: string;
|
|
120
|
+
streamingProtocol: "RTMP" | "RTMPS" | "HLS_PUSH";
|
|
121
|
+
sourceUrl?: string | undefined;
|
|
122
|
+
streamDelay?: {
|
|
123
|
+
value: number;
|
|
124
|
+
unit: "seconds" | "minutes" | "hours";
|
|
125
|
+
} | undefined;
|
|
112
126
|
}, {
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
127
|
+
inputType: "RTSP_URL" | "CSw" | "CRS";
|
|
128
|
+
internalVapixParameters: string;
|
|
129
|
+
userVapixParameters: string;
|
|
130
|
+
streamingProtocol: "RTMP" | "RTMPS" | "HLS_PUSH";
|
|
131
|
+
sourceUrl?: string | undefined;
|
|
132
|
+
streamDelay?: {
|
|
133
|
+
value: number;
|
|
134
|
+
unit: "seconds" | "minutes" | "hours";
|
|
135
|
+
} | undefined;
|
|
116
136
|
}>;
|
|
117
137
|
audio: z.ZodDiscriminatedUnion<"source", [z.ZodObject<{
|
|
118
138
|
source: z.ZodLiteral<"none">;
|
|
@@ -176,6 +196,17 @@ export declare const twitchSchema: z.ZodObject<{
|
|
|
176
196
|
fileUrl: string;
|
|
177
197
|
avSyncMsec: number;
|
|
178
198
|
};
|
|
199
|
+
video: {
|
|
200
|
+
inputType: "RTSP_URL" | "CSw" | "CRS";
|
|
201
|
+
internalVapixParameters: string;
|
|
202
|
+
userVapixParameters: string;
|
|
203
|
+
streamingProtocol: "RTMP" | "RTMPS" | "HLS_PUSH";
|
|
204
|
+
sourceUrl?: string | undefined;
|
|
205
|
+
streamDelay?: {
|
|
206
|
+
value: number;
|
|
207
|
+
unit: "seconds" | "minutes" | "hours";
|
|
208
|
+
} | undefined;
|
|
209
|
+
};
|
|
179
210
|
enabled: boolean;
|
|
180
211
|
id: number;
|
|
181
212
|
active: boolean;
|
|
@@ -201,15 +232,6 @@ export declare const twitchSchema: z.ZodObject<{
|
|
|
201
232
|
isActive: boolean;
|
|
202
233
|
}[];
|
|
203
234
|
};
|
|
204
|
-
inputType: "RTSP_URL" | "CSw" | "CRS";
|
|
205
|
-
internalVapixParameters: string;
|
|
206
|
-
userVapixParameters: string;
|
|
207
|
-
streamingProtocol: "RTSP" | "RTMP" | "RTMPS" | "HLS";
|
|
208
|
-
streamDelay: {
|
|
209
|
-
enabled: boolean;
|
|
210
|
-
timeS: number;
|
|
211
|
-
unit: "seconds" | "minutes" | "hours";
|
|
212
|
-
};
|
|
213
235
|
}, {
|
|
214
236
|
type: "twitch";
|
|
215
237
|
audio: {
|
|
@@ -227,6 +249,17 @@ export declare const twitchSchema: z.ZodObject<{
|
|
|
227
249
|
fileUrl: string;
|
|
228
250
|
avSyncMsec: number;
|
|
229
251
|
};
|
|
252
|
+
video: {
|
|
253
|
+
inputType: "RTSP_URL" | "CSw" | "CRS";
|
|
254
|
+
internalVapixParameters: string;
|
|
255
|
+
userVapixParameters: string;
|
|
256
|
+
streamingProtocol: "RTMP" | "RTMPS" | "HLS_PUSH";
|
|
257
|
+
sourceUrl?: string | undefined;
|
|
258
|
+
streamDelay?: {
|
|
259
|
+
value: number;
|
|
260
|
+
unit: "seconds" | "minutes" | "hours";
|
|
261
|
+
} | undefined;
|
|
262
|
+
};
|
|
230
263
|
enabled: boolean;
|
|
231
264
|
id: number;
|
|
232
265
|
active: boolean;
|
|
@@ -252,13 +285,4 @@ export declare const twitchSchema: z.ZodObject<{
|
|
|
252
285
|
isActive: boolean;
|
|
253
286
|
}[];
|
|
254
287
|
};
|
|
255
|
-
inputType: "RTSP_URL" | "CSw" | "CRS";
|
|
256
|
-
internalVapixParameters: string;
|
|
257
|
-
userVapixParameters: string;
|
|
258
|
-
streamingProtocol: "RTSP" | "RTMP" | "RTMPS" | "HLS";
|
|
259
|
-
streamDelay: {
|
|
260
|
-
enabled: boolean;
|
|
261
|
-
timeS: number;
|
|
262
|
-
unit: "seconds" | "minutes" | "hours";
|
|
263
|
-
};
|
|
264
288
|
}>;
|
|
@@ -97,22 +97,42 @@ export declare const vimeoSchema: z.ZodObject<{
|
|
|
97
97
|
isActive: boolean;
|
|
98
98
|
}[];
|
|
99
99
|
}>]>;
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
100
|
+
video: z.ZodObject<{
|
|
101
|
+
inputType: z.ZodUnion<[z.ZodLiteral<"CSw">, z.ZodLiteral<"CRS">, z.ZodLiteral<"RTSP_URL">]>;
|
|
102
|
+
sourceUrl: z.ZodOptional<z.ZodString>;
|
|
103
|
+
internalVapixParameters: z.ZodString;
|
|
104
|
+
userVapixParameters: z.ZodString;
|
|
105
|
+
streamingProtocol: z.ZodUnion<[z.ZodLiteral<"RTMP">, z.ZodLiteral<"RTMPS">, z.ZodLiteral<"HLS_PUSH">]>;
|
|
106
|
+
streamDelay: z.ZodOptional<z.ZodObject<{
|
|
107
|
+
value: z.ZodNumber;
|
|
108
|
+
unit: z.ZodUnion<[z.ZodLiteral<"seconds">, z.ZodLiteral<"minutes">, z.ZodLiteral<"hours">]>;
|
|
109
|
+
}, "strip", z.ZodTypeAny, {
|
|
110
|
+
value: number;
|
|
111
|
+
unit: "seconds" | "minutes" | "hours";
|
|
112
|
+
}, {
|
|
113
|
+
value: number;
|
|
114
|
+
unit: "seconds" | "minutes" | "hours";
|
|
115
|
+
}>>;
|
|
108
116
|
}, "strip", z.ZodTypeAny, {
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
117
|
+
inputType: "RTSP_URL" | "CSw" | "CRS";
|
|
118
|
+
internalVapixParameters: string;
|
|
119
|
+
userVapixParameters: string;
|
|
120
|
+
streamingProtocol: "RTMP" | "RTMPS" | "HLS_PUSH";
|
|
121
|
+
sourceUrl?: string | undefined;
|
|
122
|
+
streamDelay?: {
|
|
123
|
+
value: number;
|
|
124
|
+
unit: "seconds" | "minutes" | "hours";
|
|
125
|
+
} | undefined;
|
|
112
126
|
}, {
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
127
|
+
inputType: "RTSP_URL" | "CSw" | "CRS";
|
|
128
|
+
internalVapixParameters: string;
|
|
129
|
+
userVapixParameters: string;
|
|
130
|
+
streamingProtocol: "RTMP" | "RTMPS" | "HLS_PUSH";
|
|
131
|
+
sourceUrl?: string | undefined;
|
|
132
|
+
streamDelay?: {
|
|
133
|
+
value: number;
|
|
134
|
+
unit: "seconds" | "minutes" | "hours";
|
|
135
|
+
} | undefined;
|
|
116
136
|
}>;
|
|
117
137
|
audio: z.ZodDiscriminatedUnion<"source", [z.ZodObject<{
|
|
118
138
|
source: z.ZodLiteral<"none">;
|
|
@@ -176,6 +196,17 @@ export declare const vimeoSchema: z.ZodObject<{
|
|
|
176
196
|
fileUrl: string;
|
|
177
197
|
avSyncMsec: number;
|
|
178
198
|
};
|
|
199
|
+
video: {
|
|
200
|
+
inputType: "RTSP_URL" | "CSw" | "CRS";
|
|
201
|
+
internalVapixParameters: string;
|
|
202
|
+
userVapixParameters: string;
|
|
203
|
+
streamingProtocol: "RTMP" | "RTMPS" | "HLS_PUSH";
|
|
204
|
+
sourceUrl?: string | undefined;
|
|
205
|
+
streamDelay?: {
|
|
206
|
+
value: number;
|
|
207
|
+
unit: "seconds" | "minutes" | "hours";
|
|
208
|
+
} | undefined;
|
|
209
|
+
};
|
|
179
210
|
enabled: boolean;
|
|
180
211
|
id: number;
|
|
181
212
|
active: boolean;
|
|
@@ -201,15 +232,6 @@ export declare const vimeoSchema: z.ZodObject<{
|
|
|
201
232
|
isActive: boolean;
|
|
202
233
|
}[];
|
|
203
234
|
};
|
|
204
|
-
inputType: "RTSP_URL" | "CSw" | "CRS";
|
|
205
|
-
internalVapixParameters: string;
|
|
206
|
-
userVapixParameters: string;
|
|
207
|
-
streamingProtocol: "RTSP" | "RTMP" | "RTMPS" | "HLS";
|
|
208
|
-
streamDelay: {
|
|
209
|
-
enabled: boolean;
|
|
210
|
-
timeS: number;
|
|
211
|
-
unit: "seconds" | "minutes" | "hours";
|
|
212
|
-
};
|
|
213
235
|
}, {
|
|
214
236
|
type: "vimeo";
|
|
215
237
|
audio: {
|
|
@@ -227,6 +249,17 @@ export declare const vimeoSchema: z.ZodObject<{
|
|
|
227
249
|
fileUrl: string;
|
|
228
250
|
avSyncMsec: number;
|
|
229
251
|
};
|
|
252
|
+
video: {
|
|
253
|
+
inputType: "RTSP_URL" | "CSw" | "CRS";
|
|
254
|
+
internalVapixParameters: string;
|
|
255
|
+
userVapixParameters: string;
|
|
256
|
+
streamingProtocol: "RTMP" | "RTMPS" | "HLS_PUSH";
|
|
257
|
+
sourceUrl?: string | undefined;
|
|
258
|
+
streamDelay?: {
|
|
259
|
+
value: number;
|
|
260
|
+
unit: "seconds" | "minutes" | "hours";
|
|
261
|
+
} | undefined;
|
|
262
|
+
};
|
|
230
263
|
enabled: boolean;
|
|
231
264
|
id: number;
|
|
232
265
|
active: boolean;
|
|
@@ -252,13 +285,4 @@ export declare const vimeoSchema: z.ZodObject<{
|
|
|
252
285
|
isActive: boolean;
|
|
253
286
|
}[];
|
|
254
287
|
};
|
|
255
|
-
inputType: "RTSP_URL" | "CSw" | "CRS";
|
|
256
|
-
internalVapixParameters: string;
|
|
257
|
-
userVapixParameters: string;
|
|
258
|
-
streamingProtocol: "RTSP" | "RTMP" | "RTMPS" | "HLS";
|
|
259
|
-
streamDelay: {
|
|
260
|
-
enabled: boolean;
|
|
261
|
-
timeS: number;
|
|
262
|
-
unit: "seconds" | "minutes" | "hours";
|
|
263
|
-
};
|
|
264
288
|
}>;
|
|
@@ -97,22 +97,42 @@ export declare const windySchema: z.ZodObject<{
|
|
|
97
97
|
isActive: boolean;
|
|
98
98
|
}[];
|
|
99
99
|
}>]>;
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
100
|
+
video: z.ZodObject<{
|
|
101
|
+
inputType: z.ZodUnion<[z.ZodLiteral<"CSw">, z.ZodLiteral<"CRS">, z.ZodLiteral<"RTSP_URL">]>;
|
|
102
|
+
sourceUrl: z.ZodOptional<z.ZodString>;
|
|
103
|
+
internalVapixParameters: z.ZodString;
|
|
104
|
+
userVapixParameters: z.ZodString;
|
|
105
|
+
streamingProtocol: z.ZodUnion<[z.ZodLiteral<"RTMP">, z.ZodLiteral<"RTMPS">, z.ZodLiteral<"HLS_PUSH">]>;
|
|
106
|
+
streamDelay: z.ZodOptional<z.ZodObject<{
|
|
107
|
+
value: z.ZodNumber;
|
|
108
|
+
unit: z.ZodUnion<[z.ZodLiteral<"seconds">, z.ZodLiteral<"minutes">, z.ZodLiteral<"hours">]>;
|
|
109
|
+
}, "strip", z.ZodTypeAny, {
|
|
110
|
+
value: number;
|
|
111
|
+
unit: "seconds" | "minutes" | "hours";
|
|
112
|
+
}, {
|
|
113
|
+
value: number;
|
|
114
|
+
unit: "seconds" | "minutes" | "hours";
|
|
115
|
+
}>>;
|
|
108
116
|
}, "strip", z.ZodTypeAny, {
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
117
|
+
inputType: "RTSP_URL" | "CSw" | "CRS";
|
|
118
|
+
internalVapixParameters: string;
|
|
119
|
+
userVapixParameters: string;
|
|
120
|
+
streamingProtocol: "RTMP" | "RTMPS" | "HLS_PUSH";
|
|
121
|
+
sourceUrl?: string | undefined;
|
|
122
|
+
streamDelay?: {
|
|
123
|
+
value: number;
|
|
124
|
+
unit: "seconds" | "minutes" | "hours";
|
|
125
|
+
} | undefined;
|
|
112
126
|
}, {
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
127
|
+
inputType: "RTSP_URL" | "CSw" | "CRS";
|
|
128
|
+
internalVapixParameters: string;
|
|
129
|
+
userVapixParameters: string;
|
|
130
|
+
streamingProtocol: "RTMP" | "RTMPS" | "HLS_PUSH";
|
|
131
|
+
sourceUrl?: string | undefined;
|
|
132
|
+
streamDelay?: {
|
|
133
|
+
value: number;
|
|
134
|
+
unit: "seconds" | "minutes" | "hours";
|
|
135
|
+
} | undefined;
|
|
116
136
|
}>;
|
|
117
137
|
audio: z.ZodDiscriminatedUnion<"source", [z.ZodObject<{
|
|
118
138
|
source: z.ZodLiteral<"none">;
|
|
@@ -176,6 +196,17 @@ export declare const windySchema: z.ZodObject<{
|
|
|
176
196
|
fileUrl: string;
|
|
177
197
|
avSyncMsec: number;
|
|
178
198
|
};
|
|
199
|
+
video: {
|
|
200
|
+
inputType: "RTSP_URL" | "CSw" | "CRS";
|
|
201
|
+
internalVapixParameters: string;
|
|
202
|
+
userVapixParameters: string;
|
|
203
|
+
streamingProtocol: "RTMP" | "RTMPS" | "HLS_PUSH";
|
|
204
|
+
sourceUrl?: string | undefined;
|
|
205
|
+
streamDelay?: {
|
|
206
|
+
value: number;
|
|
207
|
+
unit: "seconds" | "minutes" | "hours";
|
|
208
|
+
} | undefined;
|
|
209
|
+
};
|
|
179
210
|
enabled: boolean;
|
|
180
211
|
id: number;
|
|
181
212
|
active: boolean;
|
|
@@ -201,15 +232,6 @@ export declare const windySchema: z.ZodObject<{
|
|
|
201
232
|
isActive: boolean;
|
|
202
233
|
}[];
|
|
203
234
|
};
|
|
204
|
-
inputType: "RTSP_URL" | "CSw" | "CRS";
|
|
205
|
-
internalVapixParameters: string;
|
|
206
|
-
userVapixParameters: string;
|
|
207
|
-
streamingProtocol: "RTSP" | "RTMP" | "RTMPS" | "HLS";
|
|
208
|
-
streamDelay: {
|
|
209
|
-
enabled: boolean;
|
|
210
|
-
timeS: number;
|
|
211
|
-
unit: "seconds" | "minutes" | "hours";
|
|
212
|
-
};
|
|
213
235
|
}, {
|
|
214
236
|
type: "windy";
|
|
215
237
|
audio: {
|
|
@@ -227,6 +249,17 @@ export declare const windySchema: z.ZodObject<{
|
|
|
227
249
|
fileUrl: string;
|
|
228
250
|
avSyncMsec: number;
|
|
229
251
|
};
|
|
252
|
+
video: {
|
|
253
|
+
inputType: "RTSP_URL" | "CSw" | "CRS";
|
|
254
|
+
internalVapixParameters: string;
|
|
255
|
+
userVapixParameters: string;
|
|
256
|
+
streamingProtocol: "RTMP" | "RTMPS" | "HLS_PUSH";
|
|
257
|
+
sourceUrl?: string | undefined;
|
|
258
|
+
streamDelay?: {
|
|
259
|
+
value: number;
|
|
260
|
+
unit: "seconds" | "minutes" | "hours";
|
|
261
|
+
} | undefined;
|
|
262
|
+
};
|
|
230
263
|
enabled: boolean;
|
|
231
264
|
id: number;
|
|
232
265
|
active: boolean;
|
|
@@ -252,13 +285,4 @@ export declare const windySchema: z.ZodObject<{
|
|
|
252
285
|
isActive: boolean;
|
|
253
286
|
}[];
|
|
254
287
|
};
|
|
255
|
-
inputType: "RTSP_URL" | "CSw" | "CRS";
|
|
256
|
-
internalVapixParameters: string;
|
|
257
|
-
userVapixParameters: string;
|
|
258
|
-
streamingProtocol: "RTSP" | "RTMP" | "RTMPS" | "HLS";
|
|
259
|
-
streamDelay: {
|
|
260
|
-
enabled: boolean;
|
|
261
|
-
timeS: number;
|
|
262
|
-
unit: "seconds" | "minutes" | "hours";
|
|
263
|
-
};
|
|
264
288
|
}>;
|