@viji-dev/core 0.3.3 → 0.3.4
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/{essentia-wasm.web-CQFnoLoE.js → essentia-wasm.web-tiEk3E7k.js} +2 -2
- package/dist/{essentia-wasm.web-CQFnoLoE.js.map → essentia-wasm.web-tiEk3E7k.js.map} +1 -1
- package/dist/{index-BJPrSm-g.js → index-C45WlX2a.js} +6 -3
- package/dist/{index-BJPrSm-g.js.map → index-C45WlX2a.js.map} +1 -1
- package/dist/index.js +1 -1
- package/package.json +1 -1
|
@@ -1935,7 +1935,7 @@ class EssentiaOnsetDetection {
|
|
|
1935
1935
|
this.initPromise = (async () => {
|
|
1936
1936
|
try {
|
|
1937
1937
|
const essentiaModule = await import("./essentia.js-core.es-DnrJE0uR.js");
|
|
1938
|
-
const wasmModule = await import("./essentia-wasm.web-
|
|
1938
|
+
const wasmModule = await import("./essentia-wasm.web-tiEk3E7k.js").then((n) => n.e);
|
|
1939
1939
|
const EssentiaClass = essentiaModule.Essentia || essentiaModule.default?.Essentia || essentiaModule.default;
|
|
1940
1940
|
let WASMModule = wasmModule.default || wasmModule.EssentiaWASM || wasmModule.default?.EssentiaWASM;
|
|
1941
1941
|
if (!WASMModule) {
|
|
@@ -14327,7 +14327,8 @@ class VideoCoordinator {
|
|
|
14327
14327
|
type: "video-config-update",
|
|
14328
14328
|
data: {
|
|
14329
14329
|
disconnect: true,
|
|
14330
|
-
timestamp: performance.now()
|
|
14330
|
+
timestamp: performance.now(),
|
|
14331
|
+
streamIndex: this.streamIndex
|
|
14331
14332
|
}
|
|
14332
14333
|
});
|
|
14333
14334
|
}
|
|
@@ -16134,6 +16135,7 @@ class VijiCore {
|
|
|
16134
16135
|
timestamp: performance.now()
|
|
16135
16136
|
});
|
|
16136
16137
|
this.deviceVideoCoordinators.set(deviceId, coordinator);
|
|
16138
|
+
this.syncDeviceStateToWorker();
|
|
16137
16139
|
this.debugLog(`Device video set for ${deviceId} at index ${streamIndex}`);
|
|
16138
16140
|
}
|
|
16139
16141
|
/**
|
|
@@ -16145,6 +16147,7 @@ class VijiCore {
|
|
|
16145
16147
|
if (!coordinator) return;
|
|
16146
16148
|
coordinator.resetVideoState();
|
|
16147
16149
|
this.deviceVideoCoordinators.delete(deviceId);
|
|
16150
|
+
this.syncDeviceStateToWorker();
|
|
16148
16151
|
this.debugLog(`Device video cleared for ${deviceId}`);
|
|
16149
16152
|
}
|
|
16150
16153
|
/**
|
|
@@ -16265,4 +16268,4 @@ export {
|
|
|
16265
16268
|
VijiCoreError as b,
|
|
16266
16269
|
getDefaultExportFromCjs as g
|
|
16267
16270
|
};
|
|
16268
|
-
//# sourceMappingURL=index-
|
|
16271
|
+
//# sourceMappingURL=index-C45WlX2a.js.map
|