generates audio data on the fly with wasm running in a WebWorker

raw 55467Hz --[speexdsp_resampler]--> raw 48000Hz --[opus]--> opus 160kbps --> MKV WebM profile --> stream to MediaSource buffer

tested with firefox, chromium on Linux

speexdsp:

Copyright 2002-2008   Xiph.org Foundation
Copyright 2002-2008   Jean-Marc Valin
Copyright 2005-2007 Analog Devices Inc.
Copyright 2005-2008 Commonwealth Scientific and Industrial Research
                        Organisation (CSIRO)
Copyright 1993, 2002, 2006 David Rowe
Copyright 2003    EpicGames
Copyright 1992-1994 Jutta Degener, Carsten Bormann

Opus:

Copyright 2001-2011 Xiph.Org, Skype Limited, Octasic,
                    Jean-Marc Valin, Timothy B. Terriberry,
                    CSIRO, Gregory Maxwell, Mark Borgerding,
                    Erik de Castro Lopo