camstreamerlib 4.0.0-beta.109 → 4.0.0-beta.110
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 +42 -16
- package/cjs/types/CamStreamerAPI/CamStreamerAPI.d.ts +199 -57
- package/cjs/types/CamStreamerAPI/facebookSchema.d.ts +52 -0
- package/cjs/types/CamStreamerAPI/facebookSchema.js +17 -1
- package/cjs/types/CamStreamerAPI/gameChangerSchema.d.ts +2 -2
- package/cjs/types/CamStreamerAPI/mpegDvbSchema.d.ts +6 -6
- package/cjs/types/CamStreamerAPI/rtmpSchema.d.ts +4 -4
- package/cjs/types/CamStreamerAPI/youtubeSchema.d.ts +6 -6
- package/esm/types/CamStreamerAPI/facebookSchema.js +16 -0
- package/package.json +1 -1
- package/types/CamStreamerAPI.d.ts +42 -16
- package/types/types/CamStreamerAPI/CamStreamerAPI.d.ts +199 -57
- package/types/types/CamStreamerAPI/facebookSchema.d.ts +52 -0
- package/types/types/CamStreamerAPI/gameChangerSchema.d.ts +2 -2
- package/types/types/CamStreamerAPI/mpegDvbSchema.d.ts +6 -6
- package/types/types/CamStreamerAPI/rtmpSchema.d.ts +4 -4
- package/types/types/CamStreamerAPI/youtubeSchema.d.ts +6 -6
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import z from 'zod';
|
|
2
|
+
export declare const facebookStreamPrivacySchema: z.ZodUnion<[z.ZodLiteral<"public">, z.ZodLiteral<"friends">, z.ZodLiteral<"only_me">]>;
|
|
2
3
|
export declare const facebookSchema: z.ZodObject<{
|
|
3
4
|
id: z.ZodNumber;
|
|
4
5
|
enabled: z.ZodBoolean;
|
|
@@ -179,7 +180,39 @@ export declare const facebookSchema: z.ZodObject<{
|
|
|
179
180
|
}>]>;
|
|
180
181
|
} & {
|
|
181
182
|
type: z.ZodLiteral<"facebook">;
|
|
183
|
+
description: z.ZodOptional<z.ZodString>;
|
|
184
|
+
deleteAfterEnd: z.ZodBoolean;
|
|
185
|
+
saveToSdCard: z.ZodBoolean;
|
|
186
|
+
statusCameraLed: z.ZodBoolean;
|
|
187
|
+
statusCameraOutput: z.ZodNullable<z.ZodString>;
|
|
188
|
+
countdown: z.ZodBoolean;
|
|
189
|
+
post: z.ZodDiscriminatedUnion<"postLocation", [z.ZodObject<{
|
|
190
|
+
postLocation: z.ZodLiteral<"timeline">;
|
|
191
|
+
streamPrivacy: z.ZodUnion<[z.ZodLiteral<"public">, z.ZodLiteral<"friends">, z.ZodLiteral<"only_me">]>;
|
|
192
|
+
}, "strip", z.ZodTypeAny, {
|
|
193
|
+
postLocation: "timeline";
|
|
194
|
+
streamPrivacy: "public" | "friends" | "only_me";
|
|
195
|
+
}, {
|
|
196
|
+
postLocation: "timeline";
|
|
197
|
+
streamPrivacy: "public" | "friends" | "only_me";
|
|
198
|
+
}>, z.ZodObject<{
|
|
199
|
+
postLocation: z.ZodLiteral<"page">;
|
|
200
|
+
page: z.ZodString;
|
|
201
|
+
}, "strip", z.ZodTypeAny, {
|
|
202
|
+
postLocation: "page";
|
|
203
|
+
page: string;
|
|
204
|
+
}, {
|
|
205
|
+
postLocation: "page";
|
|
206
|
+
page: string;
|
|
207
|
+
}>]>;
|
|
182
208
|
}, "strip", z.ZodTypeAny, {
|
|
209
|
+
post: {
|
|
210
|
+
postLocation: "timeline";
|
|
211
|
+
streamPrivacy: "public" | "friends" | "only_me";
|
|
212
|
+
} | {
|
|
213
|
+
postLocation: "page";
|
|
214
|
+
page: string;
|
|
215
|
+
};
|
|
183
216
|
type: "facebook";
|
|
184
217
|
audio: {
|
|
185
218
|
source: "none";
|
|
@@ -232,7 +265,20 @@ export declare const facebookSchema: z.ZodObject<{
|
|
|
232
265
|
isActive: boolean;
|
|
233
266
|
}[];
|
|
234
267
|
};
|
|
268
|
+
deleteAfterEnd: boolean;
|
|
269
|
+
saveToSdCard: boolean;
|
|
270
|
+
statusCameraLed: boolean;
|
|
271
|
+
statusCameraOutput: string | null;
|
|
272
|
+
countdown: boolean;
|
|
273
|
+
description?: string | undefined;
|
|
235
274
|
}, {
|
|
275
|
+
post: {
|
|
276
|
+
postLocation: "timeline";
|
|
277
|
+
streamPrivacy: "public" | "friends" | "only_me";
|
|
278
|
+
} | {
|
|
279
|
+
postLocation: "page";
|
|
280
|
+
page: string;
|
|
281
|
+
};
|
|
236
282
|
type: "facebook";
|
|
237
283
|
audio: {
|
|
238
284
|
source: "none";
|
|
@@ -285,4 +331,10 @@ export declare const facebookSchema: z.ZodObject<{
|
|
|
285
331
|
isActive: boolean;
|
|
286
332
|
}[];
|
|
287
333
|
};
|
|
334
|
+
deleteAfterEnd: boolean;
|
|
335
|
+
saveToSdCard: boolean;
|
|
336
|
+
statusCameraLed: boolean;
|
|
337
|
+
statusCameraOutput: string | null;
|
|
338
|
+
countdown: boolean;
|
|
339
|
+
description?: string | undefined;
|
|
288
340
|
}>;
|
|
@@ -239,9 +239,9 @@ export declare const gameChangerSchema: z.ZodObject<{
|
|
|
239
239
|
isActive: boolean;
|
|
240
240
|
}[];
|
|
241
241
|
};
|
|
242
|
+
saveToSdCard: boolean;
|
|
242
243
|
statusCameraLed: boolean;
|
|
243
244
|
statusCameraOutput: string | null;
|
|
244
|
-
saveToSdCard: boolean;
|
|
245
245
|
outputUrl: string;
|
|
246
246
|
streamKey: string;
|
|
247
247
|
streamIdentifier?: string | undefined;
|
|
@@ -298,9 +298,9 @@ export declare const gameChangerSchema: z.ZodObject<{
|
|
|
298
298
|
isActive: boolean;
|
|
299
299
|
}[];
|
|
300
300
|
};
|
|
301
|
+
saveToSdCard: boolean;
|
|
301
302
|
statusCameraLed: boolean;
|
|
302
303
|
statusCameraOutput: string | null;
|
|
303
|
-
saveToSdCard: boolean;
|
|
304
304
|
outputUrl: string;
|
|
305
305
|
streamKey: string;
|
|
306
306
|
streamIdentifier?: string | undefined;
|
|
@@ -249,6 +249,9 @@ export declare const mpegDvbSchema: z.ZodObject<{
|
|
|
249
249
|
isActive: boolean;
|
|
250
250
|
}[];
|
|
251
251
|
};
|
|
252
|
+
saveToSdCard: boolean;
|
|
253
|
+
statusCameraLed: boolean;
|
|
254
|
+
statusCameraOutput: string | null;
|
|
252
255
|
ipAddress: string;
|
|
253
256
|
standard: "DVB" | "ATSC";
|
|
254
257
|
nullPacketsPaddingEnabled: boolean;
|
|
@@ -261,9 +264,6 @@ export declare const mpegDvbSchema: z.ZodObject<{
|
|
|
261
264
|
pcrPeriodMs: number;
|
|
262
265
|
providerName: string;
|
|
263
266
|
serviceName: string;
|
|
264
|
-
statusCameraLed: boolean;
|
|
265
|
-
statusCameraOutput: string | null;
|
|
266
|
-
saveToSdCard: boolean;
|
|
267
267
|
}, {
|
|
268
268
|
type: "mpeg_dvb";
|
|
269
269
|
audio: {
|
|
@@ -318,6 +318,9 @@ export declare const mpegDvbSchema: z.ZodObject<{
|
|
|
318
318
|
isActive: boolean;
|
|
319
319
|
}[];
|
|
320
320
|
};
|
|
321
|
+
saveToSdCard: boolean;
|
|
322
|
+
statusCameraLed: boolean;
|
|
323
|
+
statusCameraOutput: string | null;
|
|
321
324
|
ipAddress: string;
|
|
322
325
|
standard: "DVB" | "ATSC";
|
|
323
326
|
nullPacketsPaddingEnabled: boolean;
|
|
@@ -330,7 +333,4 @@ export declare const mpegDvbSchema: z.ZodObject<{
|
|
|
330
333
|
pcrPeriodMs: number;
|
|
331
334
|
providerName: string;
|
|
332
335
|
serviceName: string;
|
|
333
|
-
statusCameraLed: boolean;
|
|
334
|
-
statusCameraOutput: string | null;
|
|
335
|
-
saveToSdCard: boolean;
|
|
336
336
|
}>;
|
|
@@ -236,9 +236,9 @@ export declare const commonRtmpSchema: z.ZodObject<{
|
|
|
236
236
|
isActive: boolean;
|
|
237
237
|
}[];
|
|
238
238
|
};
|
|
239
|
+
saveToSdCard: boolean;
|
|
239
240
|
statusCameraLed: boolean;
|
|
240
241
|
statusCameraOutput: string | null;
|
|
241
|
-
saveToSdCard: boolean;
|
|
242
242
|
outputUrl: string;
|
|
243
243
|
streamKey: string;
|
|
244
244
|
streamIdentifier?: string | undefined;
|
|
@@ -294,9 +294,9 @@ export declare const commonRtmpSchema: z.ZodObject<{
|
|
|
294
294
|
isActive: boolean;
|
|
295
295
|
}[];
|
|
296
296
|
};
|
|
297
|
+
saveToSdCard: boolean;
|
|
297
298
|
statusCameraLed: boolean;
|
|
298
299
|
statusCameraOutput: string | null;
|
|
299
|
-
saveToSdCard: boolean;
|
|
300
300
|
outputUrl: string;
|
|
301
301
|
streamKey: string;
|
|
302
302
|
streamIdentifier?: string | undefined;
|
|
@@ -541,9 +541,9 @@ export declare const rtmpSchema: z.ZodObject<{
|
|
|
541
541
|
isActive: boolean;
|
|
542
542
|
}[];
|
|
543
543
|
};
|
|
544
|
+
saveToSdCard: boolean;
|
|
544
545
|
statusCameraLed: boolean;
|
|
545
546
|
statusCameraOutput: string | null;
|
|
546
|
-
saveToSdCard: boolean;
|
|
547
547
|
outputUrl: string;
|
|
548
548
|
streamKey: string;
|
|
549
549
|
streamIdentifier?: string | undefined;
|
|
@@ -600,9 +600,9 @@ export declare const rtmpSchema: z.ZodObject<{
|
|
|
600
600
|
isActive: boolean;
|
|
601
601
|
}[];
|
|
602
602
|
};
|
|
603
|
+
saveToSdCard: boolean;
|
|
603
604
|
statusCameraLed: boolean;
|
|
604
605
|
statusCameraOutput: string | null;
|
|
605
|
-
saveToSdCard: boolean;
|
|
606
606
|
outputUrl: string;
|
|
607
607
|
streamKey: string;
|
|
608
608
|
streamIdentifier?: string | undefined;
|
|
@@ -246,16 +246,16 @@ export declare const youtubeSchema: z.ZodObject<{
|
|
|
246
246
|
isActive: boolean;
|
|
247
247
|
}[];
|
|
248
248
|
};
|
|
249
|
+
streamPrivacy: "public" | "unlisted" | "private";
|
|
250
|
+
saveToSdCard: boolean;
|
|
249
251
|
statusCameraLed: boolean;
|
|
250
252
|
statusCameraOutput: string | null;
|
|
251
|
-
|
|
253
|
+
countdown: boolean;
|
|
252
254
|
tags: string[];
|
|
253
|
-
streamPrivacy: "public" | "unlisted" | "private";
|
|
254
255
|
latency: "normal" | "low" | "ultra_low";
|
|
255
256
|
afterEndStatus: "public" | "unlisted" | "private" | "no_change";
|
|
256
257
|
dvr: boolean;
|
|
257
258
|
hasWatchdogs: boolean;
|
|
258
|
-
countdown: boolean;
|
|
259
259
|
enableManualControl: boolean;
|
|
260
260
|
playlist?: string | undefined;
|
|
261
261
|
description?: string | undefined;
|
|
@@ -313,16 +313,16 @@ export declare const youtubeSchema: z.ZodObject<{
|
|
|
313
313
|
isActive: boolean;
|
|
314
314
|
}[];
|
|
315
315
|
};
|
|
316
|
+
streamPrivacy: "public" | "unlisted" | "private";
|
|
317
|
+
saveToSdCard: boolean;
|
|
316
318
|
statusCameraLed: boolean;
|
|
317
319
|
statusCameraOutput: string | null;
|
|
318
|
-
|
|
320
|
+
countdown: boolean;
|
|
319
321
|
tags: string[];
|
|
320
|
-
streamPrivacy: "public" | "unlisted" | "private";
|
|
321
322
|
latency: "normal" | "low" | "ultra_low";
|
|
322
323
|
afterEndStatus: "public" | "unlisted" | "private" | "no_change";
|
|
323
324
|
dvr: boolean;
|
|
324
325
|
hasWatchdogs: boolean;
|
|
325
|
-
countdown: boolean;
|
|
326
326
|
enableManualControl: boolean;
|
|
327
327
|
playlist?: string | undefined;
|
|
328
328
|
description?: string | undefined;
|