@stinkycomputing/sesame-api-client 1.4.1-alpha.1 → 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 +9 -6
- package/dist/browser.cjs.map +2 -2
- package/dist/browser.mjs +9 -6
- package/dist/browser.mjs.map +2 -2
- package/dist/command-list.d.ts +6 -1
- package/dist/command-list.d.ts.map +1 -1
- package/dist/index.cjs +9 -6
- package/dist/index.cjs.map +2 -2
- package/dist/index.mjs +9 -6
- package/dist/index.mjs.map +2 -2
- package/package.json +1 -1
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,
|
|
@@ -21335,18 +21336,20 @@ var CommandList = class {
|
|
|
21335
21336
|
filename: cfg.recorderConfig.filename,
|
|
21336
21337
|
sizeGb: cfg.recorderConfig.sizeGb,
|
|
21337
21338
|
groupId: cfg.recorderConfig.groupId,
|
|
21338
|
-
recorderType: cfg.recorderConfig.
|
|
21339
|
+
recorderType: cfg.recorderConfig.recorderType
|
|
21339
21340
|
};
|
|
21340
21341
|
break;
|
|
21341
21342
|
case sesame.v1.outputs.OutputType.OUTPUT_TYPE_ENCODED_SUPER_SLOWMO_RECORDER:
|
|
21342
|
-
if (cfg.
|
|
21343
|
+
if (cfg.superSlowmoRecorderConfig == null) throw new Error("No super slowmo recorder config found");
|
|
21343
21344
|
if (cfg.encodedConfig == null) throw new Error("No output config found");
|
|
21344
21345
|
outputConfig.superSlowmoRecorder = {
|
|
21345
21346
|
encoded: this.buildOutputEncodedConfig(cfg.encodedConfig),
|
|
21346
|
-
filename: cfg.
|
|
21347
|
-
sizeGb: cfg.
|
|
21348
|
-
groupId: cfg.
|
|
21349
|
-
recorderType: cfg.
|
|
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) || []
|
|
21350
21353
|
};
|
|
21351
21354
|
break;
|
|
21352
21355
|
case sesame.v1.outputs.OutputType.OUTPUT_TYPE_SYSTEM_AUDIO:
|