Voice recording on iPhone by using Safari and HTML5

前端 未结 6 641
醉话见心
醉话见心 2020-12-24 08:08

I am developing a simple web application which only records a voice from microphone but I have some trouble.

HTML5 voice recording function works well on chrome and

6条回答
  •  难免孤独
    2020-12-24 08:47

    As far as I knew, even on the latest iOS (iOS 10), recording voice on iOS using HTML5 is still impossible. Since all the browsers on iOS are limited to use UIWebView which Safari on iOS uses as well, Chrome on iOS is not able to support any API that can be used for media recording.
    For example, recorder.js which you used are built on Media Capture API. If you check caniuse.com, you will find this API is not supported on iOS. (Also check the issue here).
    MediaRecorder API is also a promising API but still not supported by Apple's browser.

    Check answers below for more information.
    1. Record voice from IPhone using HTML5
    2. Audio Recording html5 on iOS

提交回复
热议问题