camstreamerlib 4.0.0-beta.114 → 4.0.0-beta.116
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 +1155 -503
- 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 +8086 -2769
- package/cjs/types/CamStreamerAPI/CamStreamerAPI.js +39 -55
- package/cjs/types/CamStreamerAPI/facebookSchema.d.ts +183 -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 +224 -341
- package/cjs/types/CamStreamerAPI/streamCommonTypes.js +89 -75
- package/cjs/types/CamStreamerAPI/streamsSchema.d.ts +7333 -0
- package/cjs/types/CamStreamerAPI/streamsSchema.js +63 -0
- package/cjs/types/CamStreamerAPI/windySchema.d.ts +159 -45
- package/cjs/types/CamStreamerAPI/windySchema.js +1 -1
- package/cjs/types/CamStreamerAPI/youtubeSchema.d.ts +159 -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 +88 -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 +1155 -503
- package/types/VapixAPI.d.ts +1 -1
- package/types/errors/errors.d.ts +2 -2
- package/types/types/CamStreamerAPI/CamStreamerAPI.d.ts +8086 -2769
- package/types/types/CamStreamerAPI/facebookSchema.d.ts +183 -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 +224 -341
- package/types/types/CamStreamerAPI/streamsSchema.d.ts +7333 -0
- package/types/types/CamStreamerAPI/windySchema.d.ts +159 -45
- package/types/types/CamStreamerAPI/youtubeSchema.d.ts +159 -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 -341
- package/cjs/types/CamStreamerAPI/mpegDvbSchema.js +0 -27
- 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 -21
- 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 -341
- 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,51 @@ 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.ZodUnion<[z.ZodLiteral<"CSw">, z.ZodLiteral<"CRS">]>;
|
|
138
|
+
}, "strip", z.ZodTypeAny, {
|
|
139
|
+
type: "CSw" | "CRS";
|
|
140
|
+
}, {
|
|
141
|
+
type: "CSw" | "CRS";
|
|
142
|
+
}>]>;
|
|
143
|
+
streamingProtocol: z.ZodUnion<[z.ZodLiteral<"RTMP">, z.ZodLiteral<"RTMPS">, z.ZodLiteral<"HLS_PUSH">]>;
|
|
106
144
|
internalVapixParameters: z.ZodString;
|
|
107
145
|
userVapixParameters: z.ZodString;
|
|
108
|
-
streamingProtocol: z.ZodUnion<[z.ZodLiteral<"RTMP">, z.ZodLiteral<"RTMPS">, z.ZodLiteral<"HLS_PUSH">]>;
|
|
109
146
|
streamDelay: z.ZodOptional<z.ZodObject<{
|
|
110
147
|
value: z.ZodNumber;
|
|
111
148
|
unit: z.ZodUnion<[z.ZodLiteral<"seconds">, z.ZodLiteral<"minutes">, z.ZodLiteral<"hours">]>;
|
|
@@ -117,51 +154,79 @@ export declare const youtubeSchema: z.ZodObject<{
|
|
|
117
154
|
unit: "seconds" | "minutes" | "hours";
|
|
118
155
|
}>>;
|
|
119
156
|
}, "strip", z.ZodTypeAny, {
|
|
120
|
-
|
|
157
|
+
output: {
|
|
158
|
+
type: "video" | "images";
|
|
159
|
+
url: string;
|
|
160
|
+
callApi: false;
|
|
161
|
+
} | {
|
|
162
|
+
type: "video";
|
|
163
|
+
callApi: true;
|
|
164
|
+
prepareAheadS: number;
|
|
165
|
+
};
|
|
166
|
+
outputParameters: string;
|
|
167
|
+
input: {
|
|
168
|
+
type: "RTSP_URL";
|
|
169
|
+
url: string;
|
|
170
|
+
} | {
|
|
171
|
+
type: "CSw" | "CRS";
|
|
172
|
+
};
|
|
173
|
+
streamingProtocol: "RTMP" | "RTMPS" | "HLS_PUSH";
|
|
121
174
|
internalVapixParameters: string;
|
|
122
175
|
userVapixParameters: string;
|
|
123
|
-
streamingProtocol: "RTMP" | "RTMPS" | "HLS_PUSH";
|
|
124
|
-
sourceUrl?: string | undefined;
|
|
125
176
|
streamDelay?: {
|
|
126
177
|
value: number;
|
|
127
178
|
unit: "seconds" | "minutes" | "hours";
|
|
128
179
|
} | undefined;
|
|
129
180
|
}, {
|
|
130
|
-
|
|
181
|
+
output: {
|
|
182
|
+
type: "video" | "images";
|
|
183
|
+
url: string;
|
|
184
|
+
callApi: false;
|
|
185
|
+
} | {
|
|
186
|
+
type: "video";
|
|
187
|
+
callApi: true;
|
|
188
|
+
prepareAheadS: number;
|
|
189
|
+
};
|
|
190
|
+
outputParameters: string;
|
|
191
|
+
input: {
|
|
192
|
+
type: "RTSP_URL";
|
|
193
|
+
url: string;
|
|
194
|
+
} | {
|
|
195
|
+
type: "CSw" | "CRS";
|
|
196
|
+
};
|
|
197
|
+
streamingProtocol: "RTMP" | "RTMPS" | "HLS_PUSH";
|
|
131
198
|
internalVapixParameters: string;
|
|
132
199
|
userVapixParameters: string;
|
|
133
|
-
streamingProtocol: "RTMP" | "RTMPS" | "HLS_PUSH";
|
|
134
|
-
sourceUrl?: string | undefined;
|
|
135
200
|
streamDelay?: {
|
|
136
201
|
value: number;
|
|
137
202
|
unit: "seconds" | "minutes" | "hours";
|
|
138
203
|
} | undefined;
|
|
139
204
|
}>;
|
|
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<{
|
|
205
|
+
audio: z.ZodNullable<z.ZodDiscriminatedUnion<"source", [z.ZodObject<{
|
|
147
206
|
source: z.ZodLiteral<"microphone">;
|
|
148
207
|
audioChannelNbr: z.ZodUnion<[z.ZodLiteral<1>, z.ZodLiteral<2>]>;
|
|
208
|
+
forceStereo: z.ZodUnion<[z.ZodLiteral<0>, z.ZodLiteral<1>]>;
|
|
149
209
|
}, "strip", z.ZodTypeAny, {
|
|
150
210
|
source: "microphone";
|
|
151
211
|
audioChannelNbr: 1 | 2;
|
|
212
|
+
forceStereo: 0 | 1;
|
|
152
213
|
}, {
|
|
153
214
|
source: "microphone";
|
|
154
215
|
audioChannelNbr: 1 | 2;
|
|
216
|
+
forceStereo: 0 | 1;
|
|
155
217
|
}>, z.ZodObject<{
|
|
156
218
|
source: z.ZodLiteral<"file">;
|
|
157
219
|
fileName: z.ZodString;
|
|
158
220
|
filePath: z.ZodString;
|
|
221
|
+
forceStereo: z.ZodUnion<[z.ZodLiteral<0>, z.ZodLiteral<1>]>;
|
|
159
222
|
}, "strip", z.ZodTypeAny, {
|
|
160
223
|
source: "file";
|
|
224
|
+
forceStereo: 0 | 1;
|
|
161
225
|
fileName: string;
|
|
162
226
|
filePath: string;
|
|
163
227
|
}, {
|
|
164
228
|
source: "file";
|
|
229
|
+
forceStereo: 0 | 1;
|
|
165
230
|
fileName: string;
|
|
166
231
|
filePath: string;
|
|
167
232
|
}>, z.ZodObject<{
|
|
@@ -169,19 +234,32 @@ export declare const youtubeSchema: z.ZodObject<{
|
|
|
169
234
|
fileName: z.ZodString;
|
|
170
235
|
fileUrl: z.ZodString;
|
|
171
236
|
avSyncMsec: z.ZodNumber;
|
|
237
|
+
forceStereo: z.ZodUnion<[z.ZodLiteral<0>, z.ZodLiteral<1>]>;
|
|
172
238
|
}, "strip", z.ZodTypeAny, {
|
|
173
239
|
source: "url";
|
|
240
|
+
forceStereo: 0 | 1;
|
|
174
241
|
fileName: string;
|
|
175
242
|
fileUrl: string;
|
|
176
243
|
avSyncMsec: number;
|
|
177
244
|
}, {
|
|
178
245
|
source: "url";
|
|
246
|
+
forceStereo: 0 | 1;
|
|
179
247
|
fileName: string;
|
|
180
248
|
fileUrl: string;
|
|
181
249
|
avSyncMsec: number;
|
|
182
|
-
}>]
|
|
250
|
+
}>]>>;
|
|
251
|
+
status: z.ZodObject<{
|
|
252
|
+
led: z.ZodBoolean;
|
|
253
|
+
port: z.ZodNullable<z.ZodNumber>;
|
|
254
|
+
}, "strip", z.ZodTypeAny, {
|
|
255
|
+
port: number | null;
|
|
256
|
+
led: boolean;
|
|
257
|
+
}, {
|
|
258
|
+
port: number | null;
|
|
259
|
+
led: boolean;
|
|
260
|
+
}>;
|
|
183
261
|
} & {
|
|
184
|
-
|
|
262
|
+
platform: z.ZodLiteral<"youtube">;
|
|
185
263
|
description: z.ZodOptional<z.ZodString>;
|
|
186
264
|
playlist: z.ZodOptional<z.ZodString>;
|
|
187
265
|
tags: z.ZodArray<z.ZodString, "many">;
|
|
@@ -190,50 +268,64 @@ export declare const youtubeSchema: z.ZodObject<{
|
|
|
190
268
|
latency: z.ZodUnion<[z.ZodLiteral<"normal">, z.ZodLiteral<"low">, z.ZodLiteral<"ultra_low">]>;
|
|
191
269
|
afterEndStatus: z.ZodUnion<[z.ZodLiteral<"no_change">, z.ZodLiteral<"public">, z.ZodLiteral<"unlisted">, z.ZodLiteral<"private">]>;
|
|
192
270
|
dvr: z.ZodBoolean;
|
|
193
|
-
saveToSdCard: z.ZodBoolean;
|
|
194
|
-
statusCameraLed: z.ZodBoolean;
|
|
195
|
-
statusCameraOutput: z.ZodNullable<z.ZodString>;
|
|
196
271
|
hasWatchdogs: z.ZodBoolean;
|
|
197
272
|
countdown: z.ZodBoolean;
|
|
198
273
|
enableManualControl: z.ZodBoolean;
|
|
199
274
|
}, "strip", z.ZodTypeAny, {
|
|
200
|
-
|
|
275
|
+
status: {
|
|
276
|
+
port: number | null;
|
|
277
|
+
led: boolean;
|
|
278
|
+
};
|
|
201
279
|
audio: {
|
|
202
|
-
source: "none";
|
|
203
|
-
} | {
|
|
204
280
|
source: "microphone";
|
|
205
281
|
audioChannelNbr: 1 | 2;
|
|
282
|
+
forceStereo: 0 | 1;
|
|
206
283
|
} | {
|
|
207
284
|
source: "file";
|
|
285
|
+
forceStereo: 0 | 1;
|
|
208
286
|
fileName: string;
|
|
209
287
|
filePath: string;
|
|
210
288
|
} | {
|
|
211
289
|
source: "url";
|
|
290
|
+
forceStereo: 0 | 1;
|
|
212
291
|
fileName: string;
|
|
213
292
|
fileUrl: string;
|
|
214
293
|
avSyncMsec: number;
|
|
215
|
-
};
|
|
294
|
+
} | null;
|
|
216
295
|
video: {
|
|
217
|
-
|
|
296
|
+
output: {
|
|
297
|
+
type: "video" | "images";
|
|
298
|
+
url: string;
|
|
299
|
+
callApi: false;
|
|
300
|
+
} | {
|
|
301
|
+
type: "video";
|
|
302
|
+
callApi: true;
|
|
303
|
+
prepareAheadS: number;
|
|
304
|
+
};
|
|
305
|
+
outputParameters: string;
|
|
306
|
+
input: {
|
|
307
|
+
type: "RTSP_URL";
|
|
308
|
+
url: string;
|
|
309
|
+
} | {
|
|
310
|
+
type: "CSw" | "CRS";
|
|
311
|
+
};
|
|
312
|
+
streamingProtocol: "RTMP" | "RTMPS" | "HLS_PUSH";
|
|
218
313
|
internalVapixParameters: string;
|
|
219
314
|
userVapixParameters: string;
|
|
220
|
-
streamingProtocol: "RTMP" | "RTMPS" | "HLS_PUSH";
|
|
221
|
-
sourceUrl?: string | undefined;
|
|
222
315
|
streamDelay?: {
|
|
223
316
|
value: number;
|
|
224
317
|
unit: "seconds" | "minutes" | "hours";
|
|
225
318
|
} | undefined;
|
|
226
319
|
};
|
|
227
320
|
enabled: boolean;
|
|
228
|
-
|
|
321
|
+
streamId: string;
|
|
229
322
|
active: boolean;
|
|
230
323
|
title: string;
|
|
231
324
|
trigger: {
|
|
232
325
|
type: "manual";
|
|
233
|
-
ioPort:
|
|
326
|
+
ioPort: number | null;
|
|
234
327
|
} | {
|
|
235
328
|
type: "onetime";
|
|
236
|
-
ioPort: string | null;
|
|
237
329
|
startTime: number;
|
|
238
330
|
stopTime: number;
|
|
239
331
|
} | {
|
|
@@ -251,9 +343,7 @@ export declare const youtubeSchema: z.ZodObject<{
|
|
|
251
343
|
}[];
|
|
252
344
|
};
|
|
253
345
|
streamPrivacy: "public" | "unlisted" | "private";
|
|
254
|
-
|
|
255
|
-
statusCameraLed: boolean;
|
|
256
|
-
statusCameraOutput: string | null;
|
|
346
|
+
platform: "youtube";
|
|
257
347
|
countdown: boolean;
|
|
258
348
|
tags: string[];
|
|
259
349
|
latency: "normal" | "low" | "ultra_low";
|
|
@@ -265,43 +355,60 @@ export declare const youtubeSchema: z.ZodObject<{
|
|
|
265
355
|
description?: string | undefined;
|
|
266
356
|
notificationEmail?: string[] | undefined;
|
|
267
357
|
}, {
|
|
268
|
-
|
|
358
|
+
status: {
|
|
359
|
+
port: number | null;
|
|
360
|
+
led: boolean;
|
|
361
|
+
};
|
|
269
362
|
audio: {
|
|
270
|
-
source: "none";
|
|
271
|
-
} | {
|
|
272
363
|
source: "microphone";
|
|
273
364
|
audioChannelNbr: 1 | 2;
|
|
365
|
+
forceStereo: 0 | 1;
|
|
274
366
|
} | {
|
|
275
367
|
source: "file";
|
|
368
|
+
forceStereo: 0 | 1;
|
|
276
369
|
fileName: string;
|
|
277
370
|
filePath: string;
|
|
278
371
|
} | {
|
|
279
372
|
source: "url";
|
|
373
|
+
forceStereo: 0 | 1;
|
|
280
374
|
fileName: string;
|
|
281
375
|
fileUrl: string;
|
|
282
376
|
avSyncMsec: number;
|
|
283
|
-
};
|
|
377
|
+
} | null;
|
|
284
378
|
video: {
|
|
285
|
-
|
|
379
|
+
output: {
|
|
380
|
+
type: "video" | "images";
|
|
381
|
+
url: string;
|
|
382
|
+
callApi: false;
|
|
383
|
+
} | {
|
|
384
|
+
type: "video";
|
|
385
|
+
callApi: true;
|
|
386
|
+
prepareAheadS: number;
|
|
387
|
+
};
|
|
388
|
+
outputParameters: string;
|
|
389
|
+
input: {
|
|
390
|
+
type: "RTSP_URL";
|
|
391
|
+
url: string;
|
|
392
|
+
} | {
|
|
393
|
+
type: "CSw" | "CRS";
|
|
394
|
+
};
|
|
395
|
+
streamingProtocol: "RTMP" | "RTMPS" | "HLS_PUSH";
|
|
286
396
|
internalVapixParameters: string;
|
|
287
397
|
userVapixParameters: string;
|
|
288
|
-
streamingProtocol: "RTMP" | "RTMPS" | "HLS_PUSH";
|
|
289
|
-
sourceUrl?: string | undefined;
|
|
290
398
|
streamDelay?: {
|
|
291
399
|
value: number;
|
|
292
400
|
unit: "seconds" | "minutes" | "hours";
|
|
293
401
|
} | undefined;
|
|
294
402
|
};
|
|
295
403
|
enabled: boolean;
|
|
296
|
-
|
|
404
|
+
streamId: string;
|
|
297
405
|
active: boolean;
|
|
298
406
|
title: string;
|
|
299
407
|
trigger: {
|
|
300
408
|
type: "manual";
|
|
301
|
-
ioPort:
|
|
409
|
+
ioPort: number | null;
|
|
302
410
|
} | {
|
|
303
411
|
type: "onetime";
|
|
304
|
-
ioPort: string | null;
|
|
305
412
|
startTime: number;
|
|
306
413
|
stopTime: number;
|
|
307
414
|
} | {
|
|
@@ -319,9 +426,7 @@ export declare const youtubeSchema: z.ZodObject<{
|
|
|
319
426
|
}[];
|
|
320
427
|
};
|
|
321
428
|
streamPrivacy: "public" | "unlisted" | "private";
|
|
322
|
-
|
|
323
|
-
statusCameraLed: boolean;
|
|
324
|
-
statusCameraOutput: string | null;
|
|
429
|
+
platform: "youtube";
|
|
325
430
|
countdown: boolean;
|
|
326
431
|
tags: string[];
|
|
327
432
|
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>;
|