@stinkycomputing/web-live-player 0.1.0 → 0.1.2

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.
@@ -14,7 +14,6 @@ export declare class WasmDecoder implements IVideoDecoder {
14
14
  private _queueSize;
15
15
  private pendingTimestamps;
16
16
  private pendingFrames;
17
- private maxQueueSize;
18
17
  private onFrameDecoded?;
19
18
  private onError?;
20
19
  private onQueueOverflow?;
@@ -54,6 +54,7 @@ export declare class MP4FileSource {
54
54
  private totalVideoSamples;
55
55
  private totalAudioSamples;
56
56
  private samplesRequested;
57
+ private isProgressiveLoading;
57
58
  private fileSize;
58
59
  private loadedBytes;
59
60
  private videoDescription;
@@ -73,9 +74,14 @@ export declare class MP4FileSource {
73
74
  */
74
75
  getAudioDescription(): Uint8Array | null;
75
76
  /**
76
- * Load an MP4 file from a URL
77
+ * Load an MP4 file from a URL using range-based loading for better performance.
78
+ * Automatically falls back to full download if server doesn't support ranges.
77
79
  */
78
80
  loadFromUrl(url: string): Promise<MP4FileInfo>;
81
+ /**
82
+ * Continue loading remaining chunks in background after initial metadata is ready
83
+ */
84
+ private continueLoadingInBackground;
79
85
  /**
80
86
  * Load an MP4 file from a File object (e.g., from file input)
81
87
  */