Recording html5 audio

前端 未结 3 1306
离开以前
离开以前 2020-12-14 04:49

Is it possible to record sound with html5 yet? I have downloaded the latest canary version of chrome and use the following code:

navigator.getUserMedia = navigator.w

3条回答
  •  情话喂你
    2020-12-14 05:36

    Webkit and Chrome audio API's support recording, however as their API's evolve it will be difficult to maintain code that uses them.

    An active open-source project named Sink.js allows recording and also allows you to push raw samples: https://github.com/jussi-kalliokoski/sink.js/. Since the project is pretty active they have been able to keep on top of changes in Webkit and Chrome as they come out.

提交回复
热议问题