Search code examples
javascripthtmlhtml5-audiowebrtcweb-audio-api

WebRTC issue when using RecordRTC


We use the RecordRTC library to record user audio to our system.

But an user got this error:

Uncaught sample-rate must be under range 22050 and 96000

And I'm not sure what does it mean, as far as I could find on google it has something to do with his hardware (mic or headphone). Is that correct? There's nothing much about it.

RecordRTC library: https://www.webrtc-experiment.com/RecordRTC/


Solution

  • I expect the user is using an audio card with a sample rate higher than 96000. I just had a bug report yesterday from a user using a 192k sound card.