Skip to content

Adding AudioBlobCache - #73

Merged
iambalaam merged 4 commits into
mainfrom
audio-blob-caching
Aug 6, 2026
Merged

Adding AudioBlobCache#73
iambalaam merged 4 commits into
mainfrom
audio-blob-caching

Conversation

@iambalaam

Copy link
Copy Markdown
Contributor
  • Adds a BlobCache that fetches data and stores as blobs
  • Adds AudioBlobCache (thin wrapper) that prepares HTMLAudioElements
  • Adds test suite and test server
  • Currently unused, but will be piped into the rest of the MediaPreloader in the next PR

@iambalaam
iambalaam force-pushed the audio-blob-caching branch from 20c4dc4 to 09c7ae6 Compare July 29, 2026 10:26
};

describe('AudioBlobCache', () => {
beforeEach(() => cleanup());

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just wanted to highlight the difference from our normal unit-test practise here.

For stateful / browser tests, it's much better to cleanup the state before the test than after.

Base automatically changed from web-audio-testing to main August 3, 2026 14:56
Comment thread packages/javascript/cypress/support/delayedFileServerConfig.ts
Comment thread packages/javascript/src/state-based/BlobCache.ts Outdated
Comment thread packages/javascript/cypress/component/TestFileServer.cy.ts Outdated
@iambalaam
iambalaam merged commit 6aad827 into main Aug 6, 2026
5 checks passed
@iambalaam
iambalaam deleted the audio-blob-caching branch August 6, 2026 08:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants