camstreamerlib 4.0.0-beta.115 → 4.0.0-beta.117
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 +1235 -485
- package/cjs/CamStreamerAPI.js +4 -4
- package/cjs/VapixAPI.d.ts +1 -1
- package/cjs/errors/errors.d.ts +2 -2
- package/cjs/types/CamStreamerAPI/CamStreamerAPI.d.ts +8759 -2681
- package/cjs/types/CamStreamerAPI/CamStreamerAPI.js +39 -55
- package/cjs/types/CamStreamerAPI/facebookSchema.d.ts +197 -55
- package/cjs/types/CamStreamerAPI/facebookSchema.js +6 -10
- package/cjs/types/CamStreamerAPI/index.d.ts +1 -5
- package/cjs/types/CamStreamerAPI/index.js +1 -5
- package/cjs/types/CamStreamerAPI/oldStreamSchema.d.ts +39 -39
- package/cjs/types/CamStreamerAPI/oldStreamSchema.js +1 -1
- package/cjs/types/CamStreamerAPI/streamCommonTypes.d.ts +238 -341
- package/cjs/types/CamStreamerAPI/streamCommonTypes.js +92 -75
- package/cjs/types/CamStreamerAPI/streamsSchema.d.ts +7585 -0
- package/cjs/types/CamStreamerAPI/streamsSchema.js +63 -0
- package/cjs/types/CamStreamerAPI/windySchema.d.ts +173 -45
- package/cjs/types/CamStreamerAPI/windySchema.js +1 -1
- package/cjs/types/CamStreamerAPI/youtubeSchema.d.ts +173 -54
- package/cjs/types/CamStreamerAPI/youtubeSchema.js +1 -4
- package/cjs/types/VapixAPI.d.ts +10 -10
- package/cjs/types/ws/CamStreamerEvents.d.ts +33 -33
- package/cjs/types/ws/CamStreamerEvents.js +3 -3
- package/esm/CamStreamerAPI.js +4 -4
- package/esm/types/CamStreamerAPI/CamStreamerAPI.js +22 -38
- package/esm/types/CamStreamerAPI/facebookSchema.js +5 -9
- package/esm/types/CamStreamerAPI/index.js +1 -5
- package/esm/types/CamStreamerAPI/oldStreamSchema.js +1 -1
- package/esm/types/CamStreamerAPI/streamCommonTypes.js +91 -74
- package/esm/types/CamStreamerAPI/streamsSchema.js +57 -0
- package/esm/types/CamStreamerAPI/windySchema.js +1 -1
- package/esm/types/CamStreamerAPI/youtubeSchema.js +1 -4
- package/esm/types/ws/CamStreamerEvents.js +3 -3
- package/package.json +1 -1
- package/types/CamStreamerAPI.d.ts +1235 -485
- package/types/VapixAPI.d.ts +1 -1
- package/types/errors/errors.d.ts +2 -2
- package/types/types/CamStreamerAPI/CamStreamerAPI.d.ts +8759 -2681
- package/types/types/CamStreamerAPI/facebookSchema.d.ts +197 -55
- package/types/types/CamStreamerAPI/index.d.ts +1 -5
- package/types/types/CamStreamerAPI/oldStreamSchema.d.ts +39 -39
- package/types/types/CamStreamerAPI/streamCommonTypes.d.ts +238 -341
- package/types/types/CamStreamerAPI/streamsSchema.d.ts +7585 -0
- package/types/types/CamStreamerAPI/windySchema.d.ts +173 -45
- package/types/types/CamStreamerAPI/youtubeSchema.d.ts +173 -54
- package/types/types/VapixAPI.d.ts +10 -10
- package/types/types/ws/CamStreamerEvents.d.ts +33 -33
- package/cjs/types/CamStreamerAPI/churchSchema.d.ts +0 -293
- package/cjs/types/CamStreamerAPI/churchSchema.js +0 -11
- package/cjs/types/CamStreamerAPI/daCastSchema.d.ts +0 -293
- package/cjs/types/CamStreamerAPI/daCastSchema.js +0 -11
- package/cjs/types/CamStreamerAPI/dailymotionSchema.d.ts +0 -293
- package/cjs/types/CamStreamerAPI/dailymotionSchema.js +0 -11
- package/cjs/types/CamStreamerAPI/gameChangerSchema.d.ts +0 -312
- package/cjs/types/CamStreamerAPI/gameChangerSchema.js +0 -11
- package/cjs/types/CamStreamerAPI/hlsPullSchema.d.ts +0 -293
- package/cjs/types/CamStreamerAPI/hlsPullSchema.js +0 -11
- package/cjs/types/CamStreamerAPI/hlsPushSchema.d.ts +0 -293
- package/cjs/types/CamStreamerAPI/hlsPushSchema.js +0 -11
- package/cjs/types/CamStreamerAPI/ibmSchema.d.ts +0 -293
- package/cjs/types/CamStreamerAPI/ibmSchema.js +0 -11
- package/cjs/types/CamStreamerAPI/microsoftAzureSchema.d.ts +0 -293
- package/cjs/types/CamStreamerAPI/microsoftAzureSchema.js +0 -11
- package/cjs/types/CamStreamerAPI/microsoftStreamSchema.d.ts +0 -293
- package/cjs/types/CamStreamerAPI/microsoftStreamSchema.js +0 -11
- package/cjs/types/CamStreamerAPI/mpegDvbSchema.d.ts +0 -314
- package/cjs/types/CamStreamerAPI/mpegDvbSchema.js +0 -18
- package/cjs/types/CamStreamerAPI/rtmpSchema.d.ts +0 -619
- package/cjs/types/CamStreamerAPI/rtmpSchema.js +0 -19
- package/cjs/types/CamStreamerAPI/sdCardSchema.d.ts +0 -293
- package/cjs/types/CamStreamerAPI/sdCardSchema.js +0 -11
- package/cjs/types/CamStreamerAPI/srtSchema.d.ts +0 -293
- package/cjs/types/CamStreamerAPI/srtSchema.js +0 -11
- package/cjs/types/CamStreamerAPI/twitchSchema.d.ts +0 -293
- package/cjs/types/CamStreamerAPI/twitchSchema.js +0 -11
- package/cjs/types/CamStreamerAPI/vimeoSchema.d.ts +0 -293
- package/cjs/types/CamStreamerAPI/vimeoSchema.js +0 -11
- package/cjs/types/CamStreamerAPI/wowzaSchema.d.ts +0 -293
- package/cjs/types/CamStreamerAPI/wowzaSchema.js +0 -11
- package/cjs/types/CamStreamerAPI/youtubeRtmpSchema.d.ts +0 -312
- package/cjs/types/CamStreamerAPI/youtubeRtmpSchema.js +0 -11
- package/esm/types/CamStreamerAPI/churchSchema.js +0 -5
- package/esm/types/CamStreamerAPI/daCastSchema.js +0 -5
- package/esm/types/CamStreamerAPI/dailymotionSchema.js +0 -5
- package/esm/types/CamStreamerAPI/gameChangerSchema.js +0 -5
- package/esm/types/CamStreamerAPI/hlsPullSchema.js +0 -5
- package/esm/types/CamStreamerAPI/hlsPushSchema.js +0 -5
- package/esm/types/CamStreamerAPI/ibmSchema.js +0 -5
- package/esm/types/CamStreamerAPI/microsoftAzureSchema.js +0 -5
- package/esm/types/CamStreamerAPI/microsoftStreamSchema.js +0 -5
- package/esm/types/CamStreamerAPI/mpegDvbSchema.js +0 -12
- package/esm/types/CamStreamerAPI/rtmpSchema.js +0 -13
- package/esm/types/CamStreamerAPI/sdCardSchema.js +0 -5
- package/esm/types/CamStreamerAPI/srtSchema.js +0 -5
- package/esm/types/CamStreamerAPI/twitchSchema.js +0 -5
- package/esm/types/CamStreamerAPI/vimeoSchema.js +0 -5
- package/esm/types/CamStreamerAPI/wowzaSchema.js +0 -5
- package/esm/types/CamStreamerAPI/youtubeRtmpSchema.js +0 -5
- package/types/types/CamStreamerAPI/churchSchema.d.ts +0 -293
- package/types/types/CamStreamerAPI/daCastSchema.d.ts +0 -293
- package/types/types/CamStreamerAPI/dailymotionSchema.d.ts +0 -293
- package/types/types/CamStreamerAPI/gameChangerSchema.d.ts +0 -312
- package/types/types/CamStreamerAPI/hlsPullSchema.d.ts +0 -293
- package/types/types/CamStreamerAPI/hlsPushSchema.d.ts +0 -293
- package/types/types/CamStreamerAPI/ibmSchema.d.ts +0 -293
- package/types/types/CamStreamerAPI/microsoftAzureSchema.d.ts +0 -293
- package/types/types/CamStreamerAPI/microsoftStreamSchema.d.ts +0 -293
- package/types/types/CamStreamerAPI/mpegDvbSchema.d.ts +0 -314
- package/types/types/CamStreamerAPI/rtmpSchema.d.ts +0 -619
- package/types/types/CamStreamerAPI/sdCardSchema.d.ts +0 -293
- package/types/types/CamStreamerAPI/srtSchema.d.ts +0 -293
- package/types/types/CamStreamerAPI/twitchSchema.d.ts +0 -293
- package/types/types/CamStreamerAPI/vimeoSchema.d.ts +0 -293
- package/types/types/CamStreamerAPI/wowzaSchema.d.ts +0 -293
- package/types/types/CamStreamerAPI/youtubeRtmpSchema.d.ts +0 -312
|
@@ -1,31 +1,28 @@
|
|
|
1
1
|
import z from 'zod';
|
|
2
2
|
export declare const youtubeSchema: z.ZodObject<{
|
|
3
|
-
|
|
3
|
+
streamId: z.ZodString;
|
|
4
4
|
enabled: z.ZodBoolean;
|
|
5
5
|
active: z.ZodBoolean;
|
|
6
6
|
title: z.ZodString;
|
|
7
7
|
trigger: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
8
8
|
type: z.ZodLiteral<"manual">;
|
|
9
|
-
ioPort: z.ZodNullable<z.
|
|
9
|
+
ioPort: z.ZodNullable<z.ZodNumber>;
|
|
10
10
|
}, "strip", z.ZodTypeAny, {
|
|
11
11
|
type: "manual";
|
|
12
|
-
ioPort:
|
|
12
|
+
ioPort: number | null;
|
|
13
13
|
}, {
|
|
14
14
|
type: "manual";
|
|
15
|
-
ioPort:
|
|
15
|
+
ioPort: number | null;
|
|
16
16
|
}>, z.ZodObject<{
|
|
17
17
|
type: z.ZodLiteral<"onetime">;
|
|
18
18
|
startTime: z.ZodNumber;
|
|
19
19
|
stopTime: z.ZodNumber;
|
|
20
|
-
ioPort: z.ZodNullable<z.ZodString>;
|
|
21
20
|
}, "strip", z.ZodTypeAny, {
|
|
22
21
|
type: "onetime";
|
|
23
|
-
ioPort: string | null;
|
|
24
22
|
startTime: number;
|
|
25
23
|
stopTime: number;
|
|
26
24
|
}, {
|
|
27
25
|
type: "onetime";
|
|
28
|
-
ioPort: string | null;
|
|
29
26
|
startTime: number;
|
|
30
27
|
stopTime: number;
|
|
31
28
|
}>, z.ZodObject<{
|
|
@@ -101,11 +98,57 @@ export declare const youtubeSchema: z.ZodObject<{
|
|
|
101
98
|
}[];
|
|
102
99
|
}>]>;
|
|
103
100
|
video: z.ZodObject<{
|
|
104
|
-
|
|
105
|
-
|
|
101
|
+
output: z.ZodDiscriminatedUnion<"callApi", [z.ZodObject<{
|
|
102
|
+
type: z.ZodUnion<[z.ZodLiteral<"video">, z.ZodLiteral<"images">]>;
|
|
103
|
+
callApi: z.ZodLiteral<false>;
|
|
104
|
+
url: z.ZodString;
|
|
105
|
+
}, "strip", z.ZodTypeAny, {
|
|
106
|
+
type: "video" | "images";
|
|
107
|
+
url: string;
|
|
108
|
+
callApi: false;
|
|
109
|
+
}, {
|
|
110
|
+
type: "video" | "images";
|
|
111
|
+
url: string;
|
|
112
|
+
callApi: false;
|
|
113
|
+
}>, z.ZodObject<{
|
|
114
|
+
type: z.ZodLiteral<"video">;
|
|
115
|
+
callApi: z.ZodLiteral<true>;
|
|
116
|
+
prepareAheadS: z.ZodNumber;
|
|
117
|
+
}, "strip", z.ZodTypeAny, {
|
|
118
|
+
type: "video";
|
|
119
|
+
callApi: true;
|
|
120
|
+
prepareAheadS: number;
|
|
121
|
+
}, {
|
|
122
|
+
type: "video";
|
|
123
|
+
callApi: true;
|
|
124
|
+
prepareAheadS: number;
|
|
125
|
+
}>]>;
|
|
126
|
+
outputParameters: z.ZodString;
|
|
127
|
+
input: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
128
|
+
type: z.ZodLiteral<"RTSP_URL">;
|
|
129
|
+
url: z.ZodString;
|
|
130
|
+
}, "strip", z.ZodTypeAny, {
|
|
131
|
+
type: "RTSP_URL";
|
|
132
|
+
url: string;
|
|
133
|
+
}, {
|
|
134
|
+
type: "RTSP_URL";
|
|
135
|
+
url: string;
|
|
136
|
+
}>, z.ZodObject<{
|
|
137
|
+
type: z.ZodLiteral<"CSw">;
|
|
138
|
+
}, "strip", z.ZodTypeAny, {
|
|
139
|
+
type: "CSw";
|
|
140
|
+
}, {
|
|
141
|
+
type: "CSw";
|
|
142
|
+
}>, z.ZodObject<{
|
|
143
|
+
type: z.ZodLiteral<"CRS">;
|
|
144
|
+
}, "strip", z.ZodTypeAny, {
|
|
145
|
+
type: "CRS";
|
|
146
|
+
}, {
|
|
147
|
+
type: "CRS";
|
|
148
|
+
}>]>;
|
|
149
|
+
streamingProtocol: z.ZodUnion<[z.ZodLiteral<"RTMP">, z.ZodLiteral<"RTMPS">, z.ZodLiteral<"HLS_PUSH">]>;
|
|
106
150
|
internalVapixParameters: z.ZodString;
|
|
107
151
|
userVapixParameters: z.ZodString;
|
|
108
|
-
streamingProtocol: z.ZodUnion<[z.ZodLiteral<"RTMP">, z.ZodLiteral<"RTMPS">, z.ZodLiteral<"HLS_PUSH">]>;
|
|
109
152
|
streamDelay: z.ZodOptional<z.ZodObject<{
|
|
110
153
|
value: z.ZodNumber;
|
|
111
154
|
unit: z.ZodUnion<[z.ZodLiteral<"seconds">, z.ZodLiteral<"minutes">, z.ZodLiteral<"hours">]>;
|
|
@@ -117,51 +160,83 @@ export declare const youtubeSchema: z.ZodObject<{
|
|
|
117
160
|
unit: "seconds" | "minutes" | "hours";
|
|
118
161
|
}>>;
|
|
119
162
|
}, "strip", z.ZodTypeAny, {
|
|
120
|
-
|
|
163
|
+
output: {
|
|
164
|
+
type: "video" | "images";
|
|
165
|
+
url: string;
|
|
166
|
+
callApi: false;
|
|
167
|
+
} | {
|
|
168
|
+
type: "video";
|
|
169
|
+
callApi: true;
|
|
170
|
+
prepareAheadS: number;
|
|
171
|
+
};
|
|
172
|
+
outputParameters: string;
|
|
173
|
+
input: {
|
|
174
|
+
type: "RTSP_URL";
|
|
175
|
+
url: string;
|
|
176
|
+
} | {
|
|
177
|
+
type: "CSw";
|
|
178
|
+
} | {
|
|
179
|
+
type: "CRS";
|
|
180
|
+
};
|
|
181
|
+
streamingProtocol: "RTMP" | "RTMPS" | "HLS_PUSH";
|
|
121
182
|
internalVapixParameters: string;
|
|
122
183
|
userVapixParameters: string;
|
|
123
|
-
streamingProtocol: "RTMP" | "RTMPS" | "HLS_PUSH";
|
|
124
|
-
sourceUrl?: string | undefined;
|
|
125
184
|
streamDelay?: {
|
|
126
185
|
value: number;
|
|
127
186
|
unit: "seconds" | "minutes" | "hours";
|
|
128
187
|
} | undefined;
|
|
129
188
|
}, {
|
|
130
|
-
|
|
189
|
+
output: {
|
|
190
|
+
type: "video" | "images";
|
|
191
|
+
url: string;
|
|
192
|
+
callApi: false;
|
|
193
|
+
} | {
|
|
194
|
+
type: "video";
|
|
195
|
+
callApi: true;
|
|
196
|
+
prepareAheadS: number;
|
|
197
|
+
};
|
|
198
|
+
outputParameters: string;
|
|
199
|
+
input: {
|
|
200
|
+
type: "RTSP_URL";
|
|
201
|
+
url: string;
|
|
202
|
+
} | {
|
|
203
|
+
type: "CSw";
|
|
204
|
+
} | {
|
|
205
|
+
type: "CRS";
|
|
206
|
+
};
|
|
207
|
+
streamingProtocol: "RTMP" | "RTMPS" | "HLS_PUSH";
|
|
131
208
|
internalVapixParameters: string;
|
|
132
209
|
userVapixParameters: string;
|
|
133
|
-
streamingProtocol: "RTMP" | "RTMPS" | "HLS_PUSH";
|
|
134
|
-
sourceUrl?: string | undefined;
|
|
135
210
|
streamDelay?: {
|
|
136
211
|
value: number;
|
|
137
212
|
unit: "seconds" | "minutes" | "hours";
|
|
138
213
|
} | undefined;
|
|
139
214
|
}>;
|
|
140
|
-
audio: z.ZodDiscriminatedUnion<"source", [z.ZodObject<{
|
|
141
|
-
source: z.ZodLiteral<"none">;
|
|
142
|
-
}, "strip", z.ZodTypeAny, {
|
|
143
|
-
source: "none";
|
|
144
|
-
}, {
|
|
145
|
-
source: "none";
|
|
146
|
-
}>, z.ZodObject<{
|
|
215
|
+
audio: z.ZodNullable<z.ZodDiscriminatedUnion<"source", [z.ZodObject<{
|
|
147
216
|
source: z.ZodLiteral<"microphone">;
|
|
148
217
|
audioChannelNbr: z.ZodUnion<[z.ZodLiteral<1>, z.ZodLiteral<2>]>;
|
|
218
|
+
forceStereo: z.ZodUnion<[z.ZodLiteral<0>, z.ZodLiteral<1>]>;
|
|
149
219
|
}, "strip", z.ZodTypeAny, {
|
|
150
220
|
source: "microphone";
|
|
151
221
|
audioChannelNbr: 1 | 2;
|
|
222
|
+
forceStereo: 0 | 1;
|
|
152
223
|
}, {
|
|
153
224
|
source: "microphone";
|
|
154
225
|
audioChannelNbr: 1 | 2;
|
|
226
|
+
forceStereo: 0 | 1;
|
|
155
227
|
}>, z.ZodObject<{
|
|
156
228
|
source: z.ZodLiteral<"file">;
|
|
157
229
|
fileName: z.ZodString;
|
|
158
230
|
filePath: z.ZodString;
|
|
231
|
+
forceStereo: z.ZodUnion<[z.ZodLiteral<0>, z.ZodLiteral<1>]>;
|
|
159
232
|
}, "strip", z.ZodTypeAny, {
|
|
160
233
|
source: "file";
|
|
234
|
+
forceStereo: 0 | 1;
|
|
161
235
|
fileName: string;
|
|
162
236
|
filePath: string;
|
|
163
237
|
}, {
|
|
164
238
|
source: "file";
|
|
239
|
+
forceStereo: 0 | 1;
|
|
165
240
|
fileName: string;
|
|
166
241
|
filePath: string;
|
|
167
242
|
}>, z.ZodObject<{
|
|
@@ -169,19 +244,32 @@ export declare const youtubeSchema: z.ZodObject<{
|
|
|
169
244
|
fileName: z.ZodString;
|
|
170
245
|
fileUrl: z.ZodString;
|
|
171
246
|
avSyncMsec: z.ZodNumber;
|
|
247
|
+
forceStereo: z.ZodUnion<[z.ZodLiteral<0>, z.ZodLiteral<1>]>;
|
|
172
248
|
}, "strip", z.ZodTypeAny, {
|
|
173
249
|
source: "url";
|
|
250
|
+
forceStereo: 0 | 1;
|
|
174
251
|
fileName: string;
|
|
175
252
|
fileUrl: string;
|
|
176
253
|
avSyncMsec: number;
|
|
177
254
|
}, {
|
|
178
255
|
source: "url";
|
|
256
|
+
forceStereo: 0 | 1;
|
|
179
257
|
fileName: string;
|
|
180
258
|
fileUrl: string;
|
|
181
259
|
avSyncMsec: number;
|
|
182
|
-
}>]
|
|
260
|
+
}>]>>;
|
|
261
|
+
status: z.ZodObject<{
|
|
262
|
+
led: z.ZodBoolean;
|
|
263
|
+
port: z.ZodNullable<z.ZodNumber>;
|
|
264
|
+
}, "strip", z.ZodTypeAny, {
|
|
265
|
+
port: number | null;
|
|
266
|
+
led: boolean;
|
|
267
|
+
}, {
|
|
268
|
+
port: number | null;
|
|
269
|
+
led: boolean;
|
|
270
|
+
}>;
|
|
183
271
|
} & {
|
|
184
|
-
|
|
272
|
+
platform: z.ZodLiteral<"youtube">;
|
|
185
273
|
description: z.ZodOptional<z.ZodString>;
|
|
186
274
|
playlist: z.ZodOptional<z.ZodString>;
|
|
187
275
|
tags: z.ZodArray<z.ZodString, "many">;
|
|
@@ -190,50 +278,66 @@ export declare const youtubeSchema: z.ZodObject<{
|
|
|
190
278
|
latency: z.ZodUnion<[z.ZodLiteral<"normal">, z.ZodLiteral<"low">, z.ZodLiteral<"ultra_low">]>;
|
|
191
279
|
afterEndStatus: z.ZodUnion<[z.ZodLiteral<"no_change">, z.ZodLiteral<"public">, z.ZodLiteral<"unlisted">, z.ZodLiteral<"private">]>;
|
|
192
280
|
dvr: z.ZodBoolean;
|
|
193
|
-
saveToSdCard: z.ZodBoolean;
|
|
194
|
-
statusCameraLed: z.ZodBoolean;
|
|
195
|
-
statusCameraOutput: z.ZodNullable<z.ZodString>;
|
|
196
281
|
hasWatchdogs: z.ZodBoolean;
|
|
197
282
|
countdown: z.ZodBoolean;
|
|
198
283
|
enableManualControl: z.ZodBoolean;
|
|
199
284
|
}, "strip", z.ZodTypeAny, {
|
|
200
|
-
|
|
285
|
+
status: {
|
|
286
|
+
port: number | null;
|
|
287
|
+
led: boolean;
|
|
288
|
+
};
|
|
201
289
|
audio: {
|
|
202
|
-
source: "none";
|
|
203
|
-
} | {
|
|
204
290
|
source: "microphone";
|
|
205
291
|
audioChannelNbr: 1 | 2;
|
|
292
|
+
forceStereo: 0 | 1;
|
|
206
293
|
} | {
|
|
207
294
|
source: "file";
|
|
295
|
+
forceStereo: 0 | 1;
|
|
208
296
|
fileName: string;
|
|
209
297
|
filePath: string;
|
|
210
298
|
} | {
|
|
211
299
|
source: "url";
|
|
300
|
+
forceStereo: 0 | 1;
|
|
212
301
|
fileName: string;
|
|
213
302
|
fileUrl: string;
|
|
214
303
|
avSyncMsec: number;
|
|
215
|
-
};
|
|
304
|
+
} | null;
|
|
216
305
|
video: {
|
|
217
|
-
|
|
306
|
+
output: {
|
|
307
|
+
type: "video" | "images";
|
|
308
|
+
url: string;
|
|
309
|
+
callApi: false;
|
|
310
|
+
} | {
|
|
311
|
+
type: "video";
|
|
312
|
+
callApi: true;
|
|
313
|
+
prepareAheadS: number;
|
|
314
|
+
};
|
|
315
|
+
outputParameters: string;
|
|
316
|
+
input: {
|
|
317
|
+
type: "RTSP_URL";
|
|
318
|
+
url: string;
|
|
319
|
+
} | {
|
|
320
|
+
type: "CSw";
|
|
321
|
+
} | {
|
|
322
|
+
type: "CRS";
|
|
323
|
+
};
|
|
324
|
+
streamingProtocol: "RTMP" | "RTMPS" | "HLS_PUSH";
|
|
218
325
|
internalVapixParameters: string;
|
|
219
326
|
userVapixParameters: string;
|
|
220
|
-
streamingProtocol: "RTMP" | "RTMPS" | "HLS_PUSH";
|
|
221
|
-
sourceUrl?: string | undefined;
|
|
222
327
|
streamDelay?: {
|
|
223
328
|
value: number;
|
|
224
329
|
unit: "seconds" | "minutes" | "hours";
|
|
225
330
|
} | undefined;
|
|
226
331
|
};
|
|
227
332
|
enabled: boolean;
|
|
228
|
-
|
|
333
|
+
streamId: string;
|
|
229
334
|
active: boolean;
|
|
230
335
|
title: string;
|
|
231
336
|
trigger: {
|
|
232
337
|
type: "manual";
|
|
233
|
-
ioPort:
|
|
338
|
+
ioPort: number | null;
|
|
234
339
|
} | {
|
|
235
340
|
type: "onetime";
|
|
236
|
-
ioPort: string | null;
|
|
237
341
|
startTime: number;
|
|
238
342
|
stopTime: number;
|
|
239
343
|
} | {
|
|
@@ -251,9 +355,7 @@ export declare const youtubeSchema: z.ZodObject<{
|
|
|
251
355
|
}[];
|
|
252
356
|
};
|
|
253
357
|
streamPrivacy: "public" | "unlisted" | "private";
|
|
254
|
-
|
|
255
|
-
statusCameraLed: boolean;
|
|
256
|
-
statusCameraOutput: string | null;
|
|
358
|
+
platform: "youtube";
|
|
257
359
|
countdown: boolean;
|
|
258
360
|
tags: string[];
|
|
259
361
|
latency: "normal" | "low" | "ultra_low";
|
|
@@ -265,43 +367,62 @@ export declare const youtubeSchema: z.ZodObject<{
|
|
|
265
367
|
description?: string | undefined;
|
|
266
368
|
notificationEmail?: string[] | undefined;
|
|
267
369
|
}, {
|
|
268
|
-
|
|
370
|
+
status: {
|
|
371
|
+
port: number | null;
|
|
372
|
+
led: boolean;
|
|
373
|
+
};
|
|
269
374
|
audio: {
|
|
270
|
-
source: "none";
|
|
271
|
-
} | {
|
|
272
375
|
source: "microphone";
|
|
273
376
|
audioChannelNbr: 1 | 2;
|
|
377
|
+
forceStereo: 0 | 1;
|
|
274
378
|
} | {
|
|
275
379
|
source: "file";
|
|
380
|
+
forceStereo: 0 | 1;
|
|
276
381
|
fileName: string;
|
|
277
382
|
filePath: string;
|
|
278
383
|
} | {
|
|
279
384
|
source: "url";
|
|
385
|
+
forceStereo: 0 | 1;
|
|
280
386
|
fileName: string;
|
|
281
387
|
fileUrl: string;
|
|
282
388
|
avSyncMsec: number;
|
|
283
|
-
};
|
|
389
|
+
} | null;
|
|
284
390
|
video: {
|
|
285
|
-
|
|
391
|
+
output: {
|
|
392
|
+
type: "video" | "images";
|
|
393
|
+
url: string;
|
|
394
|
+
callApi: false;
|
|
395
|
+
} | {
|
|
396
|
+
type: "video";
|
|
397
|
+
callApi: true;
|
|
398
|
+
prepareAheadS: number;
|
|
399
|
+
};
|
|
400
|
+
outputParameters: string;
|
|
401
|
+
input: {
|
|
402
|
+
type: "RTSP_URL";
|
|
403
|
+
url: string;
|
|
404
|
+
} | {
|
|
405
|
+
type: "CSw";
|
|
406
|
+
} | {
|
|
407
|
+
type: "CRS";
|
|
408
|
+
};
|
|
409
|
+
streamingProtocol: "RTMP" | "RTMPS" | "HLS_PUSH";
|
|
286
410
|
internalVapixParameters: string;
|
|
287
411
|
userVapixParameters: string;
|
|
288
|
-
streamingProtocol: "RTMP" | "RTMPS" | "HLS_PUSH";
|
|
289
|
-
sourceUrl?: string | undefined;
|
|
290
412
|
streamDelay?: {
|
|
291
413
|
value: number;
|
|
292
414
|
unit: "seconds" | "minutes" | "hours";
|
|
293
415
|
} | undefined;
|
|
294
416
|
};
|
|
295
417
|
enabled: boolean;
|
|
296
|
-
|
|
418
|
+
streamId: string;
|
|
297
419
|
active: boolean;
|
|
298
420
|
title: string;
|
|
299
421
|
trigger: {
|
|
300
422
|
type: "manual";
|
|
301
|
-
ioPort:
|
|
423
|
+
ioPort: number | null;
|
|
302
424
|
} | {
|
|
303
425
|
type: "onetime";
|
|
304
|
-
ioPort: string | null;
|
|
305
426
|
startTime: number;
|
|
306
427
|
stopTime: number;
|
|
307
428
|
} | {
|
|
@@ -319,9 +440,7 @@ export declare const youtubeSchema: z.ZodObject<{
|
|
|
319
440
|
}[];
|
|
320
441
|
};
|
|
321
442
|
streamPrivacy: "public" | "unlisted" | "private";
|
|
322
|
-
|
|
323
|
-
statusCameraLed: boolean;
|
|
324
|
-
statusCameraOutput: string | null;
|
|
443
|
+
platform: "youtube";
|
|
325
444
|
countdown: boolean;
|
|
326
445
|
tags: string[];
|
|
327
446
|
latency: "normal" | "low" | "ultra_low";
|
|
@@ -1720,7 +1720,7 @@ export declare const portStatusSchema: z.ZodObject<{
|
|
|
1720
1720
|
state: "open" | "closed";
|
|
1721
1721
|
configurable: boolean;
|
|
1722
1722
|
usage: string;
|
|
1723
|
-
direction: "
|
|
1723
|
+
direction: "output" | "input";
|
|
1724
1724
|
normalState: "open" | "closed";
|
|
1725
1725
|
readonly?: boolean | undefined;
|
|
1726
1726
|
}, {
|
|
@@ -1729,7 +1729,7 @@ export declare const portStatusSchema: z.ZodObject<{
|
|
|
1729
1729
|
state: "open" | "closed";
|
|
1730
1730
|
configurable: boolean;
|
|
1731
1731
|
usage: string;
|
|
1732
|
-
direction: "
|
|
1732
|
+
direction: "output" | "input";
|
|
1733
1733
|
normalState: "open" | "closed";
|
|
1734
1734
|
readonly?: boolean | undefined;
|
|
1735
1735
|
}>;
|
|
@@ -1755,7 +1755,7 @@ export declare const getPortsResponseSchema: z.ZodObject<{
|
|
|
1755
1755
|
state: "open" | "closed";
|
|
1756
1756
|
configurable: boolean;
|
|
1757
1757
|
usage: string;
|
|
1758
|
-
direction: "
|
|
1758
|
+
direction: "output" | "input";
|
|
1759
1759
|
normalState: "open" | "closed";
|
|
1760
1760
|
readonly?: boolean | undefined;
|
|
1761
1761
|
}, {
|
|
@@ -1764,7 +1764,7 @@ export declare const getPortsResponseSchema: z.ZodObject<{
|
|
|
1764
1764
|
state: "open" | "closed";
|
|
1765
1765
|
configurable: boolean;
|
|
1766
1766
|
usage: string;
|
|
1767
|
-
direction: "
|
|
1767
|
+
direction: "output" | "input";
|
|
1768
1768
|
normalState: "open" | "closed";
|
|
1769
1769
|
readonly?: boolean | undefined;
|
|
1770
1770
|
}>, "many">;
|
|
@@ -1776,7 +1776,7 @@ export declare const getPortsResponseSchema: z.ZodObject<{
|
|
|
1776
1776
|
state: "open" | "closed";
|
|
1777
1777
|
configurable: boolean;
|
|
1778
1778
|
usage: string;
|
|
1779
|
-
direction: "
|
|
1779
|
+
direction: "output" | "input";
|
|
1780
1780
|
normalState: "open" | "closed";
|
|
1781
1781
|
readonly?: boolean | undefined;
|
|
1782
1782
|
}[];
|
|
@@ -1788,7 +1788,7 @@ export declare const getPortsResponseSchema: z.ZodObject<{
|
|
|
1788
1788
|
state: "open" | "closed";
|
|
1789
1789
|
configurable: boolean;
|
|
1790
1790
|
usage: string;
|
|
1791
|
-
direction: "
|
|
1791
|
+
direction: "output" | "input";
|
|
1792
1792
|
normalState: "open" | "closed";
|
|
1793
1793
|
readonly?: boolean | undefined;
|
|
1794
1794
|
}[];
|
|
@@ -1802,7 +1802,7 @@ export declare const getPortsResponseSchema: z.ZodObject<{
|
|
|
1802
1802
|
state: "open" | "closed";
|
|
1803
1803
|
configurable: boolean;
|
|
1804
1804
|
usage: string;
|
|
1805
|
-
direction: "
|
|
1805
|
+
direction: "output" | "input";
|
|
1806
1806
|
normalState: "open" | "closed";
|
|
1807
1807
|
readonly?: boolean | undefined;
|
|
1808
1808
|
}[];
|
|
@@ -1819,7 +1819,7 @@ export declare const getPortsResponseSchema: z.ZodObject<{
|
|
|
1819
1819
|
state: "open" | "closed";
|
|
1820
1820
|
configurable: boolean;
|
|
1821
1821
|
usage: string;
|
|
1822
|
-
direction: "
|
|
1822
|
+
direction: "output" | "input";
|
|
1823
1823
|
normalState: "open" | "closed";
|
|
1824
1824
|
readonly?: boolean | undefined;
|
|
1825
1825
|
}[];
|
|
@@ -1840,14 +1840,14 @@ export declare const portSetSchema: z.ZodObject<{
|
|
|
1840
1840
|
state: "open" | "closed";
|
|
1841
1841
|
name?: string | undefined;
|
|
1842
1842
|
usage?: string | undefined;
|
|
1843
|
-
direction?: "
|
|
1843
|
+
direction?: "output" | "input" | undefined;
|
|
1844
1844
|
normalState?: "open" | "closed" | undefined;
|
|
1845
1845
|
}, {
|
|
1846
1846
|
port: string;
|
|
1847
1847
|
state: "open" | "closed";
|
|
1848
1848
|
name?: string | undefined;
|
|
1849
1849
|
usage?: string | undefined;
|
|
1850
|
-
direction?: "
|
|
1850
|
+
direction?: "output" | "input" | undefined;
|
|
1851
1851
|
normalState?: "open" | "closed" | undefined;
|
|
1852
1852
|
}>;
|
|
1853
1853
|
export type TPortSetSchema = z.infer<typeof portSetSchema>;
|