openvideo 0.2.14 → 0.2.16

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.
@@ -1,5 +1,5 @@
1
- import { e as a, A as e, C as i, a as s, E as t, F as n, D as d } from "./index-xULbfbWy.js";
2
- import "./webworkerAll-BVuwnC-Q.js";
1
+ import { e as a, A as e, C as i, a as s, E as t, F as n, D as d } from "./index-T-Me9eJ5.js";
2
+ import "./webworkerAll-CkYxS0eA.js";
3
3
  a.add(e);
4
4
  a.mixin(i, s);
5
5
  a.add(t);
@@ -20,7 +20,7 @@ export interface IMP4ClipOpts {
20
20
  */
21
21
  __unsafe_hardwareAcceleration__?: HardwarePreference;
22
22
  }
23
- type ExtMP4Sample = Omit<MP4Sample, 'data'> & {
23
+ type ExtMP4Sample = Omit<MP4Sample, "data"> & {
24
24
  is_idr: boolean;
25
25
  deleted?: boolean;
26
26
  data: null | Uint8Array;
@@ -57,7 +57,7 @@ export declare class Video extends BaseClip implements IPlaybackCapable {
57
57
  readonly type = "Video";
58
58
  private insId;
59
59
  private logger;
60
- ready: IClip['ready'];
60
+ ready: IClip["ready"];
61
61
  private _meta;
62
62
  get meta(): {
63
63
  duration: number;
@@ -129,7 +129,7 @@ export declare class Video extends BaseClip implements IPlaybackCapable {
129
129
  * @param tickRet Data returned by tick
130
130
  *
131
131
  * */
132
- tickInterceptor: <T extends Awaited<ReturnType<Video['tick']>>>(time: number, tickRet: T) => Promise<T>;
132
+ tickInterceptor: <T extends Awaited<ReturnType<Video["tick"]>>>(time: number, tickRet: T) => Promise<T>;
133
133
  /**
134
134
  * Get image frame and audio data at specified time
135
135
  * @param time Time in microseconds
@@ -137,7 +137,7 @@ export declare class Video extends BaseClip implements IPlaybackCapable {
137
137
  tick(time: number): Promise<{
138
138
  video?: VideoFrame;
139
139
  audio: Float32Array[];
140
- state: 'success' | 'done';
140
+ state: "success" | "done";
141
141
  }>;
142
142
  private thumbAborter;
143
143
  private thumbFinder;