Releases: chris-rudmin/opus-recorder
Releases · chris-rudmin/opus-recorder
Decoder Bugfix
- Fix issue in decoder where last page might not be found.
- Update emscripten
Maintenance Release
- Update build steps
- Update dependencies
- Update emscripten version
- Fix array concat usage
Add Babel
Use babel webpack plugin to transpile code to ES2015 compatibility.
Update emscripten
- Build with emscripten 1.39.14 (save 50kb on encoderWorker.min.js)
- Fix issue where start() could be called multiple times
Do not import package.json
package.json was being inlined into the uglified file.
Reuse Workers
- Initialize workers on
Recorder
instantiation. - Add
recorder.close()
to tear down all the audio setup and workers, so it can be cleaned up by the browser - Accept optional config parameter
sourceNode
which is an instance ofMediaStreamAudioSourceNode
- Remove sourceNode parameter from
recorder.start()
- Reuse the workers to avoid expensive setup when doing multiple recordings
- Resolve issue where audioContext needs to be resumed when suspended
Add Audio Worklet Support
Thank you @avantassessment, @m2calabr, @mikebiglan, @wilblack for your support for this release!
- Add AudioWorklet Support
- Add example to support webpack
- Fallback to scriptProcessor if audioWorklet support not found
- Remove reuseWorker flag. Worklets cannot be reused the same way Workers can
- Remove support for loadWorker and destroyWorker
- The architecture of AudioWorklets requires that the worker be loaded before it can be receiving buffers
- Add Recorder.version attribute
- Fix FileEncoder
- Bump major version: 7.0.0
Maintenance Update
- Update npm packages
- Bump libopus to v1.3.1
- Bump speexdsp to 1.2.0
Update Dependencies
v6.1.1 Bump Version
Optimized Streaming
- Added flushing onPause
- Support reuse of the encoder and worker through config option
reuseWorker
- Return promises from instance methods
- Add
loadWorker
instance method to support pre-loading of the worker and wasm