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
|
@@ -97,22 +97,42 @@ export declare const mpegDvbSchema: 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">;
|
|
@@ -192,6 +212,17 @@ export declare const mpegDvbSchema: z.ZodObject<{
|
|
|
192
212
|
fileUrl: string;
|
|
193
213
|
avSyncMsec: number;
|
|
194
214
|
};
|
|
215
|
+
video: {
|
|
216
|
+
inputType: "RTSP_URL" | "CSw" | "CRS";
|
|
217
|
+
internalVapixParameters: string;
|
|
218
|
+
userVapixParameters: string;
|
|
219
|
+
streamingProtocol: "RTMP" | "RTMPS" | "HLS_PUSH";
|
|
220
|
+
sourceUrl?: string | undefined;
|
|
221
|
+
streamDelay?: {
|
|
222
|
+
value: number;
|
|
223
|
+
unit: "seconds" | "minutes" | "hours";
|
|
224
|
+
} | undefined;
|
|
225
|
+
};
|
|
195
226
|
port: number;
|
|
196
227
|
enabled: boolean;
|
|
197
228
|
id: number;
|
|
@@ -218,15 +249,6 @@ export declare const mpegDvbSchema: z.ZodObject<{
|
|
|
218
249
|
isActive: boolean;
|
|
219
250
|
}[];
|
|
220
251
|
};
|
|
221
|
-
inputType: "RTSP_URL" | "CSw" | "CRS";
|
|
222
|
-
internalVapixParameters: string;
|
|
223
|
-
userVapixParameters: string;
|
|
224
|
-
streamingProtocol: "RTSP" | "RTMP" | "RTMPS" | "HLS";
|
|
225
|
-
streamDelay: {
|
|
226
|
-
enabled: boolean;
|
|
227
|
-
timeS: number;
|
|
228
|
-
unit: "seconds" | "minutes" | "hours";
|
|
229
|
-
};
|
|
230
252
|
ipAddress: string;
|
|
231
253
|
standard: "DVB" | "ATSC";
|
|
232
254
|
nullPacketsPaddingEnabled: boolean;
|
|
@@ -259,6 +281,17 @@ export declare const mpegDvbSchema: z.ZodObject<{
|
|
|
259
281
|
fileUrl: string;
|
|
260
282
|
avSyncMsec: number;
|
|
261
283
|
};
|
|
284
|
+
video: {
|
|
285
|
+
inputType: "RTSP_URL" | "CSw" | "CRS";
|
|
286
|
+
internalVapixParameters: string;
|
|
287
|
+
userVapixParameters: string;
|
|
288
|
+
streamingProtocol: "RTMP" | "RTMPS" | "HLS_PUSH";
|
|
289
|
+
sourceUrl?: string | undefined;
|
|
290
|
+
streamDelay?: {
|
|
291
|
+
value: number;
|
|
292
|
+
unit: "seconds" | "minutes" | "hours";
|
|
293
|
+
} | undefined;
|
|
294
|
+
};
|
|
262
295
|
port: number;
|
|
263
296
|
enabled: boolean;
|
|
264
297
|
id: number;
|
|
@@ -285,15 +318,6 @@ export declare const mpegDvbSchema: z.ZodObject<{
|
|
|
285
318
|
isActive: boolean;
|
|
286
319
|
}[];
|
|
287
320
|
};
|
|
288
|
-
inputType: "RTSP_URL" | "CSw" | "CRS";
|
|
289
|
-
internalVapixParameters: string;
|
|
290
|
-
userVapixParameters: string;
|
|
291
|
-
streamingProtocol: "RTSP" | "RTMP" | "RTMPS" | "HLS";
|
|
292
|
-
streamDelay: {
|
|
293
|
-
enabled: boolean;
|
|
294
|
-
timeS: number;
|
|
295
|
-
unit: "seconds" | "minutes" | "hours";
|
|
296
|
-
};
|
|
297
321
|
ipAddress: string;
|
|
298
322
|
standard: "DVB" | "ATSC";
|
|
299
323
|
nullPacketsPaddingEnabled: boolean;
|
|
@@ -26,13 +26,13 @@ export declare const oldStringStreamSchema: z.ZodObject<{
|
|
|
26
26
|
startTime: string;
|
|
27
27
|
stopTime: string;
|
|
28
28
|
schedule: string;
|
|
29
|
-
avSyncMsec: string;
|
|
30
|
-
active: string;
|
|
31
|
-
trigger: string;
|
|
32
29
|
inputType: string;
|
|
33
30
|
internalVapixParameters: string;
|
|
34
31
|
userVapixParameters: string;
|
|
35
32
|
streamDelay: string;
|
|
33
|
+
avSyncMsec: string;
|
|
34
|
+
active: string;
|
|
35
|
+
trigger: string;
|
|
36
36
|
audioSource: string;
|
|
37
37
|
outputParameters: string;
|
|
38
38
|
outputType: string;
|
|
@@ -48,13 +48,13 @@ export declare const oldStringStreamSchema: z.ZodObject<{
|
|
|
48
48
|
startTime: string;
|
|
49
49
|
stopTime: string;
|
|
50
50
|
schedule: string;
|
|
51
|
-
avSyncMsec: string;
|
|
52
|
-
active: string;
|
|
53
|
-
trigger: string;
|
|
54
51
|
inputType: string;
|
|
55
52
|
internalVapixParameters: string;
|
|
56
53
|
userVapixParameters: string;
|
|
57
54
|
streamDelay: string;
|
|
55
|
+
avSyncMsec: string;
|
|
56
|
+
active: string;
|
|
57
|
+
trigger: string;
|
|
58
58
|
audioSource: string;
|
|
59
59
|
outputParameters: string;
|
|
60
60
|
outputType: string;
|
|
@@ -96,13 +96,13 @@ export declare const oldStringStreamSchemaWithId: z.ZodObject<{
|
|
|
96
96
|
startTime: string;
|
|
97
97
|
stopTime: string;
|
|
98
98
|
schedule: string;
|
|
99
|
-
avSyncMsec: string;
|
|
100
|
-
active: string;
|
|
101
|
-
trigger: string;
|
|
102
99
|
inputType: string;
|
|
103
100
|
internalVapixParameters: string;
|
|
104
101
|
userVapixParameters: string;
|
|
105
102
|
streamDelay: string;
|
|
103
|
+
avSyncMsec: string;
|
|
104
|
+
active: string;
|
|
105
|
+
trigger: string;
|
|
106
106
|
audioSource: string;
|
|
107
107
|
outputParameters: string;
|
|
108
108
|
outputType: string;
|
|
@@ -119,13 +119,13 @@ export declare const oldStringStreamSchemaWithId: z.ZodObject<{
|
|
|
119
119
|
startTime: string;
|
|
120
120
|
stopTime: string;
|
|
121
121
|
schedule: string;
|
|
122
|
-
avSyncMsec: string;
|
|
123
|
-
active: string;
|
|
124
|
-
trigger: string;
|
|
125
122
|
inputType: string;
|
|
126
123
|
internalVapixParameters: string;
|
|
127
124
|
userVapixParameters: string;
|
|
128
125
|
streamDelay: string;
|
|
126
|
+
avSyncMsec: string;
|
|
127
|
+
active: string;
|
|
128
|
+
trigger: string;
|
|
129
129
|
audioSource: string;
|
|
130
130
|
outputParameters: string;
|
|
131
131
|
outputType: string;
|
|
@@ -165,13 +165,13 @@ export declare const oldStreamSchema: z.ZodObject<{
|
|
|
165
165
|
startTime: number | null;
|
|
166
166
|
stopTime: number | null;
|
|
167
167
|
schedule: string;
|
|
168
|
-
avSyncMsec: number;
|
|
169
|
-
active: 0 | 1;
|
|
170
|
-
trigger: string;
|
|
171
168
|
inputType: "RTSP_URL" | "CSw" | "CRS";
|
|
172
169
|
internalVapixParameters: string;
|
|
173
170
|
userVapixParameters: string;
|
|
174
171
|
streamDelay: number | null;
|
|
172
|
+
avSyncMsec: number;
|
|
173
|
+
active: 0 | 1;
|
|
174
|
+
trigger: string;
|
|
175
175
|
audioSource: string;
|
|
176
176
|
outputParameters: string;
|
|
177
177
|
outputType: "video" | "none" | "images";
|
|
@@ -187,13 +187,13 @@ export declare const oldStreamSchema: z.ZodObject<{
|
|
|
187
187
|
startTime: number | null;
|
|
188
188
|
stopTime: number | null;
|
|
189
189
|
schedule: string;
|
|
190
|
-
avSyncMsec: number;
|
|
191
|
-
active: 0 | 1;
|
|
192
|
-
trigger: string;
|
|
193
190
|
inputType: "RTSP_URL" | "CSw" | "CRS";
|
|
194
191
|
internalVapixParameters: string;
|
|
195
192
|
userVapixParameters: string;
|
|
196
193
|
streamDelay: number | null;
|
|
194
|
+
avSyncMsec: number;
|
|
195
|
+
active: 0 | 1;
|
|
196
|
+
trigger: string;
|
|
197
197
|
audioSource: string;
|
|
198
198
|
outputParameters: string;
|
|
199
199
|
outputType: "video" | "none" | "images";
|
|
@@ -97,22 +97,42 @@ export declare const rtmpSchema: 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">;
|
|
@@ -159,7 +179,7 @@ export declare const rtmpSchema: z.ZodObject<{
|
|
|
159
179
|
}>]>;
|
|
160
180
|
} & {
|
|
161
181
|
type: z.ZodLiteral<"rtmp">;
|
|
162
|
-
|
|
182
|
+
outputUrl: z.ZodString;
|
|
163
183
|
streamKey: z.ZodString;
|
|
164
184
|
streamIdentifier: z.ZodOptional<z.ZodString>;
|
|
165
185
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -179,6 +199,17 @@ export declare const rtmpSchema: z.ZodObject<{
|
|
|
179
199
|
fileUrl: string;
|
|
180
200
|
avSyncMsec: number;
|
|
181
201
|
};
|
|
202
|
+
video: {
|
|
203
|
+
inputType: "RTSP_URL" | "CSw" | "CRS";
|
|
204
|
+
internalVapixParameters: string;
|
|
205
|
+
userVapixParameters: string;
|
|
206
|
+
streamingProtocol: "RTMP" | "RTMPS" | "HLS_PUSH";
|
|
207
|
+
sourceUrl?: string | undefined;
|
|
208
|
+
streamDelay?: {
|
|
209
|
+
value: number;
|
|
210
|
+
unit: "seconds" | "minutes" | "hours";
|
|
211
|
+
} | undefined;
|
|
212
|
+
};
|
|
182
213
|
enabled: boolean;
|
|
183
214
|
id: number;
|
|
184
215
|
active: boolean;
|
|
@@ -204,16 +235,7 @@ export declare const rtmpSchema: z.ZodObject<{
|
|
|
204
235
|
isActive: boolean;
|
|
205
236
|
}[];
|
|
206
237
|
};
|
|
207
|
-
|
|
208
|
-
internalVapixParameters: string;
|
|
209
|
-
userVapixParameters: string;
|
|
210
|
-
streamingProtocol: "RTSP" | "RTMP" | "RTMPS" | "HLS";
|
|
211
|
-
streamDelay: {
|
|
212
|
-
enabled: boolean;
|
|
213
|
-
timeS: number;
|
|
214
|
-
unit: "seconds" | "minutes" | "hours";
|
|
215
|
-
};
|
|
216
|
-
rtmpUrl: string;
|
|
238
|
+
outputUrl: string;
|
|
217
239
|
streamKey: string;
|
|
218
240
|
streamIdentifier?: string | undefined;
|
|
219
241
|
}, {
|
|
@@ -233,6 +255,17 @@ export declare const rtmpSchema: z.ZodObject<{
|
|
|
233
255
|
fileUrl: string;
|
|
234
256
|
avSyncMsec: number;
|
|
235
257
|
};
|
|
258
|
+
video: {
|
|
259
|
+
inputType: "RTSP_URL" | "CSw" | "CRS";
|
|
260
|
+
internalVapixParameters: string;
|
|
261
|
+
userVapixParameters: string;
|
|
262
|
+
streamingProtocol: "RTMP" | "RTMPS" | "HLS_PUSH";
|
|
263
|
+
sourceUrl?: string | undefined;
|
|
264
|
+
streamDelay?: {
|
|
265
|
+
value: number;
|
|
266
|
+
unit: "seconds" | "minutes" | "hours";
|
|
267
|
+
} | undefined;
|
|
268
|
+
};
|
|
236
269
|
enabled: boolean;
|
|
237
270
|
id: number;
|
|
238
271
|
active: boolean;
|
|
@@ -258,16 +291,7 @@ export declare const rtmpSchema: z.ZodObject<{
|
|
|
258
291
|
isActive: boolean;
|
|
259
292
|
}[];
|
|
260
293
|
};
|
|
261
|
-
|
|
262
|
-
internalVapixParameters: string;
|
|
263
|
-
userVapixParameters: string;
|
|
264
|
-
streamingProtocol: "RTSP" | "RTMP" | "RTMPS" | "HLS";
|
|
265
|
-
streamDelay: {
|
|
266
|
-
enabled: boolean;
|
|
267
|
-
timeS: number;
|
|
268
|
-
unit: "seconds" | "minutes" | "hours";
|
|
269
|
-
};
|
|
270
|
-
rtmpUrl: string;
|
|
294
|
+
outputUrl: string;
|
|
271
295
|
streamKey: string;
|
|
272
296
|
streamIdentifier?: string | undefined;
|
|
273
297
|
}>;
|
|
@@ -8,7 +8,7 @@ const zod_1 = __importDefault(require("zod"));
|
|
|
8
8
|
const streamCommonTypes_1 = require("./streamCommonTypes");
|
|
9
9
|
exports.rtmpSchema = streamCommonTypes_1.streamCommonSchema.extend({
|
|
10
10
|
type: zod_1.default.literal('rtmp'),
|
|
11
|
-
|
|
11
|
+
outputUrl: zod_1.default.string(),
|
|
12
12
|
streamKey: zod_1.default.string(),
|
|
13
13
|
streamIdentifier: zod_1.default.string().optional(),
|
|
14
14
|
});
|
|
@@ -97,22 +97,42 @@ export declare const sdCardSchema: 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 sdCardSchema: 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 sdCardSchema: 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: "sd_card";
|
|
215
237
|
audio: {
|
|
@@ -227,6 +249,17 @@ export declare const sdCardSchema: 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 sdCardSchema: 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 srtSchema: 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 srtSchema: 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 srtSchema: 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: "srt";
|
|
215
237
|
audio: {
|
|
@@ -227,6 +249,17 @@ export declare const srtSchema: 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 srtSchema: 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
|
}>;
|