@viji-dev/core 0.8.5 → 0.8.6
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/artist-dts-p5.js +1 -1
- package/dist/artist-dts.js +1 -1
- package/dist/artist-global-p5.d.ts +1 -1
- package/dist/artist-global.d.ts +1 -1
- package/dist/docs-api.js +2 -2
- package/dist/{essentia-wasm.web-DwSQMYtc.js → essentia-wasm.web-CaXce3AA.js} +2 -2
- package/dist/{index-DbnjzNSY.js → index-BQtrhfjg.js} +41 -39
- package/dist/index.d.ts +19 -5
- package/dist/index.js +1 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -2657,7 +2657,7 @@ declare type TrackingState = 'TRACKING' | 'LOCKED' | 'BREAKDOWN' | 'LOST';
|
|
|
2657
2657
|
/** Returned by `on*` listener registration calls; invoke to unsubscribe. */
|
|
2658
2658
|
export declare type Unsubscribe = () => void;
|
|
2659
2659
|
|
|
2660
|
-
export declare const VERSION = "0.8.
|
|
2660
|
+
export declare const VERSION = "0.8.5";
|
|
2661
2661
|
|
|
2662
2662
|
/**
|
|
2663
2663
|
* Real-time video API: drawable frame, dimensions, and the source-side
|
|
@@ -3051,7 +3051,6 @@ export declare class VijiCore {
|
|
|
3051
3051
|
private eventSourceCore;
|
|
3052
3052
|
private frameSourceCores;
|
|
3053
3053
|
private eventSourceCleanup;
|
|
3054
|
-
private resizeSyncEnabled;
|
|
3055
3054
|
private currentInteractionEnabled;
|
|
3056
3055
|
private parameterGroups;
|
|
3057
3056
|
private parameterValues;
|
|
@@ -3259,10 +3258,12 @@ export declare class VijiCore {
|
|
|
3259
3258
|
*/
|
|
3260
3259
|
injectFrame(bitmap: ImageBitmap, streamIndex: number): void;
|
|
3261
3260
|
/**
|
|
3262
|
-
* Link this core to receive events from a
|
|
3263
|
-
*
|
|
3261
|
+
* Link this core to receive input events (mouse/keyboard/touch) from a
|
|
3262
|
+
* source core. Event forwarding only — resolution and frame-rate are pushed
|
|
3263
|
+
* mixer→sources through the frame-source relationship (see
|
|
3264
|
+
* {@link linkFrameSources}), not here.
|
|
3264
3265
|
*/
|
|
3265
|
-
linkEventSource(sourceCore: VijiCore
|
|
3266
|
+
linkEventSource(sourceCore: VijiCore): void;
|
|
3266
3267
|
/**
|
|
3267
3268
|
* Unlink from event source
|
|
3268
3269
|
*/
|
|
@@ -3275,6 +3276,19 @@ export declare class VijiCore {
|
|
|
3275
3276
|
* Unlink all frame sources
|
|
3276
3277
|
*/
|
|
3277
3278
|
unlinkFrameSources(): void;
|
|
3279
|
+
/**
|
|
3280
|
+
* Push this (mixer) core's effective resolution and frame-rate mode to every
|
|
3281
|
+
* linked frame source, so sources render at exactly the compositor's quality
|
|
3282
|
+
* (no wasted pixels/frames the compositor would discard). No-op unless frame
|
|
3283
|
+
* sources are linked, so normal single-core use is unaffected. Re-invoked on
|
|
3284
|
+
* link and on every `setResolution`/`setFrameRate`/`updateResolution`.
|
|
3285
|
+
*
|
|
3286
|
+
* Each source is guarded on `ready` (a not-yet-initialized or destroyed
|
|
3287
|
+
* source would throw from `setResolution`/`setFrameRate`). `setFrameRate` is
|
|
3288
|
+
* async; its promise is intentionally not awaited (fire-and-forget) with a
|
|
3289
|
+
* catch so a source torn down mid-call cannot raise an unhandled rejection.
|
|
3290
|
+
*/
|
|
3291
|
+
private syncFrameSourceQuality;
|
|
3278
3292
|
/**
|
|
3279
3293
|
* Get parameter groups filtered by active capabilities
|
|
3280
3294
|
*/
|
package/dist/index.js
CHANGED