Safari and Recording Audio — HTML Media Capture / getUserMedia()

前端 未结 3 1627
小蘑菇
小蘑菇 2021-01-01 06:24

It looks like getUserMedia() is now the way to go for capturing audio recordings from a user.

But that leaves out Safari and iOS Safari.

Originally I had at

3条回答
  •  一生所求
    2021-01-01 07:01

    Safari still doesn't support getUserMedia properly. It fails on this:

    imgCapture = new ImageCapture(stream.getVideoTracks()[0]);
    

    This works in Chrome but Safari has no idea what ImageCapture() is.

提交回复
热议问题