@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.
- package/README.md +402 -323
- package/dist/decoders/wasm-decoder.d.ts +0 -1
- package/dist/sources/mp4-file-source.d.ts +7 -1
- package/dist/web-live-player.cjs +3 -3
- package/dist/web-live-player.mjs +2407 -2314
- package/package.json +57 -54
- package/dist/player/base-player.test.d.ts +0 -8
- package/dist/scheduling/frame-scheduler.test.d.ts +0 -11
- package/dist/vitest.config.d.ts +0 -2
|
@@ -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
|
*/
|