In this release…
2.0.0 (2021-03-08)
Bug Fixes
- cookies: set proper path when setting the sampleRate cookie (b80989b)
Features
- concatenateaudiobuffers: return existing buffer if only one is passed (7555411)
- recordstream: make the audio processor available from recordStream() (6d2bf8c)
BREAKING CHANGES
-
recordstream: this changes the return value of recordStream() to an array
that includes the WebSocket and the audio processor.
To migrate, change
const ws = await startStream()
to
const [ws] = await startStream()
with the processor available at index 1:
const [ws, audioProcessor] = await startStream()
Release Release 2.0.0 · spokestack/node-spokestack · GitHub