媒体音频stopVoice版本:1.x本页总览Taro.stopVoice()结束播放语音。示例代码import Taro from '@tarojs/taro'Taro.startRecord(params) .then(res => { const filePath = res.tempFilePath Taro.playVoice({ filePath }) setTimeout(Taro.stopVoice, 5000) })API支持度API微信小程序H5React Native支付宝小程序百度小程序Taro.stopVoice✔️