diff options
| author | Christophe Besson <cbesson@gmail.com> | 2026-08-26 13:38:04 +0200 |
|---|---|---|
| committer | Christophe Besson <cbesson@gmail.com> | 2026-08-26 13:38:04 +0200 |
| commit | 5ebebb8748453323709136d86f3b027cee309d4d (patch) | |
| tree | 33f2d19ae4e5083573f9cb84ae17d50e01e02b51 /packages/meshbay-node/src/meshbay_node/tmdb.py | |
| parent | 5dcf3066a2be83d5422ea176e39b413c4769bcf8 (diff) | |
| download | meshbay-5ebebb8748453323709136d86f3b027cee309d4d.tar.gz | |
feat(music): prefetch 2 tracks ahead instead of 1
Complements the WebRTC auto-reconnect: a track already sitting in
blobCacheRef needs no live connection to play, so whatever was fetched
before a screen lock started plays through it regardless of what the
transport is doing during the lock. One track of runway was often shorter
than the lock itself; two buys more of it. MAX_CACHED_BLOBS (3) already
covers the currently-playing track plus these two, so no cache-size change
needed.
Diffstat (limited to 'packages/meshbay-node/src/meshbay_node/tmdb.py')
0 files changed, 0 insertions, 0 deletions