@stinkycomputing/sesame-api-client 1.4.1-alpha.0 → 1.4.1-alpha.2

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/dist/browser.cjs CHANGED
@@ -21316,6 +21316,7 @@ var CommandList = class {
21316
21316
  };
21317
21317
  }
21318
21318
  buildOutputConfig(id, cfg) {
21319
+ var _a, _b;
21319
21320
  const outputConfig = {
21320
21321
  id,
21321
21322
  audioMixIds: cfg.audioMixIds,
@@ -21334,17 +21335,21 @@ var CommandList = class {
21334
21335
  encoded: this.buildOutputEncodedConfig(cfg.encodedConfig),
21335
21336
  filename: cfg.recorderConfig.filename,
21336
21337
  sizeGb: cfg.recorderConfig.sizeGb,
21337
- groupId: cfg.recorderConfig.groupId
21338
+ groupId: cfg.recorderConfig.groupId,
21339
+ recorderType: cfg.recorderConfig.recorderType
21338
21340
  };
21339
21341
  break;
21340
21342
  case sesame.v1.outputs.OutputType.OUTPUT_TYPE_ENCODED_SUPER_SLOWMO_RECORDER:
21341
- if (cfg.recorderConfig == null) throw new Error("No recorder config found");
21343
+ if (cfg.superSlowmoRecorderConfig == null) throw new Error("No super slowmo recorder config found");
21342
21344
  if (cfg.encodedConfig == null) throw new Error("No output config found");
21343
21345
  outputConfig.superSlowmoRecorder = {
21344
21346
  encoded: this.buildOutputEncodedConfig(cfg.encodedConfig),
21345
- filename: cfg.recorderConfig.filename,
21346
- sizeGb: cfg.recorderConfig.sizeGb,
21347
- groupId: cfg.recorderConfig.groupId
21347
+ filename: cfg.superSlowmoRecorderConfig.filename,
21348
+ sizeGb: cfg.superSlowmoRecorderConfig.sizeGb,
21349
+ groupId: cfg.superSlowmoRecorderConfig.groupId,
21350
+ recorderType: cfg.superSlowmoRecorderConfig.recorderType,
21351
+ compositionIds: ((_a = cfg.superSlowmoRecorderConfig) == null ? void 0 : _a.compositionIds) || [],
21352
+ sourceIds: ((_b = cfg.superSlowmoRecorderConfig) == null ? void 0 : _b.sourceIds) || []
21348
21353
  };
21349
21354
  break;
21350
21355
  case sesame.v1.outputs.OutputType.OUTPUT_TYPE_SYSTEM_AUDIO: