Sending a MediaStream to host Server with WebRTC after it is captured by getUserMedia

后端 未结 2 924
时光说笑
时光说笑 2020-11-30 23:30

I am capturing audio data using getUserMedia() and I want to send it to my server so I can save it as a Blob in a MySQL field.

This is all I am trying t

2条回答
  •  天命终不由人
    2020-12-01 00:06

    A good API for you would be MediaRecorder API but it is less supported than the Web Audio API, so you can do it using a ScriptNode or use Recorder.js (or base on it to build your own scriptnode).

提交回复
热议问题