recordrtc - Record WebRTC audio chunks -


i want record audio of webrtc call , have problems these 2 issues:

  1. the sample rate of audio should 16 khz.
  2. i want send small chunks (eg. 2s long) server.

i'm using recordrtc library.

when use stereoaudiorecorder can solve issue 1. because it's recording .wav , offers parameter change sample rate 16 khz. can't find way blob of recorder while i'm recording.

my second approach use mediastreamrecorder. it's recording webm/opus sample rate of 48 khz , can't find way change this. mediastreamrecorder offers method getinternalrecorder().getarrayofblobs() blobs while recording.

the solution doesn't have recordrtc. library , file format fine.


Comments

Popular posts from this blog

angular - Ionic slides - dynamically add slides before and after -

minify - Minimizing css files -

Add a dynamic header in angular 2 http provider -