The StreamRecorder API proposal in public-media-capture is a better fit for
this use-case. It will let developers record directly to WAV with minimal
JS code, at whatever the native sample rate of the stream is.
Rob
--
Jesus called them together and said, “You know that the rulers of the
Gentiles lord it over them, and their high officials exercise authority
over them. Not so with you. Instead, whoever wants to become great among
you must be your servant, and whoever wants to be first must be your
slave — just
as the Son of Man did not come to be served, but to serve, and to give his
life as a ransom for many.” [Matthew 20:25-28]