@viji-dev/core 0.3.9 → 0.3.11
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/assets/{viji.worker-Dq0mIiTV.js → viji.worker-Bus3443t.js} +7 -3
- package/dist/assets/{viji.worker-Dq0mIiTV.js.map → viji.worker-Bus3443t.js.map} +1 -1
- package/dist/{essentia-wasm.web-Cx2LFPy-.js → essentia-wasm.web-dGMOt-r-.js} +2 -2
- package/dist/{essentia-wasm.web-Cx2LFPy-.js.map → essentia-wasm.web-dGMOt-r-.js.map} +1 -1
- package/dist/{index-BVo5-V-R.js → index-DBTm0Ys2.js} +22 -7
- package/dist/{index-BVo5-V-R.js.map → index-DBTm0Ys2.js.map} +1 -1
- package/dist/index.d.ts +1 -0
- package/dist/index.js +1 -1
- package/package.json +1 -1
|
@@ -3392,7 +3392,11 @@ class VijiWorkerRuntime {
|
|
|
3392
3392
|
parameterSystem;
|
|
3393
3393
|
// Interaction system (Phase 7)
|
|
3394
3394
|
interactionSystem;
|
|
3395
|
-
// Video systems (multi-stream) -
|
|
3395
|
+
// Video systems (multi-stream) - sparse array with reserved index contract:
|
|
3396
|
+
// Index 0: Reserved for main video (with CV) - may be undefined if no main video
|
|
3397
|
+
// Index 1..N: Additional streams (no CV)
|
|
3398
|
+
// Index N+1..: Device streams
|
|
3399
|
+
// IMPORTANT: Index 0 is ALWAYS reserved even when main video is absent
|
|
3396
3400
|
videoSystems = [];
|
|
3397
3401
|
// Auto-capture for frame sources
|
|
3398
3402
|
autoCaptureEnabled = false;
|
|
@@ -3684,7 +3688,7 @@ class VijiWorkerRuntime {
|
|
|
3684
3688
|
...this.audioState,
|
|
3685
3689
|
getFrequencyData: () => this.audioState.frequencyData
|
|
3686
3690
|
};
|
|
3687
|
-
this.videoSystems.forEach((vs) => vs
|
|
3691
|
+
this.videoSystems.forEach((vs) => vs?.resetVideoState());
|
|
3688
3692
|
if (this.videoSystems[0]) {
|
|
3689
3693
|
Object.assign(this.viji.video, this.videoSystems[0].getVideoAPI());
|
|
3690
3694
|
}
|
|
@@ -4360,4 +4364,4 @@ async function setSceneCode(sceneCode) {
|
|
|
4360
4364
|
}
|
|
4361
4365
|
}
|
|
4362
4366
|
self.setSceneCode = setSceneCode;
|
|
4363
|
-
//# sourceMappingURL=viji.worker-
|
|
4367
|
+
//# sourceMappingURL=viji.worker-Bus3443t.js.map
|