如何在微信端的html5中 实现录音功能呢?是需要接口吗 还是?
微信有接口的,前端写个audio,把音频上传
微信录音接口。
wx.startRecord();
wx.downloadVoice({
serverId: '', // 需要下载的音频的服务器端ID,由uploadVoice接口获得
isShowProgressTips: 1, // 默认为1,显示进度提示
success: function (res) {
var localId = res.localId; // 返回音频的本地ID
}
});