onpause onresume event not fire
Closed this issue · 1 comments
icode commented
onpause
onresume
event not fire
await register(await connect());
const mediaStream = await navigator.mediaDevices.getUserMedia({audio: true});
const mediaRecorder = new MediaRecorder(mediaStream, {mimeType: 'audio/wav'});
mediaRecorder.onpause = () => console.log('onpause ')
mediaRecorder.onresume = () => console.log('onresume ')
mediaRecorder?.pause()
mediaRecorder?.resume()
chrisguttandin commented
Thanks @icode for reporting this. Those two events were not wired up in one of the internal recorders. It should work now. The changes are published as v7.1.0.