@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/index.mjs
CHANGED
|
@@ -21272,6 +21272,7 @@ var CommandList = class {
|
|
|
21272
21272
|
};
|
|
21273
21273
|
}
|
|
21274
21274
|
buildOutputConfig(id, cfg) {
|
|
21275
|
+
var _a, _b;
|
|
21275
21276
|
const outputConfig = {
|
|
21276
21277
|
id,
|
|
21277
21278
|
audioMixIds: cfg.audioMixIds,
|
|
@@ -21291,18 +21292,20 @@ var CommandList = class {
|
|
|
21291
21292
|
filename: cfg.recorderConfig.filename,
|
|
21292
21293
|
sizeGb: cfg.recorderConfig.sizeGb,
|
|
21293
21294
|
groupId: cfg.recorderConfig.groupId,
|
|
21294
|
-
recorderType: cfg.recorderConfig.
|
|
21295
|
+
recorderType: cfg.recorderConfig.recorderType
|
|
21295
21296
|
};
|
|
21296
21297
|
break;
|
|
21297
21298
|
case sesame.v1.outputs.OutputType.OUTPUT_TYPE_ENCODED_SUPER_SLOWMO_RECORDER:
|
|
21298
|
-
if (cfg.
|
|
21299
|
+
if (cfg.superSlowmoRecorderConfig == null) throw new Error("No super slowmo recorder config found");
|
|
21299
21300
|
if (cfg.encodedConfig == null) throw new Error("No output config found");
|
|
21300
21301
|
outputConfig.superSlowmoRecorder = {
|
|
21301
21302
|
encoded: this.buildOutputEncodedConfig(cfg.encodedConfig),
|
|
21302
|
-
filename: cfg.
|
|
21303
|
-
sizeGb: cfg.
|
|
21304
|
-
groupId: cfg.
|
|
21305
|
-
recorderType: cfg.
|
|
21303
|
+
filename: cfg.superSlowmoRecorderConfig.filename,
|
|
21304
|
+
sizeGb: cfg.superSlowmoRecorderConfig.sizeGb,
|
|
21305
|
+
groupId: cfg.superSlowmoRecorderConfig.groupId,
|
|
21306
|
+
recorderType: cfg.superSlowmoRecorderConfig.recorderType,
|
|
21307
|
+
compositionIds: ((_a = cfg.superSlowmoRecorderConfig) == null ? void 0 : _a.compositionIds) || [],
|
|
21308
|
+
sourceIds: ((_b = cfg.superSlowmoRecorderConfig) == null ? void 0 : _b.sourceIds) || []
|
|
21306
21309
|
};
|
|
21307
21310
|
break;
|
|
21308
21311
|
case sesame.v1.outputs.OutputType.OUTPUT_TYPE_SYSTEM_AUDIO:
|