camstreamerlib 4.0.0-beta.95 → 4.0.0-beta.96

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 (35) hide show
  1. package/cjs/CamOverlayAPI.d.ts +4 -4
  2. package/cjs/CamStreamerAPI.d.ts +210 -30
  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 +1337 -135
  7. package/cjs/types/CamStreamerAPI/facebookSchema.d.ts +73 -0
  8. package/cjs/types/CamStreamerAPI/hlsSchema.d.ts +73 -0
  9. package/cjs/types/CamStreamerAPI/mpegDvbSchema.d.ts +73 -0
  10. package/cjs/types/CamStreamerAPI/oldStreamSchema.d.ts +6 -6
  11. package/cjs/types/CamStreamerAPI/rtmpSchema.d.ts +73 -0
  12. package/cjs/types/CamStreamerAPI/sdCardSchema.d.ts +73 -0
  13. package/cjs/types/CamStreamerAPI/streamCommonTypes.d.ts +118 -0
  14. package/cjs/types/CamStreamerAPI/streamCommonTypes.js +19 -1
  15. package/cjs/types/CamStreamerAPI/windySchema.d.ts +73 -0
  16. package/cjs/types/CamStreamerAPI/youtubeSchema.d.ts +73 -45
  17. package/cjs/types/CamStreamerAPI/youtubeSchema.js +0 -15
  18. package/esm/types/CamStreamerAPI/streamCommonTypes.js +18 -0
  19. package/esm/types/CamStreamerAPI/youtubeSchema.js +0 -15
  20. package/package.json +1 -1
  21. package/types/CamOverlayAPI.d.ts +4 -4
  22. package/types/CamStreamerAPI.d.ts +210 -30
  23. package/types/types/CamOverlayAPI/CamOverlayAPI.d.ts +22 -22
  24. package/types/types/CamOverlayAPI/customGraphicsSchema.d.ts +12 -12
  25. package/types/types/CamOverlayAPI/scoreBoardSchema.d.ts +2 -2
  26. package/types/types/CamStreamerAPI/CamStreamerAPI.d.ts +1337 -135
  27. package/types/types/CamStreamerAPI/facebookSchema.d.ts +73 -0
  28. package/types/types/CamStreamerAPI/hlsSchema.d.ts +73 -0
  29. package/types/types/CamStreamerAPI/mpegDvbSchema.d.ts +73 -0
  30. package/types/types/CamStreamerAPI/oldStreamSchema.d.ts +6 -6
  31. package/types/types/CamStreamerAPI/rtmpSchema.d.ts +73 -0
  32. package/types/types/CamStreamerAPI/sdCardSchema.d.ts +73 -0
  33. package/types/types/CamStreamerAPI/streamCommonTypes.d.ts +118 -0
  34. package/types/types/CamStreamerAPI/windySchema.d.ts +73 -0
  35. package/types/types/CamStreamerAPI/youtubeSchema.d.ts +73 -45
@@ -97,10 +97,68 @@ export declare const windySchema: z.ZodObject<{
97
97
  isActive: boolean;
98
98
  }[];
99
99
  }>]>;
100
+ audio: z.ZodDiscriminatedUnion<"source", [z.ZodObject<{
101
+ source: z.ZodLiteral<"none">;
102
+ }, "strip", z.ZodTypeAny, {
103
+ source: "none";
104
+ }, {
105
+ source: "none";
106
+ }>, z.ZodObject<{
107
+ source: z.ZodLiteral<"microphone">;
108
+ channel: z.ZodNumber;
109
+ }, "strip", z.ZodTypeAny, {
110
+ channel: number;
111
+ source: "microphone";
112
+ }, {
113
+ channel: number;
114
+ source: "microphone";
115
+ }>, z.ZodObject<{
116
+ source: z.ZodLiteral<"file">;
117
+ fileName: z.ZodString;
118
+ filePath: z.ZodString;
119
+ }, "strip", z.ZodTypeAny, {
120
+ source: "file";
121
+ fileName: string;
122
+ filePath: string;
123
+ }, {
124
+ source: "file";
125
+ fileName: string;
126
+ filePath: string;
127
+ }>, z.ZodObject<{
128
+ source: z.ZodLiteral<"url">;
129
+ fileName: z.ZodString;
130
+ fileUrl: z.ZodString;
131
+ avSyncMsec: z.ZodNumber;
132
+ }, "strip", z.ZodTypeAny, {
133
+ source: "url";
134
+ fileName: string;
135
+ fileUrl: string;
136
+ avSyncMsec: number;
137
+ }, {
138
+ source: "url";
139
+ fileName: string;
140
+ fileUrl: string;
141
+ avSyncMsec: number;
142
+ }>]>;
100
143
  } & {
101
144
  type: z.ZodLiteral<"windy">;
102
145
  }, "strip", z.ZodTypeAny, {
103
146
  type: "windy";
147
+ audio: {
148
+ source: "none";
149
+ } | {
150
+ channel: number;
151
+ source: "microphone";
152
+ } | {
153
+ source: "file";
154
+ fileName: string;
155
+ filePath: string;
156
+ } | {
157
+ source: "url";
158
+ fileName: string;
159
+ fileUrl: string;
160
+ avSyncMsec: number;
161
+ };
104
162
  enabled: boolean;
105
163
  id: number;
106
164
  active: boolean;
@@ -128,6 +186,21 @@ export declare const windySchema: z.ZodObject<{
128
186
  };
129
187
  }, {
130
188
  type: "windy";
189
+ audio: {
190
+ source: "none";
191
+ } | {
192
+ channel: number;
193
+ source: "microphone";
194
+ } | {
195
+ source: "file";
196
+ fileName: string;
197
+ filePath: string;
198
+ } | {
199
+ source: "url";
200
+ fileName: string;
201
+ fileUrl: string;
202
+ avSyncMsec: number;
203
+ };
131
204
  enabled: boolean;
132
205
  id: number;
133
206
  active: boolean;
@@ -97,25 +97,68 @@ export declare const youtubeSchema: z.ZodObject<{
97
97
  isActive: boolean;
98
98
  }[];
99
99
  }>]>;
100
+ audio: z.ZodDiscriminatedUnion<"source", [z.ZodObject<{
101
+ source: z.ZodLiteral<"none">;
102
+ }, "strip", z.ZodTypeAny, {
103
+ source: "none";
104
+ }, {
105
+ source: "none";
106
+ }>, z.ZodObject<{
107
+ source: z.ZodLiteral<"microphone">;
108
+ channel: z.ZodNumber;
109
+ }, "strip", z.ZodTypeAny, {
110
+ channel: number;
111
+ source: "microphone";
112
+ }, {
113
+ channel: number;
114
+ source: "microphone";
115
+ }>, z.ZodObject<{
116
+ source: z.ZodLiteral<"file">;
117
+ fileName: z.ZodString;
118
+ filePath: z.ZodString;
119
+ }, "strip", z.ZodTypeAny, {
120
+ source: "file";
121
+ fileName: string;
122
+ filePath: string;
123
+ }, {
124
+ source: "file";
125
+ fileName: string;
126
+ filePath: string;
127
+ }>, z.ZodObject<{
128
+ source: z.ZodLiteral<"url">;
129
+ fileName: z.ZodString;
130
+ fileUrl: z.ZodString;
131
+ avSyncMsec: z.ZodNumber;
132
+ }, "strip", z.ZodTypeAny, {
133
+ source: "url";
134
+ fileName: string;
135
+ fileUrl: string;
136
+ avSyncMsec: number;
137
+ }, {
138
+ source: "url";
139
+ fileName: string;
140
+ fileUrl: string;
141
+ avSyncMsec: number;
142
+ }>]>;
100
143
  } & {
101
144
  type: z.ZodLiteral<"youtube">;
102
- description: z.ZodOptional<z.ZodString>;
103
- playlist: z.ZodOptional<z.ZodString>;
104
- tags: z.ZodArray<z.ZodString, "many">;
105
- notificationEmail: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
106
- streamPrivacy: z.ZodUnion<[z.ZodLiteral<"public">, z.ZodLiteral<"unlisted">, z.ZodLiteral<"private">]>;
107
- latency: z.ZodUnion<[z.ZodLiteral<"normal">, z.ZodLiteral<"low">, z.ZodLiteral<"ultra_low">]>;
108
- afterEndStatus: z.ZodUnion<[z.ZodLiteral<"no_change">, z.ZodLiteral<"public">, z.ZodLiteral<"unlisted">, z.ZodLiteral<"private">]>;
109
- cameraLedStatus: z.ZodBoolean;
110
- dvr: z.ZodBoolean;
111
- saveToSdCard: z.ZodBoolean;
112
- statusCameraLed: z.ZodBoolean;
113
- statusCameraOutput: z.ZodString;
114
- hasWatchdogs: z.ZodBoolean;
115
- countdown: z.ZodBoolean;
116
- enableManualControl: z.ZodBoolean;
117
145
  }, "strip", z.ZodTypeAny, {
118
146
  type: "youtube";
147
+ audio: {
148
+ source: "none";
149
+ } | {
150
+ channel: number;
151
+ source: "microphone";
152
+ } | {
153
+ source: "file";
154
+ fileName: string;
155
+ filePath: string;
156
+ } | {
157
+ source: "url";
158
+ fileName: string;
159
+ fileUrl: string;
160
+ avSyncMsec: number;
161
+ };
119
162
  enabled: boolean;
120
163
  id: number;
121
164
  active: boolean;
@@ -141,23 +184,23 @@ export declare const youtubeSchema: z.ZodObject<{
141
184
  isActive: boolean;
142
185
  }[];
143
186
  };
144
- statusCameraLed: boolean;
145
- statusCameraOutput: string;
146
- saveToSdCard: boolean;
147
- tags: string[];
148
- streamPrivacy: "public" | "unlisted" | "private";
149
- latency: "normal" | "low" | "ultra_low";
150
- afterEndStatus: "public" | "unlisted" | "private" | "no_change";
151
- cameraLedStatus: boolean;
152
- dvr: boolean;
153
- hasWatchdogs: boolean;
154
- countdown: boolean;
155
- enableManualControl: boolean;
156
- playlist?: string | undefined;
157
- description?: string | undefined;
158
- notificationEmail?: string[] | undefined;
159
187
  }, {
160
188
  type: "youtube";
189
+ audio: {
190
+ source: "none";
191
+ } | {
192
+ channel: number;
193
+ source: "microphone";
194
+ } | {
195
+ source: "file";
196
+ fileName: string;
197
+ filePath: string;
198
+ } | {
199
+ source: "url";
200
+ fileName: string;
201
+ fileUrl: string;
202
+ avSyncMsec: number;
203
+ };
161
204
  enabled: boolean;
162
205
  id: number;
163
206
  active: boolean;
@@ -183,19 +226,4 @@ export declare const youtubeSchema: z.ZodObject<{
183
226
  isActive: boolean;
184
227
  }[];
185
228
  };
186
- statusCameraLed: boolean;
187
- statusCameraOutput: string;
188
- saveToSdCard: boolean;
189
- tags: string[];
190
- streamPrivacy: "public" | "unlisted" | "private";
191
- latency: "normal" | "low" | "ultra_low";
192
- afterEndStatus: "public" | "unlisted" | "private" | "no_change";
193
- cameraLedStatus: boolean;
194
- dvr: boolean;
195
- hasWatchdogs: boolean;
196
- countdown: boolean;
197
- enableManualControl: boolean;
198
- playlist?: string | undefined;
199
- description?: string | undefined;
200
- notificationEmail?: string[] | undefined;
201
229
  }>;