@@ -1544,6 +1544,7 @@ const startRecorder = (stream) => {
//获取wav格式音频数据
let blob = new Blob([chunks], {type: "audio/wav;codecs=opus"});
let file = new window.File([blob],new Date().getTime() + ".wav", {type: "audio/wav;codecs=opus"});
+ //下载文件到本地
testDownload(blob)
//准备上传
const formData = new FormData()