小米手机5S,录音后播放的时候报异常,使用的官方demo也存在
15:42:04.671 开始录音 at pages/record/record.vue:32
15:42:09.682 录音结束 at pages/record/record.vue:44
15:42:09.784 recorder stop{"tempFilePath":"_doc/uniapp_temp_1553586092381/recorder/1553586122639.aac"} at pages/record/record.vue:26
15:42:17.248 播放录音 at pages/record/record.vue:48
15:42:17.311 Uncaught (in promise) NotSupportedError: Failed to load because no supported source was found. at __uniappservice.html:0
1 个回复
DCloud_uni-ad_HDX
先改成mp3格式解决,后期会处理
https://uniapp.dcloud.io/api/media/record-manager?id=getrecordermanager