How to capture audio in javascript?

前端 未结 3 1884
无人及你
无人及你 2020-12-12 23:41

I am currently using getUserMedia(), which is only working on Firefox and Chrome, yet it got deprecated and works only on https (in Chrome). Is there any other/

3条回答
  •  情话喂你
    2020-12-13 00:15

    The getUserMedia() isn't deprecated, deprecated is using it over http. How far I know the only browser which requires https for getUserMedia() right now is Chrome what I think is correct approach.

    If you want ssl/tls for your test you can use free version of CloudFlare.

    Whatsapp page doesn't provide any recording functions, it just allow you to launch application.

    Good article about getUserMedia

    Fully working example with use of MediaRecorder

提交回复
热议问题