camstreamerlib 4.0.0-beta.104 → 4.0.0-beta.106
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 +442 -386
- package/cjs/types/CamStreamerAPI/CamStreamerAPI.d.ts +2911 -1971
- 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 +75 -35
- package/cjs/types/CamStreamerAPI/gameChangerSchema.js +2 -2
- 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/index.d.ts +1 -0
- package/cjs/types/CamStreamerAPI/index.js +1 -0
- 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 +59 -38
- package/cjs/types/CamStreamerAPI/mpegDvbSchema.js +1 -1
- package/cjs/types/CamStreamerAPI/oldStreamSchema.d.ts +24 -24
- package/cjs/types/CamStreamerAPI/rtmpSchema.d.ts +372 -39
- package/cjs/types/CamStreamerAPI/rtmpSchema.js +9 -4
- 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 +59 -38
- package/cjs/types/CamStreamerAPI/youtubeSchema.js +1 -1
- package/esm/types/CamStreamerAPI/gameChangerSchema.js +2 -2
- package/esm/types/CamStreamerAPI/index.js +1 -0
- package/esm/types/CamStreamerAPI/mpegDvbSchema.js +1 -1
- package/esm/types/CamStreamerAPI/rtmpSchema.js +8 -3
- package/esm/types/CamStreamerAPI/streamCommonTypes.js +10 -8
- package/esm/types/CamStreamerAPI/youtubeSchema.js +1 -1
- package/package.json +1 -1
- package/types/CamStreamerAPI.d.ts +442 -386
- package/types/types/CamStreamerAPI/CamStreamerAPI.d.ts +2911 -1971
- 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 +75 -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/index.d.ts +1 -0
- 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 +59 -38
- package/types/types/CamStreamerAPI/oldStreamSchema.d.ts +24 -24
- package/types/types/CamStreamerAPI/rtmpSchema.d.ts +372 -39
- 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 +59 -38
|
@@ -97,23 +97,42 @@ export declare const churchSchema: 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 churchSchema: 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 churchSchema: 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: "church";
|
|
217
237
|
audio: {
|
|
@@ -229,6 +249,17 @@ export declare const churchSchema: 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 churchSchema: 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 daCastSchema: 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 daCastSchema: 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 daCastSchema: 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: "da_cast";
|
|
217
237
|
audio: {
|
|
@@ -229,6 +249,17 @@ export declare const daCastSchema: 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 daCastSchema: 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 dailymotionSchema: 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 dailymotionSchema: 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 dailymotionSchema: 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: "dailymotion";
|
|
217
237
|
audio: {
|
|
@@ -229,6 +249,17 @@ export declare const dailymotionSchema: 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 dailymotionSchema: 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 facebookSchema: 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 facebookSchema: 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 facebookSchema: 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: "facebook";
|
|
217
237
|
audio: {
|
|
@@ -229,6 +249,17 @@ export declare const facebookSchema: 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 facebookSchema: 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 gameChangerSchema: 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">;
|
|
@@ -158,6 +177,13 @@ export declare const gameChangerSchema: z.ZodObject<{
|
|
|
158
177
|
fileUrl: string;
|
|
159
178
|
avSyncMsec: number;
|
|
160
179
|
}>]>;
|
|
180
|
+
} & {
|
|
181
|
+
outputUrl: z.ZodString;
|
|
182
|
+
streamKey: z.ZodString;
|
|
183
|
+
streamIdentifier: z.ZodOptional<z.ZodString>;
|
|
184
|
+
saveToSdCard: z.ZodBoolean;
|
|
185
|
+
statusCameraLed: z.ZodBoolean;
|
|
186
|
+
statusCameraOutput: z.ZodNullable<z.ZodString>;
|
|
161
187
|
} & {
|
|
162
188
|
type: z.ZodLiteral<"game_changer">;
|
|
163
189
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -177,6 +203,17 @@ export declare const gameChangerSchema: z.ZodObject<{
|
|
|
177
203
|
fileUrl: string;
|
|
178
204
|
avSyncMsec: number;
|
|
179
205
|
};
|
|
206
|
+
video: {
|
|
207
|
+
inputType: "RTSP_URL" | "CSw" | "CRS";
|
|
208
|
+
internalVapixParameters: string;
|
|
209
|
+
userVapixParameters: string;
|
|
210
|
+
streamingProtocol: "RTMP" | "RTMPS" | "HLS_PUSH";
|
|
211
|
+
sourceUrl?: string | undefined;
|
|
212
|
+
streamDelay?: {
|
|
213
|
+
value: number;
|
|
214
|
+
unit: "seconds" | "minutes" | "hours";
|
|
215
|
+
} | undefined;
|
|
216
|
+
};
|
|
180
217
|
enabled: boolean;
|
|
181
218
|
id: number;
|
|
182
219
|
active: boolean;
|
|
@@ -202,16 +239,12 @@ export declare const gameChangerSchema: z.ZodObject<{
|
|
|
202
239
|
isActive: boolean;
|
|
203
240
|
}[];
|
|
204
241
|
};
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
enabled: boolean;
|
|
212
|
-
timeS: number;
|
|
213
|
-
unit: "seconds" | "minutes" | "hours";
|
|
214
|
-
};
|
|
242
|
+
statusCameraLed: boolean;
|
|
243
|
+
statusCameraOutput: string | null;
|
|
244
|
+
saveToSdCard: boolean;
|
|
245
|
+
outputUrl: string;
|
|
246
|
+
streamKey: string;
|
|
247
|
+
streamIdentifier?: string | undefined;
|
|
215
248
|
}, {
|
|
216
249
|
type: "game_changer";
|
|
217
250
|
audio: {
|
|
@@ -229,6 +262,17 @@ export declare const gameChangerSchema: z.ZodObject<{
|
|
|
229
262
|
fileUrl: string;
|
|
230
263
|
avSyncMsec: number;
|
|
231
264
|
};
|
|
265
|
+
video: {
|
|
266
|
+
inputType: "RTSP_URL" | "CSw" | "CRS";
|
|
267
|
+
internalVapixParameters: string;
|
|
268
|
+
userVapixParameters: string;
|
|
269
|
+
streamingProtocol: "RTMP" | "RTMPS" | "HLS_PUSH";
|
|
270
|
+
sourceUrl?: string | undefined;
|
|
271
|
+
streamDelay?: {
|
|
272
|
+
value: number;
|
|
273
|
+
unit: "seconds" | "minutes" | "hours";
|
|
274
|
+
} | undefined;
|
|
275
|
+
};
|
|
232
276
|
enabled: boolean;
|
|
233
277
|
id: number;
|
|
234
278
|
active: boolean;
|
|
@@ -254,14 +298,10 @@ export declare const gameChangerSchema: z.ZodObject<{
|
|
|
254
298
|
isActive: boolean;
|
|
255
299
|
}[];
|
|
256
300
|
};
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
enabled: boolean;
|
|
264
|
-
timeS: number;
|
|
265
|
-
unit: "seconds" | "minutes" | "hours";
|
|
266
|
-
};
|
|
301
|
+
statusCameraLed: boolean;
|
|
302
|
+
statusCameraOutput: string | null;
|
|
303
|
+
saveToSdCard: boolean;
|
|
304
|
+
outputUrl: string;
|
|
305
|
+
streamKey: string;
|
|
306
|
+
streamIdentifier?: string | undefined;
|
|
267
307
|
}>;
|
|
@@ -5,7 +5,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
5
5
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
6
|
exports.gameChangerSchema = void 0;
|
|
7
7
|
const zod_1 = __importDefault(require("zod"));
|
|
8
|
-
const
|
|
9
|
-
exports.gameChangerSchema =
|
|
8
|
+
const rtmpSchema_1 = require("./rtmpSchema");
|
|
9
|
+
exports.gameChangerSchema = rtmpSchema_1.commonRtmpSchema.extend({
|
|
10
10
|
type: zod_1.default.literal('game_changer'),
|
|
11
11
|
});
|