recordrtc - Record WebRTC audio chunks -
i want record audio of webrtc call , have problems these 2 issues:
- the sample rate of audio should 16 khz.
- 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
Post a Comment