camstreamerlib 4.0.0-beta.103 → 4.0.0-beta.104
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 +76 -38
- package/cjs/types/CamStreamerAPI/CamStreamerAPI.d.ts +342 -171
- package/cjs/types/CamStreamerAPI/churchSchema.d.ts +6 -3
- package/cjs/types/CamStreamerAPI/daCastSchema.d.ts +6 -3
- package/cjs/types/CamStreamerAPI/dailymotionSchema.d.ts +6 -3
- package/cjs/types/CamStreamerAPI/facebookSchema.d.ts +6 -3
- package/cjs/types/CamStreamerAPI/gameChangerSchema.d.ts +6 -3
- package/cjs/types/CamStreamerAPI/hlsPullSchema.d.ts +6 -3
- package/cjs/types/CamStreamerAPI/hlsPushSchema.d.ts +6 -3
- package/cjs/types/CamStreamerAPI/ibmSchema.d.ts +6 -3
- package/cjs/types/CamStreamerAPI/microsoftAzureSchema.d.ts +6 -3
- package/cjs/types/CamStreamerAPI/microsoftStreamSchema.d.ts +6 -3
- package/cjs/types/CamStreamerAPI/mpegDvbSchema.d.ts +6 -3
- package/cjs/types/CamStreamerAPI/oldStreamSchema.d.ts +6 -6
- package/cjs/types/CamStreamerAPI/rtmpSchema.d.ts +6 -3
- package/cjs/types/CamStreamerAPI/sdCardSchema.d.ts +6 -3
- package/cjs/types/CamStreamerAPI/srtSchema.d.ts +6 -3
- package/cjs/types/CamStreamerAPI/streamCommonTypes.d.ts +7 -4
- package/cjs/types/CamStreamerAPI/streamCommonTypes.js +2 -6
- package/cjs/types/CamStreamerAPI/twitchSchema.d.ts +6 -3
- package/cjs/types/CamStreamerAPI/vimeoSchema.d.ts +6 -3
- package/cjs/types/CamStreamerAPI/windySchema.d.ts +6 -3
- package/cjs/types/CamStreamerAPI/wowzaSchema.d.ts +6 -3
- package/cjs/types/CamStreamerAPI/youtubeSchema.d.ts +6 -3
- package/esm/types/CamStreamerAPI/streamCommonTypes.js +2 -6
- package/package.json +1 -1
- package/types/CamStreamerAPI.d.ts +76 -38
- package/types/types/CamStreamerAPI/CamStreamerAPI.d.ts +342 -171
- package/types/types/CamStreamerAPI/churchSchema.d.ts +6 -3
- package/types/types/CamStreamerAPI/daCastSchema.d.ts +6 -3
- package/types/types/CamStreamerAPI/dailymotionSchema.d.ts +6 -3
- package/types/types/CamStreamerAPI/facebookSchema.d.ts +6 -3
- package/types/types/CamStreamerAPI/gameChangerSchema.d.ts +6 -3
- package/types/types/CamStreamerAPI/hlsPullSchema.d.ts +6 -3
- package/types/types/CamStreamerAPI/hlsPushSchema.d.ts +6 -3
- package/types/types/CamStreamerAPI/ibmSchema.d.ts +6 -3
- package/types/types/CamStreamerAPI/microsoftAzureSchema.d.ts +6 -3
- package/types/types/CamStreamerAPI/microsoftStreamSchema.d.ts +6 -3
- package/types/types/CamStreamerAPI/mpegDvbSchema.d.ts +6 -3
- package/types/types/CamStreamerAPI/oldStreamSchema.d.ts +6 -6
- package/types/types/CamStreamerAPI/rtmpSchema.d.ts +6 -3
- package/types/types/CamStreamerAPI/sdCardSchema.d.ts +6 -3
- package/types/types/CamStreamerAPI/srtSchema.d.ts +6 -3
- package/types/types/CamStreamerAPI/streamCommonTypes.d.ts +7 -4
- package/types/types/CamStreamerAPI/twitchSchema.d.ts +6 -3
- package/types/types/CamStreamerAPI/vimeoSchema.d.ts +6 -3
- package/types/types/CamStreamerAPI/windySchema.d.ts +6 -3
- package/types/types/CamStreamerAPI/wowzaSchema.d.ts +6 -3
- package/types/types/CamStreamerAPI/youtubeSchema.d.ts +6 -3
|
@@ -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'),
|
|
@@ -112,6 +107,7 @@ exports.streamCommonSchema = zod_1.z.object({
|
|
|
112
107
|
title: zod_1.z.string(),
|
|
113
108
|
trigger: exports.streamTriggerSchema,
|
|
114
109
|
inputType: exports.streamInputTypeSchema,
|
|
110
|
+
inputUrl: zod_1.z.string(),
|
|
115
111
|
internalVapixParameters: zod_1.z.string(),
|
|
116
112
|
userVapixParameters: zod_1.z.string(),
|
|
117
113
|
streamingProtocol: exports.streamingProtocolTypeSchema,
|
|
@@ -98,9 +98,10 @@ export declare const twitchSchema: z.ZodObject<{
|
|
|
98
98
|
}[];
|
|
99
99
|
}>]>;
|
|
100
100
|
inputType: z.ZodUnion<[z.ZodLiteral<"CSw">, z.ZodLiteral<"CRS">, z.ZodLiteral<"RTSP_URL">]>;
|
|
101
|
+
inputUrl: z.ZodString;
|
|
101
102
|
internalVapixParameters: z.ZodString;
|
|
102
103
|
userVapixParameters: z.ZodString;
|
|
103
|
-
streamingProtocol: z.ZodUnion<[z.ZodLiteral<"
|
|
104
|
+
streamingProtocol: z.ZodUnion<[z.ZodLiteral<"RTMP">, z.ZodLiteral<"RTMPS">, z.ZodLiteral<"HLS_PUSH">]>;
|
|
104
105
|
streamDelay: z.ZodObject<{
|
|
105
106
|
enabled: z.ZodBoolean;
|
|
106
107
|
timeS: z.ZodNumber;
|
|
@@ -202,9 +203,10 @@ export declare const twitchSchema: z.ZodObject<{
|
|
|
202
203
|
}[];
|
|
203
204
|
};
|
|
204
205
|
inputType: "RTSP_URL" | "CSw" | "CRS";
|
|
206
|
+
inputUrl: string;
|
|
205
207
|
internalVapixParameters: string;
|
|
206
208
|
userVapixParameters: string;
|
|
207
|
-
streamingProtocol: "
|
|
209
|
+
streamingProtocol: "RTMP" | "RTMPS" | "HLS_PUSH";
|
|
208
210
|
streamDelay: {
|
|
209
211
|
enabled: boolean;
|
|
210
212
|
timeS: number;
|
|
@@ -253,9 +255,10 @@ export declare const twitchSchema: z.ZodObject<{
|
|
|
253
255
|
}[];
|
|
254
256
|
};
|
|
255
257
|
inputType: "RTSP_URL" | "CSw" | "CRS";
|
|
258
|
+
inputUrl: string;
|
|
256
259
|
internalVapixParameters: string;
|
|
257
260
|
userVapixParameters: string;
|
|
258
|
-
streamingProtocol: "
|
|
261
|
+
streamingProtocol: "RTMP" | "RTMPS" | "HLS_PUSH";
|
|
259
262
|
streamDelay: {
|
|
260
263
|
enabled: boolean;
|
|
261
264
|
timeS: number;
|
|
@@ -98,9 +98,10 @@ export declare const vimeoSchema: z.ZodObject<{
|
|
|
98
98
|
}[];
|
|
99
99
|
}>]>;
|
|
100
100
|
inputType: z.ZodUnion<[z.ZodLiteral<"CSw">, z.ZodLiteral<"CRS">, z.ZodLiteral<"RTSP_URL">]>;
|
|
101
|
+
inputUrl: z.ZodString;
|
|
101
102
|
internalVapixParameters: z.ZodString;
|
|
102
103
|
userVapixParameters: z.ZodString;
|
|
103
|
-
streamingProtocol: z.ZodUnion<[z.ZodLiteral<"
|
|
104
|
+
streamingProtocol: z.ZodUnion<[z.ZodLiteral<"RTMP">, z.ZodLiteral<"RTMPS">, z.ZodLiteral<"HLS_PUSH">]>;
|
|
104
105
|
streamDelay: z.ZodObject<{
|
|
105
106
|
enabled: z.ZodBoolean;
|
|
106
107
|
timeS: z.ZodNumber;
|
|
@@ -202,9 +203,10 @@ export declare const vimeoSchema: z.ZodObject<{
|
|
|
202
203
|
}[];
|
|
203
204
|
};
|
|
204
205
|
inputType: "RTSP_URL" | "CSw" | "CRS";
|
|
206
|
+
inputUrl: string;
|
|
205
207
|
internalVapixParameters: string;
|
|
206
208
|
userVapixParameters: string;
|
|
207
|
-
streamingProtocol: "
|
|
209
|
+
streamingProtocol: "RTMP" | "RTMPS" | "HLS_PUSH";
|
|
208
210
|
streamDelay: {
|
|
209
211
|
enabled: boolean;
|
|
210
212
|
timeS: number;
|
|
@@ -253,9 +255,10 @@ export declare const vimeoSchema: z.ZodObject<{
|
|
|
253
255
|
}[];
|
|
254
256
|
};
|
|
255
257
|
inputType: "RTSP_URL" | "CSw" | "CRS";
|
|
258
|
+
inputUrl: string;
|
|
256
259
|
internalVapixParameters: string;
|
|
257
260
|
userVapixParameters: string;
|
|
258
|
-
streamingProtocol: "
|
|
261
|
+
streamingProtocol: "RTMP" | "RTMPS" | "HLS_PUSH";
|
|
259
262
|
streamDelay: {
|
|
260
263
|
enabled: boolean;
|
|
261
264
|
timeS: number;
|
|
@@ -98,9 +98,10 @@ export declare const windySchema: z.ZodObject<{
|
|
|
98
98
|
}[];
|
|
99
99
|
}>]>;
|
|
100
100
|
inputType: z.ZodUnion<[z.ZodLiteral<"CSw">, z.ZodLiteral<"CRS">, z.ZodLiteral<"RTSP_URL">]>;
|
|
101
|
+
inputUrl: z.ZodString;
|
|
101
102
|
internalVapixParameters: z.ZodString;
|
|
102
103
|
userVapixParameters: z.ZodString;
|
|
103
|
-
streamingProtocol: z.ZodUnion<[z.ZodLiteral<"
|
|
104
|
+
streamingProtocol: z.ZodUnion<[z.ZodLiteral<"RTMP">, z.ZodLiteral<"RTMPS">, z.ZodLiteral<"HLS_PUSH">]>;
|
|
104
105
|
streamDelay: z.ZodObject<{
|
|
105
106
|
enabled: z.ZodBoolean;
|
|
106
107
|
timeS: z.ZodNumber;
|
|
@@ -202,9 +203,10 @@ export declare const windySchema: z.ZodObject<{
|
|
|
202
203
|
}[];
|
|
203
204
|
};
|
|
204
205
|
inputType: "RTSP_URL" | "CSw" | "CRS";
|
|
206
|
+
inputUrl: string;
|
|
205
207
|
internalVapixParameters: string;
|
|
206
208
|
userVapixParameters: string;
|
|
207
|
-
streamingProtocol: "
|
|
209
|
+
streamingProtocol: "RTMP" | "RTMPS" | "HLS_PUSH";
|
|
208
210
|
streamDelay: {
|
|
209
211
|
enabled: boolean;
|
|
210
212
|
timeS: number;
|
|
@@ -253,9 +255,10 @@ export declare const windySchema: z.ZodObject<{
|
|
|
253
255
|
}[];
|
|
254
256
|
};
|
|
255
257
|
inputType: "RTSP_URL" | "CSw" | "CRS";
|
|
258
|
+
inputUrl: string;
|
|
256
259
|
internalVapixParameters: string;
|
|
257
260
|
userVapixParameters: string;
|
|
258
|
-
streamingProtocol: "
|
|
261
|
+
streamingProtocol: "RTMP" | "RTMPS" | "HLS_PUSH";
|
|
259
262
|
streamDelay: {
|
|
260
263
|
enabled: boolean;
|
|
261
264
|
timeS: number;
|
|
@@ -98,9 +98,10 @@ export declare const wowzaSchema: z.ZodObject<{
|
|
|
98
98
|
}[];
|
|
99
99
|
}>]>;
|
|
100
100
|
inputType: z.ZodUnion<[z.ZodLiteral<"CSw">, z.ZodLiteral<"CRS">, z.ZodLiteral<"RTSP_URL">]>;
|
|
101
|
+
inputUrl: z.ZodString;
|
|
101
102
|
internalVapixParameters: z.ZodString;
|
|
102
103
|
userVapixParameters: z.ZodString;
|
|
103
|
-
streamingProtocol: z.ZodUnion<[z.ZodLiteral<"
|
|
104
|
+
streamingProtocol: z.ZodUnion<[z.ZodLiteral<"RTMP">, z.ZodLiteral<"RTMPS">, z.ZodLiteral<"HLS_PUSH">]>;
|
|
104
105
|
streamDelay: z.ZodObject<{
|
|
105
106
|
enabled: z.ZodBoolean;
|
|
106
107
|
timeS: z.ZodNumber;
|
|
@@ -202,9 +203,10 @@ export declare const wowzaSchema: z.ZodObject<{
|
|
|
202
203
|
}[];
|
|
203
204
|
};
|
|
204
205
|
inputType: "RTSP_URL" | "CSw" | "CRS";
|
|
206
|
+
inputUrl: string;
|
|
205
207
|
internalVapixParameters: string;
|
|
206
208
|
userVapixParameters: string;
|
|
207
|
-
streamingProtocol: "
|
|
209
|
+
streamingProtocol: "RTMP" | "RTMPS" | "HLS_PUSH";
|
|
208
210
|
streamDelay: {
|
|
209
211
|
enabled: boolean;
|
|
210
212
|
timeS: number;
|
|
@@ -253,9 +255,10 @@ export declare const wowzaSchema: z.ZodObject<{
|
|
|
253
255
|
}[];
|
|
254
256
|
};
|
|
255
257
|
inputType: "RTSP_URL" | "CSw" | "CRS";
|
|
258
|
+
inputUrl: string;
|
|
256
259
|
internalVapixParameters: string;
|
|
257
260
|
userVapixParameters: string;
|
|
258
|
-
streamingProtocol: "
|
|
261
|
+
streamingProtocol: "RTMP" | "RTMPS" | "HLS_PUSH";
|
|
259
262
|
streamDelay: {
|
|
260
263
|
enabled: boolean;
|
|
261
264
|
timeS: number;
|
|
@@ -98,9 +98,10 @@ export declare const youtubeSchema: z.ZodObject<{
|
|
|
98
98
|
}[];
|
|
99
99
|
}>]>;
|
|
100
100
|
inputType: z.ZodUnion<[z.ZodLiteral<"CSw">, z.ZodLiteral<"CRS">, z.ZodLiteral<"RTSP_URL">]>;
|
|
101
|
+
inputUrl: z.ZodString;
|
|
101
102
|
internalVapixParameters: z.ZodString;
|
|
102
103
|
userVapixParameters: z.ZodString;
|
|
103
|
-
streamingProtocol: z.ZodUnion<[z.ZodLiteral<"
|
|
104
|
+
streamingProtocol: z.ZodUnion<[z.ZodLiteral<"RTMP">, z.ZodLiteral<"RTMPS">, z.ZodLiteral<"HLS_PUSH">]>;
|
|
104
105
|
streamDelay: z.ZodObject<{
|
|
105
106
|
enabled: z.ZodBoolean;
|
|
106
107
|
timeS: z.ZodNumber;
|
|
@@ -216,9 +217,10 @@ export declare const youtubeSchema: z.ZodObject<{
|
|
|
216
217
|
}[];
|
|
217
218
|
};
|
|
218
219
|
inputType: "RTSP_URL" | "CSw" | "CRS";
|
|
220
|
+
inputUrl: string;
|
|
219
221
|
internalVapixParameters: string;
|
|
220
222
|
userVapixParameters: string;
|
|
221
|
-
streamingProtocol: "
|
|
223
|
+
streamingProtocol: "RTMP" | "RTMPS" | "HLS_PUSH";
|
|
222
224
|
streamDelay: {
|
|
223
225
|
enabled: boolean;
|
|
224
226
|
timeS: number;
|
|
@@ -281,9 +283,10 @@ export declare const youtubeSchema: z.ZodObject<{
|
|
|
281
283
|
}[];
|
|
282
284
|
};
|
|
283
285
|
inputType: "RTSP_URL" | "CSw" | "CRS";
|
|
286
|
+
inputUrl: string;
|
|
284
287
|
internalVapixParameters: string;
|
|
285
288
|
userVapixParameters: string;
|
|
286
|
-
streamingProtocol: "
|
|
289
|
+
streamingProtocol: "RTMP" | "RTMPS" | "HLS_PUSH";
|
|
287
290
|
streamDelay: {
|
|
288
291
|
enabled: boolean;
|
|
289
292
|
timeS: number;
|
|
@@ -44,12 +44,7 @@ export const streamTriggerSchema = z.discriminatedUnion('type', [
|
|
|
44
44
|
}),
|
|
45
45
|
]);
|
|
46
46
|
export const streamInputTypeSchema = z.union([z.literal('CSw'), z.literal('CRS'), z.literal('RTSP_URL')]);
|
|
47
|
-
export const streamingProtocolTypeSchema = z.union([
|
|
48
|
-
z.literal('RTSP'),
|
|
49
|
-
z.literal('RTMP'),
|
|
50
|
-
z.literal('RTMPS'),
|
|
51
|
-
z.literal('HLS'),
|
|
52
|
-
]);
|
|
47
|
+
export const streamingProtocolTypeSchema = z.union([z.literal('RTMP'), z.literal('RTMPS'), z.literal('HLS_PUSH')]);
|
|
53
48
|
export const videoCodecSchema = z.union([z.literal('h264'), z.literal('h265'), z.literal('av1')]);
|
|
54
49
|
export const overlaysSchema = z.union([
|
|
55
50
|
z.literal('all'),
|
|
@@ -109,6 +104,7 @@ export const streamCommonSchema = z.object({
|
|
|
109
104
|
title: z.string(),
|
|
110
105
|
trigger: streamTriggerSchema,
|
|
111
106
|
inputType: streamInputTypeSchema,
|
|
107
|
+
inputUrl: z.string(),
|
|
112
108
|
internalVapixParameters: z.string(),
|
|
113
109
|
userVapixParameters: z.string(),
|
|
114
110
|
streamingProtocol: streamingProtocolTypeSchema,
|