@vosjs/studio-core 0.30.2 → 0.30.3
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/index.d.ts +25 -5
- package/dist/index.js.map +1 -1
- package/package.json +3 -3
package/dist/index.d.ts
CHANGED
|
@@ -301,9 +301,28 @@ interface RecordingMeta {
|
|
|
301
301
|
dpr: number;
|
|
302
302
|
/** page/browser zoom at capture. */
|
|
303
303
|
zoom: number;
|
|
304
|
-
/**
|
|
304
|
+
/**
|
|
305
|
+
* Wall-clock origin (Date.now) of the take's timeline: the instant the
|
|
306
|
+
* recorder's `start()` was CALLED, which is where the file's first frame
|
|
307
|
+
* sits. Never the recorder's `start` EVENT — Chrome fires that from the
|
|
308
|
+
* muxer's first write, seconds late under load, and a t0 stamped there runs
|
|
309
|
+
* every cursor event ahead of the footage by that lag.
|
|
310
|
+
*/
|
|
305
311
|
t0: number;
|
|
312
|
+
/**
|
|
313
|
+
* The take's length in ACTIVE ms — the file's timeline, which a pause does
|
|
314
|
+
* not advance (MediaRecorder removes paused time from the file). Cursor
|
|
315
|
+
* event times live on the same timeline.
|
|
316
|
+
*/
|
|
306
317
|
durationMs: number;
|
|
318
|
+
/** Total ms the take was paused (removed from the file and from every `t`). Absent = none. */
|
|
319
|
+
pausedMs?: number;
|
|
320
|
+
/**
|
|
321
|
+
* Diagnostic: how long after the `start()` call the recorder's `start`
|
|
322
|
+
* event fired. A large value is the load the recorder was under; it is
|
|
323
|
+
* never used for alignment.
|
|
324
|
+
*/
|
|
325
|
+
startEventDelayMs?: number;
|
|
307
326
|
/** captured pixel dimensions. */
|
|
308
327
|
width: number;
|
|
309
328
|
height: number;
|
|
@@ -322,10 +341,11 @@ interface RecordingMeta {
|
|
|
322
341
|
*/
|
|
323
342
|
hasMic?: boolean;
|
|
324
343
|
/**
|
|
325
|
-
* Recorder start skew: wall-clock ms between the main recorder's start
|
|
326
|
-
* the mic/cam sidecar recorders'
|
|
327
|
-
*
|
|
328
|
-
*
|
|
344
|
+
* Recorder start skew: wall-clock ms between the main recorder's `start()`
|
|
345
|
+
* call and the mic/cam sidecar recorders' `start()` calls (positive =
|
|
346
|
+
* sidecar started later), each the zero of its own file. Lets the consume
|
|
347
|
+
* path trim/pad a sidecar head instead of assuming t0 equality. Absent on
|
|
348
|
+
* takes without the matching sidecar.
|
|
329
349
|
*/
|
|
330
350
|
micT0DeltaMs?: number;
|
|
331
351
|
camT0DeltaMs?: number;
|