perf(api): add HTTP range requests on media sources #9

Merged
dylan merged 9 commits from perf/incremental-video-loading into master 2026-07-25 11:06:40 +01:00
2 changed files with 2 additions and 2 deletions
Showing only changes of commit 88cf2103f6 - Show all commits

View File

@@ -17,7 +17,7 @@ type MediaPlayerProps = {
/** Fetches the raw video blob for the given id. */ /** Fetches the raw video blob for the given id. */
fetchBlob: (id: string) => Promise<Blob>, fetchBlob: (id: string) => Promise<Blob>,
/** Fetches the media metadata for the given id. */ /** Fetches the media metadata for the given id. */
fetchDetails: (id: string) => Promise<MediaItem>, fetchDetails: (id: string) => Promise<MediaItem | null>,
}; };
const MediaPlayer = ({ noun, fetchBlob, fetchDetails }: MediaPlayerProps) => { const MediaPlayer = ({ noun, fetchBlob, fetchDetails }: MediaPlayerProps) => {