camstreamerlib 4.0.0-beta.104 → 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 -382
- package/cjs/types/CamStreamerAPI/CamStreamerAPI.d.ts +2803 -1948
- package/cjs/types/CamStreamerAPI/churchSchema.d.ts +56 -35
- package/cjs/types/CamStreamerAPI/daCastSchema.d.ts +56 -35
- package/cjs/types/CamStreamerAPI/dailymotionSchema.d.ts +56 -35
- package/cjs/types/CamStreamerAPI/facebookSchema.d.ts +56 -35
- package/cjs/types/CamStreamerAPI/gameChangerSchema.d.ts +56 -35
- package/cjs/types/CamStreamerAPI/hlsPullSchema.d.ts +56 -35
- package/cjs/types/CamStreamerAPI/hlsPushSchema.d.ts +56 -35
- package/cjs/types/CamStreamerAPI/ibmSchema.d.ts +56 -35
- package/cjs/types/CamStreamerAPI/microsoftAzureSchema.d.ts +56 -35
- package/cjs/types/CamStreamerAPI/microsoftStreamSchema.d.ts +56 -35
- package/cjs/types/CamStreamerAPI/mpegDvbSchema.d.ts +56 -35
- package/cjs/types/CamStreamerAPI/oldStreamSchema.d.ts +24 -24
- package/cjs/types/CamStreamerAPI/rtmpSchema.d.ts +59 -38
- package/cjs/types/CamStreamerAPI/rtmpSchema.js +1 -1
- package/cjs/types/CamStreamerAPI/sdCardSchema.d.ts +56 -35
- package/cjs/types/CamStreamerAPI/srtSchema.d.ts +56 -35
- package/cjs/types/CamStreamerAPI/streamCommonTypes.d.ts +100 -44
- package/cjs/types/CamStreamerAPI/streamCommonTypes.js +11 -9
- package/cjs/types/CamStreamerAPI/twitchSchema.d.ts +56 -35
- package/cjs/types/CamStreamerAPI/vimeoSchema.d.ts +56 -35
- package/cjs/types/CamStreamerAPI/windySchema.d.ts +56 -35
- package/cjs/types/CamStreamerAPI/wowzaSchema.d.ts +56 -35
- package/cjs/types/CamStreamerAPI/youtubeSchema.d.ts +56 -35
- package/esm/types/CamStreamerAPI/rtmpSchema.js +1 -1
- package/esm/types/CamStreamerAPI/streamCommonTypes.js +10 -8
- package/package.json +1 -1
- package/types/CamStreamerAPI.d.ts +420 -382
- package/types/types/CamStreamerAPI/CamStreamerAPI.d.ts +2803 -1948
- package/types/types/CamStreamerAPI/churchSchema.d.ts +56 -35
- package/types/types/CamStreamerAPI/daCastSchema.d.ts +56 -35
- package/types/types/CamStreamerAPI/dailymotionSchema.d.ts +56 -35
- package/types/types/CamStreamerAPI/facebookSchema.d.ts +56 -35
- package/types/types/CamStreamerAPI/gameChangerSchema.d.ts +56 -35
- package/types/types/CamStreamerAPI/hlsPullSchema.d.ts +56 -35
- package/types/types/CamStreamerAPI/hlsPushSchema.d.ts +56 -35
- package/types/types/CamStreamerAPI/ibmSchema.d.ts +56 -35
- package/types/types/CamStreamerAPI/microsoftAzureSchema.d.ts +56 -35
- package/types/types/CamStreamerAPI/microsoftStreamSchema.d.ts +56 -35
- package/types/types/CamStreamerAPI/mpegDvbSchema.d.ts +56 -35
- package/types/types/CamStreamerAPI/oldStreamSchema.d.ts +24 -24
- package/types/types/CamStreamerAPI/rtmpSchema.d.ts +59 -38
- package/types/types/CamStreamerAPI/sdCardSchema.d.ts +56 -35
- package/types/types/CamStreamerAPI/srtSchema.d.ts +56 -35
- package/types/types/CamStreamerAPI/streamCommonTypes.d.ts +100 -44
- package/types/types/CamStreamerAPI/twitchSchema.d.ts +56 -35
- package/types/types/CamStreamerAPI/vimeoSchema.d.ts +56 -35
- package/types/types/CamStreamerAPI/windySchema.d.ts +56 -35
- package/types/types/CamStreamerAPI/wowzaSchema.d.ts +56 -35
- package/types/types/CamStreamerAPI/youtubeSchema.d.ts +56 -35
|
@@ -97,23 +97,42 @@ export declare const mpegDvbSchema: z.ZodObject<{
|
|
|
97
97
|
isActive: boolean;
|
|
98
98
|
}[];
|
|
99
99
|
}>]>;
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
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
|
+
}>>;
|
|
109
116
|
}, "strip", z.ZodTypeAny, {
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
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;
|
|
113
126
|
}, {
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
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;
|
|
117
136
|
}>;
|
|
118
137
|
audio: z.ZodDiscriminatedUnion<"source", [z.ZodObject<{
|
|
119
138
|
source: z.ZodLiteral<"none">;
|
|
@@ -193,6 +212,17 @@ export declare const mpegDvbSchema: z.ZodObject<{
|
|
|
193
212
|
fileUrl: string;
|
|
194
213
|
avSyncMsec: number;
|
|
195
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
|
+
};
|
|
196
226
|
port: number;
|
|
197
227
|
enabled: boolean;
|
|
198
228
|
id: number;
|
|
@@ -219,16 +249,6 @@ export declare const mpegDvbSchema: z.ZodObject<{
|
|
|
219
249
|
isActive: boolean;
|
|
220
250
|
}[];
|
|
221
251
|
};
|
|
222
|
-
inputType: "RTSP_URL" | "CSw" | "CRS";
|
|
223
|
-
inputUrl: string;
|
|
224
|
-
internalVapixParameters: string;
|
|
225
|
-
userVapixParameters: string;
|
|
226
|
-
streamingProtocol: "RTMP" | "RTMPS" | "HLS_PUSH";
|
|
227
|
-
streamDelay: {
|
|
228
|
-
enabled: boolean;
|
|
229
|
-
timeS: number;
|
|
230
|
-
unit: "seconds" | "minutes" | "hours";
|
|
231
|
-
};
|
|
232
252
|
ipAddress: string;
|
|
233
253
|
standard: "DVB" | "ATSC";
|
|
234
254
|
nullPacketsPaddingEnabled: boolean;
|
|
@@ -261,6 +281,17 @@ export declare const mpegDvbSchema: z.ZodObject<{
|
|
|
261
281
|
fileUrl: string;
|
|
262
282
|
avSyncMsec: number;
|
|
263
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
|
+
};
|
|
264
295
|
port: number;
|
|
265
296
|
enabled: boolean;
|
|
266
297
|
id: number;
|
|
@@ -287,16 +318,6 @@ export declare const mpegDvbSchema: z.ZodObject<{
|
|
|
287
318
|
isActive: boolean;
|
|
288
319
|
}[];
|
|
289
320
|
};
|
|
290
|
-
inputType: "RTSP_URL" | "CSw" | "CRS";
|
|
291
|
-
inputUrl: string;
|
|
292
|
-
internalVapixParameters: string;
|
|
293
|
-
userVapixParameters: string;
|
|
294
|
-
streamingProtocol: "RTMP" | "RTMPS" | "HLS_PUSH";
|
|
295
|
-
streamDelay: {
|
|
296
|
-
enabled: boolean;
|
|
297
|
-
timeS: number;
|
|
298
|
-
unit: "seconds" | "minutes" | "hours";
|
|
299
|
-
};
|
|
300
321
|
ipAddress: string;
|
|
301
322
|
standard: "DVB" | "ATSC";
|
|
302
323
|
nullPacketsPaddingEnabled: boolean;
|
|
@@ -26,18 +26,18 @@ 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
|
-
inputUrl: string;
|
|
34
30
|
internalVapixParameters: string;
|
|
35
31
|
userVapixParameters: string;
|
|
36
32
|
streamDelay: string;
|
|
33
|
+
avSyncMsec: string;
|
|
34
|
+
active: string;
|
|
35
|
+
trigger: string;
|
|
37
36
|
audioSource: string;
|
|
38
37
|
outputParameters: string;
|
|
39
38
|
outputType: string;
|
|
40
39
|
mediaServerUrl: string;
|
|
40
|
+
inputUrl: string;
|
|
41
41
|
forceStereo: string;
|
|
42
42
|
statusLed: string;
|
|
43
43
|
statusPort: string;
|
|
@@ -48,18 +48,18 @@ 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
|
-
inputUrl: string;
|
|
56
52
|
internalVapixParameters: string;
|
|
57
53
|
userVapixParameters: string;
|
|
58
54
|
streamDelay: string;
|
|
55
|
+
avSyncMsec: string;
|
|
56
|
+
active: string;
|
|
57
|
+
trigger: string;
|
|
59
58
|
audioSource: string;
|
|
60
59
|
outputParameters: string;
|
|
61
60
|
outputType: string;
|
|
62
61
|
mediaServerUrl: string;
|
|
62
|
+
inputUrl: string;
|
|
63
63
|
forceStereo: string;
|
|
64
64
|
statusLed: string;
|
|
65
65
|
statusPort: string;
|
|
@@ -96,18 +96,18 @@ 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
|
-
inputUrl: string;
|
|
104
100
|
internalVapixParameters: string;
|
|
105
101
|
userVapixParameters: string;
|
|
106
102
|
streamDelay: string;
|
|
103
|
+
avSyncMsec: string;
|
|
104
|
+
active: string;
|
|
105
|
+
trigger: string;
|
|
107
106
|
audioSource: string;
|
|
108
107
|
outputParameters: string;
|
|
109
108
|
outputType: string;
|
|
110
109
|
mediaServerUrl: string;
|
|
110
|
+
inputUrl: string;
|
|
111
111
|
forceStereo: string;
|
|
112
112
|
statusLed: string;
|
|
113
113
|
statusPort: string;
|
|
@@ -119,18 +119,18 @@ 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
|
-
inputUrl: string;
|
|
127
123
|
internalVapixParameters: string;
|
|
128
124
|
userVapixParameters: string;
|
|
129
125
|
streamDelay: string;
|
|
126
|
+
avSyncMsec: string;
|
|
127
|
+
active: string;
|
|
128
|
+
trigger: string;
|
|
130
129
|
audioSource: string;
|
|
131
130
|
outputParameters: string;
|
|
132
131
|
outputType: string;
|
|
133
132
|
mediaServerUrl: string;
|
|
133
|
+
inputUrl: string;
|
|
134
134
|
forceStereo: string;
|
|
135
135
|
statusLed: string;
|
|
136
136
|
statusPort: string;
|
|
@@ -165,18 +165,18 @@ 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
|
-
inputUrl: string;
|
|
173
169
|
internalVapixParameters: string;
|
|
174
170
|
userVapixParameters: string;
|
|
175
171
|
streamDelay: number | null;
|
|
172
|
+
avSyncMsec: number;
|
|
173
|
+
active: 0 | 1;
|
|
174
|
+
trigger: string;
|
|
176
175
|
audioSource: string;
|
|
177
176
|
outputParameters: string;
|
|
178
177
|
outputType: "video" | "none" | "images";
|
|
179
178
|
mediaServerUrl: string;
|
|
179
|
+
inputUrl: string;
|
|
180
180
|
forceStereo: 0 | 1;
|
|
181
181
|
statusLed: number;
|
|
182
182
|
statusPort: string;
|
|
@@ -187,18 +187,18 @@ 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
|
-
inputUrl: string;
|
|
195
191
|
internalVapixParameters: string;
|
|
196
192
|
userVapixParameters: string;
|
|
197
193
|
streamDelay: number | null;
|
|
194
|
+
avSyncMsec: number;
|
|
195
|
+
active: 0 | 1;
|
|
196
|
+
trigger: string;
|
|
198
197
|
audioSource: string;
|
|
199
198
|
outputParameters: string;
|
|
200
199
|
outputType: "video" | "none" | "images";
|
|
201
200
|
mediaServerUrl: string;
|
|
201
|
+
inputUrl: string;
|
|
202
202
|
forceStereo: 0 | 1;
|
|
203
203
|
statusLed: number;
|
|
204
204
|
statusPort: string;
|
|
@@ -97,23 +97,42 @@ export declare const rtmpSchema: z.ZodObject<{
|
|
|
97
97
|
isActive: boolean;
|
|
98
98
|
}[];
|
|
99
99
|
}>]>;
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
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
|
+
}>>;
|
|
109
116
|
}, "strip", z.ZodTypeAny, {
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
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;
|
|
113
126
|
}, {
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
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;
|
|
117
136
|
}>;
|
|
118
137
|
audio: z.ZodDiscriminatedUnion<"source", [z.ZodObject<{
|
|
119
138
|
source: z.ZodLiteral<"none">;
|
|
@@ -160,7 +179,7 @@ export declare const rtmpSchema: z.ZodObject<{
|
|
|
160
179
|
}>]>;
|
|
161
180
|
} & {
|
|
162
181
|
type: z.ZodLiteral<"rtmp">;
|
|
163
|
-
|
|
182
|
+
outputUrl: z.ZodString;
|
|
164
183
|
streamKey: z.ZodString;
|
|
165
184
|
streamIdentifier: z.ZodOptional<z.ZodString>;
|
|
166
185
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -180,6 +199,17 @@ export declare const rtmpSchema: z.ZodObject<{
|
|
|
180
199
|
fileUrl: string;
|
|
181
200
|
avSyncMsec: number;
|
|
182
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
|
+
};
|
|
183
213
|
enabled: boolean;
|
|
184
214
|
id: number;
|
|
185
215
|
active: boolean;
|
|
@@ -205,17 +235,7 @@ export declare const rtmpSchema: z.ZodObject<{
|
|
|
205
235
|
isActive: boolean;
|
|
206
236
|
}[];
|
|
207
237
|
};
|
|
208
|
-
|
|
209
|
-
inputUrl: string;
|
|
210
|
-
internalVapixParameters: string;
|
|
211
|
-
userVapixParameters: string;
|
|
212
|
-
streamingProtocol: "RTMP" | "RTMPS" | "HLS_PUSH";
|
|
213
|
-
streamDelay: {
|
|
214
|
-
enabled: boolean;
|
|
215
|
-
timeS: number;
|
|
216
|
-
unit: "seconds" | "minutes" | "hours";
|
|
217
|
-
};
|
|
218
|
-
rtmpUrl: string;
|
|
238
|
+
outputUrl: string;
|
|
219
239
|
streamKey: string;
|
|
220
240
|
streamIdentifier?: string | undefined;
|
|
221
241
|
}, {
|
|
@@ -235,6 +255,17 @@ export declare const rtmpSchema: z.ZodObject<{
|
|
|
235
255
|
fileUrl: string;
|
|
236
256
|
avSyncMsec: number;
|
|
237
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
|
+
};
|
|
238
269
|
enabled: boolean;
|
|
239
270
|
id: number;
|
|
240
271
|
active: boolean;
|
|
@@ -260,17 +291,7 @@ export declare const rtmpSchema: z.ZodObject<{
|
|
|
260
291
|
isActive: boolean;
|
|
261
292
|
}[];
|
|
262
293
|
};
|
|
263
|
-
|
|
264
|
-
inputUrl: string;
|
|
265
|
-
internalVapixParameters: string;
|
|
266
|
-
userVapixParameters: string;
|
|
267
|
-
streamingProtocol: "RTMP" | "RTMPS" | "HLS_PUSH";
|
|
268
|
-
streamDelay: {
|
|
269
|
-
enabled: boolean;
|
|
270
|
-
timeS: number;
|
|
271
|
-
unit: "seconds" | "minutes" | "hours";
|
|
272
|
-
};
|
|
273
|
-
rtmpUrl: string;
|
|
294
|
+
outputUrl: string;
|
|
274
295
|
streamKey: string;
|
|
275
296
|
streamIdentifier?: string | undefined;
|
|
276
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,23 +97,42 @@ export declare const sdCardSchema: z.ZodObject<{
|
|
|
97
97
|
isActive: boolean;
|
|
98
98
|
}[];
|
|
99
99
|
}>]>;
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
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
|
+
}>>;
|
|
109
116
|
}, "strip", z.ZodTypeAny, {
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
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;
|
|
113
126
|
}, {
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
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;
|
|
117
136
|
}>;
|
|
118
137
|
audio: z.ZodDiscriminatedUnion<"source", [z.ZodObject<{
|
|
119
138
|
source: z.ZodLiteral<"none">;
|
|
@@ -177,6 +196,17 @@ export declare const sdCardSchema: z.ZodObject<{
|
|
|
177
196
|
fileUrl: string;
|
|
178
197
|
avSyncMsec: number;
|
|
179
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
|
+
};
|
|
180
210
|
enabled: boolean;
|
|
181
211
|
id: number;
|
|
182
212
|
active: boolean;
|
|
@@ -202,16 +232,6 @@ export declare const sdCardSchema: z.ZodObject<{
|
|
|
202
232
|
isActive: boolean;
|
|
203
233
|
}[];
|
|
204
234
|
};
|
|
205
|
-
inputType: "RTSP_URL" | "CSw" | "CRS";
|
|
206
|
-
inputUrl: string;
|
|
207
|
-
internalVapixParameters: string;
|
|
208
|
-
userVapixParameters: string;
|
|
209
|
-
streamingProtocol: "RTMP" | "RTMPS" | "HLS_PUSH";
|
|
210
|
-
streamDelay: {
|
|
211
|
-
enabled: boolean;
|
|
212
|
-
timeS: number;
|
|
213
|
-
unit: "seconds" | "minutes" | "hours";
|
|
214
|
-
};
|
|
215
235
|
}, {
|
|
216
236
|
type: "sd_card";
|
|
217
237
|
audio: {
|
|
@@ -229,6 +249,17 @@ export declare const sdCardSchema: z.ZodObject<{
|
|
|
229
249
|
fileUrl: string;
|
|
230
250
|
avSyncMsec: number;
|
|
231
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
|
+
};
|
|
232
263
|
enabled: boolean;
|
|
233
264
|
id: number;
|
|
234
265
|
active: boolean;
|
|
@@ -254,14 +285,4 @@ export declare const sdCardSchema: z.ZodObject<{
|
|
|
254
285
|
isActive: boolean;
|
|
255
286
|
}[];
|
|
256
287
|
};
|
|
257
|
-
inputType: "RTSP_URL" | "CSw" | "CRS";
|
|
258
|
-
inputUrl: string;
|
|
259
|
-
internalVapixParameters: string;
|
|
260
|
-
userVapixParameters: string;
|
|
261
|
-
streamingProtocol: "RTMP" | "RTMPS" | "HLS_PUSH";
|
|
262
|
-
streamDelay: {
|
|
263
|
-
enabled: boolean;
|
|
264
|
-
timeS: number;
|
|
265
|
-
unit: "seconds" | "minutes" | "hours";
|
|
266
|
-
};
|
|
267
288
|
}>;
|
|
@@ -97,23 +97,42 @@ export declare const srtSchema: z.ZodObject<{
|
|
|
97
97
|
isActive: boolean;
|
|
98
98
|
}[];
|
|
99
99
|
}>]>;
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
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
|
+
}>>;
|
|
109
116
|
}, "strip", z.ZodTypeAny, {
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
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;
|
|
113
126
|
}, {
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
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;
|
|
117
136
|
}>;
|
|
118
137
|
audio: z.ZodDiscriminatedUnion<"source", [z.ZodObject<{
|
|
119
138
|
source: z.ZodLiteral<"none">;
|
|
@@ -177,6 +196,17 @@ export declare const srtSchema: z.ZodObject<{
|
|
|
177
196
|
fileUrl: string;
|
|
178
197
|
avSyncMsec: number;
|
|
179
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
|
+
};
|
|
180
210
|
enabled: boolean;
|
|
181
211
|
id: number;
|
|
182
212
|
active: boolean;
|
|
@@ -202,16 +232,6 @@ export declare const srtSchema: z.ZodObject<{
|
|
|
202
232
|
isActive: boolean;
|
|
203
233
|
}[];
|
|
204
234
|
};
|
|
205
|
-
inputType: "RTSP_URL" | "CSw" | "CRS";
|
|
206
|
-
inputUrl: string;
|
|
207
|
-
internalVapixParameters: string;
|
|
208
|
-
userVapixParameters: string;
|
|
209
|
-
streamingProtocol: "RTMP" | "RTMPS" | "HLS_PUSH";
|
|
210
|
-
streamDelay: {
|
|
211
|
-
enabled: boolean;
|
|
212
|
-
timeS: number;
|
|
213
|
-
unit: "seconds" | "minutes" | "hours";
|
|
214
|
-
};
|
|
215
235
|
}, {
|
|
216
236
|
type: "srt";
|
|
217
237
|
audio: {
|
|
@@ -229,6 +249,17 @@ export declare const srtSchema: z.ZodObject<{
|
|
|
229
249
|
fileUrl: string;
|
|
230
250
|
avSyncMsec: number;
|
|
231
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
|
+
};
|
|
232
263
|
enabled: boolean;
|
|
233
264
|
id: number;
|
|
234
265
|
active: boolean;
|
|
@@ -254,14 +285,4 @@ export declare const srtSchema: z.ZodObject<{
|
|
|
254
285
|
isActive: boolean;
|
|
255
286
|
}[];
|
|
256
287
|
};
|
|
257
|
-
inputType: "RTSP_URL" | "CSw" | "CRS";
|
|
258
|
-
inputUrl: string;
|
|
259
|
-
internalVapixParameters: string;
|
|
260
|
-
userVapixParameters: string;
|
|
261
|
-
streamingProtocol: "RTMP" | "RTMPS" | "HLS_PUSH";
|
|
262
|
-
streamDelay: {
|
|
263
|
-
enabled: boolean;
|
|
264
|
-
timeS: number;
|
|
265
|
-
unit: "seconds" | "minutes" | "hours";
|
|
266
|
-
};
|
|
267
288
|
}>;
|