@hyperframes/producer 0.9.71 → 0.9.72
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/distributed.js
CHANGED
|
@@ -143,7 +143,7 @@ function formatExportFrameName(index, ext) {
|
|
|
143
143
|
}
|
|
144
144
|
|
|
145
145
|
// src/services/renderOrchestrator.ts
|
|
146
|
-
import { audioFailureDiagnostics as audioFailureDiagnostics2,
|
|
146
|
+
import { audioFailureDiagnostics as audioFailureDiagnostics2, cpuBudget } from "@hyperframes/engine";
|
|
147
147
|
import {
|
|
148
148
|
existsSync as existsSync14,
|
|
149
149
|
mkdirSync as mkdirSync6,
|
|
@@ -13053,7 +13053,7 @@ import {
|
|
|
13053
13053
|
probeBeginFrameLiveness as probeBeginFrameLiveness2,
|
|
13054
13054
|
readWebGlVendorInfoFromCanvas,
|
|
13055
13055
|
resolveConfig as resolveConfig5,
|
|
13056
|
-
|
|
13056
|
+
cpuBudget as cpuBudget2
|
|
13057
13057
|
} from "@hyperframes/engine";
|
|
13058
13058
|
import { readWebGlVendorInfoFromCanvas as readWebGlVendorInfoFromCanvas2 } from "@hyperframes/engine";
|
|
13059
13059
|
var LEGACY_DISTRIBUTED_VP9_CPU_USED = 2;
|
|
@@ -13583,9 +13583,9 @@ async function renderChunk(planDir, chunkIndex, outputChunkPath, options) {
|
|
|
13583
13583
|
const captureSession = session;
|
|
13584
13584
|
session = null;
|
|
13585
13585
|
verifyStarted = Date.now();
|
|
13586
|
-
overlap.current = canEncodeWhileCapturing(encodeInput, chunkWorkerCount,
|
|
13586
|
+
overlap.current = canEncodeWhileCapturing(encodeInput, chunkWorkerCount, cpuBudget2()) ? encodeWhileCapturing(encodeInput, framesInChunk, {
|
|
13587
13587
|
workerCount: chunkWorkerCount,
|
|
13588
|
-
cpuCount:
|
|
13588
|
+
cpuCount: cpuBudget2()
|
|
13589
13589
|
}) : null;
|
|
13590
13590
|
await observeRenderStage(
|
|
13591
13591
|
new RenderObservabilityRecorder({ pipelineStartMs: start, log }),
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": "0.1.0",
|
|
3
3
|
"buildId": "dev",
|
|
4
|
-
"sha256": "
|
|
4
|
+
"sha256": "03b1e23cf3c6edf67647df0e40ebe85fa36e18b824f7206253a60df1eb22aa1b",
|
|
5
5
|
"artifacts": {
|
|
6
6
|
"iife": "hyperframe.runtime.iife.js",
|
|
7
7
|
"esm": "hyperframe.runtime.mjs"
|