anthumchris / fetch-stream-audio

Low Latency web audio playback examples for decoding audio streams in chunks with Fetch & Streams APIs

Home Page:https://fetch-stream-audio.anthum.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Create Reusable Packaged Module

anthumchris opened this issue · comments

This repo originally started as a proof-of-concept and could evolve into a formally packaged module could better serve the web community. The lessons and benefits learned by this POC could be used by other devs on their websites. A beginner also commented that the code was hard to follow because of inexperience building with NodeJS. Therefore, ease-of-use or drop-in implementation is also a priority. Identifiable goals could be:

  1. Feedback & participation from the community
  2. Opus audio playback in Safari (WASM-supported versions)
  3. Fast audio playback for low bandwidth or mobile users (56.6k and < 3G)
  4. Encouraging Opus over WAV in websites
  5. Encouraging Opus over MP3 and older lossy formats
  6. Simple API (src, play(), pause()) with advanced buffer options
  7. Fast playback of static Ogg Opus files
  8. Fast playback of live Ogg Opus streams (e.g. Icecast)