camstreamerlib 5.0.0-54e362c → 5.0.0-5bbcf7f

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.
@@ -157,7 +157,6 @@ export declare class CamSwitcherAPI<Client extends IClient<TResponse, any>> exte
157
157
  bitrateVapixParams?: string | null | undefined;
158
158
  audioSampleRate?: number | undefined;
159
159
  audioChannelCount?: 1 | 2 | undefined;
160
- audioBitrate?: number | undefined;
161
160
  keyboard?: {
162
161
  fromSource: string | null;
163
162
  none: string | null;
@@ -156,7 +156,6 @@ class CamSwitcherAPI extends BasicAPI_1.BasicAPI {
156
156
  audio: {
157
157
  sampleRate: data.audioSampleRate,
158
158
  channelCount: data.audioChannelCount,
159
- bitrate: data.audioBitrate,
160
159
  },
161
160
  keyboard: data.keyboard,
162
161
  };
@@ -208,7 +207,6 @@ class CamSwitcherAPI extends BasicAPI_1.BasicAPI {
208
207
  const settings = {
209
208
  audioSampleRate: saveData.audio?.sampleRate,
210
209
  audioChannelCount: saveData.audio?.channelCount,
211
- audioBitrate: saveData.audio?.bitrate,
212
210
  keyboard: saveData.keyboard,
213
211
  fps: saveData.video.fps,
214
212
  resolution: saveData.video.resolution,
@@ -237,7 +237,6 @@ export declare const cameraOptionsSchema: z.ZodObject<{
237
237
  bitrateVapixParams: z.ZodOptional<z.ZodNullable<z.ZodString>>;
238
238
  audioSampleRate: z.ZodOptional<z.ZodNumber>;
239
239
  audioChannelCount: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<1>, z.ZodLiteral<2>]>>;
240
- audioBitrate: z.ZodOptional<z.ZodNumber>;
241
240
  keyboard: z.ZodOptional<z.ZodObject<{
242
241
  fromSource: z.ZodNullable<z.ZodString>;
243
242
  none: z.ZodNullable<z.ZodString>;
@@ -145,7 +145,6 @@ exports.cameraOptionsSchema = common_1.bitrateVapixParamsSchema
145
145
  bitrateVapixParams: zod_1.z.string().nullable(),
146
146
  audioSampleRate: zod_1.z.number(),
147
147
  audioChannelCount: common_1.audioChannelCountSchema,
148
- audioBitrate: zod_1.z.number().int().nonnegative(),
149
148
  keyboard: zod_1.z.object({
150
149
  fromSource: common_1.keyboardShortcutSchema,
151
150
  none: common_1.keyboardShortcutSchema,
@@ -153,7 +153,6 @@ export class CamSwitcherAPI extends BasicAPI {
153
153
  audio: {
154
154
  sampleRate: data.audioSampleRate,
155
155
  channelCount: data.audioChannelCount,
156
- bitrate: data.audioBitrate,
157
156
  },
158
157
  keyboard: data.keyboard,
159
158
  };
@@ -205,7 +204,6 @@ export class CamSwitcherAPI extends BasicAPI {
205
204
  const settings = {
206
205
  audioSampleRate: saveData.audio?.sampleRate,
207
206
  audioChannelCount: saveData.audio?.channelCount,
208
- audioBitrate: saveData.audio?.bitrate,
209
207
  keyboard: saveData.keyboard,
210
208
  fps: saveData.video.fps,
211
209
  resolution: saveData.video.resolution,
@@ -142,7 +142,6 @@ export const cameraOptionsSchema = bitrateVapixParamsSchema
142
142
  bitrateVapixParams: z.string().nullable(),
143
143
  audioSampleRate: z.number(),
144
144
  audioChannelCount: audioChannelCountSchema,
145
- audioBitrate: z.number().int().nonnegative(),
146
145
  keyboard: z.object({
147
146
  fromSource: keyboardShortcutSchema,
148
147
  none: keyboardShortcutSchema,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "camstreamerlib",
3
- "version": "5.0.0-54e362c",
3
+ "version": "5.0.0-5bbcf7f",
4
4
  "description": "Helper library for CamStreamer ACAP applications.",
5
5
  "prettier": "@camstreamer/prettier-config",
6
6
  "engine": {
@@ -157,7 +157,6 @@ export declare class CamSwitcherAPI<Client extends IClient<TResponse, any>> exte
157
157
  bitrateVapixParams?: string | null | undefined;
158
158
  audioSampleRate?: number | undefined;
159
159
  audioChannelCount?: 1 | 2 | undefined;
160
- audioBitrate?: number | undefined;
161
160
  keyboard?: {
162
161
  fromSource: string | null;
163
162
  none: string | null;
@@ -237,7 +237,6 @@ export declare const cameraOptionsSchema: z.ZodObject<{
237
237
  bitrateVapixParams: z.ZodOptional<z.ZodNullable<z.ZodString>>;
238
238
  audioSampleRate: z.ZodOptional<z.ZodNumber>;
239
239
  audioChannelCount: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<1>, z.ZodLiteral<2>]>>;
240
- audioBitrate: z.ZodOptional<z.ZodNumber>;
241
240
  keyboard: z.ZodOptional<z.ZodObject<{
242
241
  fromSource: z.ZodNullable<z.ZodString>;
243
242
  none: z.ZodNullable<z.ZodString>;