camstreamerlib 4.0.0-beta.97 → 4.0.0-beta.99

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.
Files changed (59) hide show
  1. package/cjs/CamOverlayAPI.d.ts +4 -4
  2. package/cjs/CamStreamerAPI.d.ts +600 -0
  3. package/cjs/types/CamOverlayAPI/CamOverlayAPI.d.ts +22 -22
  4. package/cjs/types/CamOverlayAPI/customGraphicsSchema.d.ts +12 -12
  5. package/cjs/types/CamOverlayAPI/scoreBoardSchema.d.ts +2 -2
  6. package/cjs/types/CamStreamerAPI/CamStreamerAPI.d.ts +3788 -24
  7. package/cjs/types/CamStreamerAPI/churchSchema.d.ts +73 -0
  8. package/cjs/types/CamStreamerAPI/daCastSchema.d.ts +73 -0
  9. package/cjs/types/CamStreamerAPI/dailymotionSchema.d.ts +73 -0
  10. package/cjs/types/CamStreamerAPI/facebookSchema.d.ts +73 -0
  11. package/cjs/types/CamStreamerAPI/gameChangerSchema.d.ts +73 -0
  12. package/cjs/types/CamStreamerAPI/hlsPullSchema.d.ts +73 -0
  13. package/cjs/types/CamStreamerAPI/hlsPushSchema.d.ts +73 -0
  14. package/cjs/types/CamStreamerAPI/ibmSchema.d.ts +73 -0
  15. package/cjs/types/CamStreamerAPI/microsoftAzureSchema.d.ts +73 -0
  16. package/cjs/types/CamStreamerAPI/microsoftStreamSchema.d.ts +73 -0
  17. package/cjs/types/CamStreamerAPI/mpegDvbSchema.d.ts +73 -0
  18. package/cjs/types/CamStreamerAPI/oldStreamSchema.d.ts +6 -6
  19. package/cjs/types/CamStreamerAPI/rtmpSchema.d.ts +73 -0
  20. package/cjs/types/CamStreamerAPI/sdCardSchema.d.ts +73 -0
  21. package/cjs/types/CamStreamerAPI/srtSchema.d.ts +73 -0
  22. package/cjs/types/CamStreamerAPI/streamCommonTypes.d.ts +123 -0
  23. package/cjs/types/CamStreamerAPI/streamCommonTypes.js +19 -1
  24. package/cjs/types/CamStreamerAPI/twitchSchema.d.ts +73 -0
  25. package/cjs/types/CamStreamerAPI/vimeoSchema.d.ts +73 -0
  26. package/cjs/types/CamStreamerAPI/windySchema.d.ts +73 -0
  27. package/cjs/types/CamStreamerAPI/wowzaSchema.d.ts +73 -0
  28. package/cjs/types/CamStreamerAPI/youtubeSchema.d.ts +118 -0
  29. package/cjs/types/CamStreamerAPI/youtubeSchema.js +15 -0
  30. package/esm/types/CamStreamerAPI/streamCommonTypes.js +18 -0
  31. package/esm/types/CamStreamerAPI/youtubeSchema.js +15 -0
  32. package/package.json +1 -1
  33. package/types/CamOverlayAPI.d.ts +4 -4
  34. package/types/CamStreamerAPI.d.ts +600 -0
  35. package/types/types/CamOverlayAPI/CamOverlayAPI.d.ts +22 -22
  36. package/types/types/CamOverlayAPI/customGraphicsSchema.d.ts +12 -12
  37. package/types/types/CamOverlayAPI/scoreBoardSchema.d.ts +2 -2
  38. package/types/types/CamStreamerAPI/CamStreamerAPI.d.ts +3788 -24
  39. package/types/types/CamStreamerAPI/churchSchema.d.ts +73 -0
  40. package/types/types/CamStreamerAPI/daCastSchema.d.ts +73 -0
  41. package/types/types/CamStreamerAPI/dailymotionSchema.d.ts +73 -0
  42. package/types/types/CamStreamerAPI/facebookSchema.d.ts +73 -0
  43. package/types/types/CamStreamerAPI/gameChangerSchema.d.ts +73 -0
  44. package/types/types/CamStreamerAPI/hlsPullSchema.d.ts +73 -0
  45. package/types/types/CamStreamerAPI/hlsPushSchema.d.ts +73 -0
  46. package/types/types/CamStreamerAPI/ibmSchema.d.ts +73 -0
  47. package/types/types/CamStreamerAPI/microsoftAzureSchema.d.ts +73 -0
  48. package/types/types/CamStreamerAPI/microsoftStreamSchema.d.ts +73 -0
  49. package/types/types/CamStreamerAPI/mpegDvbSchema.d.ts +73 -0
  50. package/types/types/CamStreamerAPI/oldStreamSchema.d.ts +6 -6
  51. package/types/types/CamStreamerAPI/rtmpSchema.d.ts +73 -0
  52. package/types/types/CamStreamerAPI/sdCardSchema.d.ts +73 -0
  53. package/types/types/CamStreamerAPI/srtSchema.d.ts +73 -0
  54. package/types/types/CamStreamerAPI/streamCommonTypes.d.ts +123 -0
  55. package/types/types/CamStreamerAPI/twitchSchema.d.ts +73 -0
  56. package/types/types/CamStreamerAPI/vimeoSchema.d.ts +73 -0
  57. package/types/types/CamStreamerAPI/windySchema.d.ts +73 -0
  58. package/types/types/CamStreamerAPI/wowzaSchema.d.ts +73 -0
  59. package/types/types/CamStreamerAPI/youtubeSchema.d.ts +118 -0
@@ -123,10 +123,83 @@ export declare const youtubeSchema: z.ZodObject<{
123
123
  videobitrate?: number | undefined;
124
124
  videomaxbitrate?: number | undefined;
125
125
  }>;
126
+ audio: z.ZodDiscriminatedUnion<"source", [z.ZodObject<{
127
+ source: z.ZodLiteral<"none">;
128
+ }, "strip", z.ZodTypeAny, {
129
+ source: "none";
130
+ }, {
131
+ source: "none";
132
+ }>, z.ZodObject<{
133
+ source: z.ZodLiteral<"microphone">;
134
+ audioChannelNbr: z.ZodUnion<[z.ZodLiteral<0>, z.ZodLiteral<1>]>;
135
+ }, "strip", z.ZodTypeAny, {
136
+ source: "microphone";
137
+ audioChannelNbr: 0 | 1;
138
+ }, {
139
+ source: "microphone";
140
+ audioChannelNbr: 0 | 1;
141
+ }>, z.ZodObject<{
142
+ source: z.ZodLiteral<"file">;
143
+ fileName: z.ZodString;
144
+ filePath: z.ZodString;
145
+ }, "strip", z.ZodTypeAny, {
146
+ source: "file";
147
+ fileName: string;
148
+ filePath: string;
149
+ }, {
150
+ source: "file";
151
+ fileName: string;
152
+ filePath: string;
153
+ }>, z.ZodObject<{
154
+ source: z.ZodLiteral<"url">;
155
+ fileName: z.ZodString;
156
+ fileUrl: z.ZodString;
157
+ avSyncMsec: z.ZodNumber;
158
+ }, "strip", z.ZodTypeAny, {
159
+ source: "url";
160
+ fileName: string;
161
+ fileUrl: string;
162
+ avSyncMsec: number;
163
+ }, {
164
+ source: "url";
165
+ fileName: string;
166
+ fileUrl: string;
167
+ avSyncMsec: number;
168
+ }>]>;
126
169
  } & {
127
170
  type: z.ZodLiteral<"youtube">;
171
+ description: z.ZodOptional<z.ZodString>;
172
+ playlist: z.ZodOptional<z.ZodString>;
173
+ tags: z.ZodArray<z.ZodString, "many">;
174
+ notificationEmail: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
175
+ streamPrivacy: z.ZodUnion<[z.ZodLiteral<"public">, z.ZodLiteral<"unlisted">, z.ZodLiteral<"private">]>;
176
+ latency: z.ZodUnion<[z.ZodLiteral<"normal">, z.ZodLiteral<"low">, z.ZodLiteral<"ultra_low">]>;
177
+ afterEndStatus: z.ZodUnion<[z.ZodLiteral<"no_change">, z.ZodLiteral<"public">, z.ZodLiteral<"unlisted">, z.ZodLiteral<"private">]>;
178
+ cameraLedStatus: z.ZodBoolean;
179
+ dvr: z.ZodBoolean;
180
+ saveToSdCard: z.ZodBoolean;
181
+ statusCameraLed: z.ZodBoolean;
182
+ statusCameraOutput: z.ZodString;
183
+ hasWatchdogs: z.ZodBoolean;
184
+ countdown: z.ZodBoolean;
185
+ enableManualControl: z.ZodBoolean;
128
186
  }, "strip", z.ZodTypeAny, {
129
187
  type: "youtube";
188
+ audio: {
189
+ source: "none";
190
+ } | {
191
+ source: "microphone";
192
+ audioChannelNbr: 0 | 1;
193
+ } | {
194
+ source: "file";
195
+ fileName: string;
196
+ filePath: string;
197
+ } | {
198
+ source: "url";
199
+ fileName: string;
200
+ fileUrl: string;
201
+ avSyncMsec: number;
202
+ };
130
203
  enabled: boolean;
131
204
  id: number;
132
205
  active: boolean;
@@ -162,8 +235,38 @@ export declare const youtubeSchema: z.ZodObject<{
162
235
  videobitrate?: number | undefined;
163
236
  videomaxbitrate?: number | undefined;
164
237
  };
238
+ statusCameraLed: boolean;
239
+ statusCameraOutput: string;
240
+ saveToSdCard: boolean;
241
+ tags: string[];
242
+ streamPrivacy: "public" | "unlisted" | "private";
243
+ latency: "normal" | "low" | "ultra_low";
244
+ afterEndStatus: "public" | "unlisted" | "private" | "no_change";
245
+ cameraLedStatus: boolean;
246
+ dvr: boolean;
247
+ hasWatchdogs: boolean;
248
+ countdown: boolean;
249
+ enableManualControl: boolean;
250
+ playlist?: string | undefined;
251
+ description?: string | undefined;
252
+ notificationEmail?: string[] | undefined;
165
253
  }, {
166
254
  type: "youtube";
255
+ audio: {
256
+ source: "none";
257
+ } | {
258
+ source: "microphone";
259
+ audioChannelNbr: 0 | 1;
260
+ } | {
261
+ source: "file";
262
+ fileName: string;
263
+ filePath: string;
264
+ } | {
265
+ source: "url";
266
+ fileName: string;
267
+ fileUrl: string;
268
+ avSyncMsec: number;
269
+ };
167
270
  enabled: boolean;
168
271
  id: number;
169
272
  active: boolean;
@@ -199,4 +302,19 @@ export declare const youtubeSchema: z.ZodObject<{
199
302
  videobitrate?: number | undefined;
200
303
  videomaxbitrate?: number | undefined;
201
304
  };
305
+ statusCameraLed: boolean;
306
+ statusCameraOutput: string;
307
+ saveToSdCard: boolean;
308
+ tags: string[];
309
+ streamPrivacy: "public" | "unlisted" | "private";
310
+ latency: "normal" | "low" | "ultra_low";
311
+ afterEndStatus: "public" | "unlisted" | "private" | "no_change";
312
+ cameraLedStatus: boolean;
313
+ dvr: boolean;
314
+ hasWatchdogs: boolean;
315
+ countdown: boolean;
316
+ enableManualControl: boolean;
317
+ playlist?: string | undefined;
318
+ description?: string | undefined;
319
+ notificationEmail?: string[] | undefined;
202
320
  }>;