recorder
recorder copied to clipboard
getNextData() 获取的dataView怎么转Blob?
new Blob([ dataView ]) 这样就行了
getNextData() 返回: Array, 数组中是DataView数据,我要把数组里面的每一项都new Blob()吗
------------------ 原始邮件 ------------------ 发件人: "涛走云散"<[email protected]>; 发送时间: 2020年5月27日(星期三) 晚上9:01 收件人: "2fps/recorder"<[email protected]>; 抄送: "小马哥"<[email protected]>;"Author"<[email protected]>; 主题: Re: [2fps/recorder] getNextData() 获取的dataView怎么转Blob? (#50)
new Blob([ dataView ]) 这样就行了
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or unsubscribe.
请问后台该如何处理这个DataView数据并储存为pcm音频数据
this.ws = new WebSocket("ws://ip地址+端口"); setInterval(() => { var data = recorder.getNextData(); for(var i in data){ this.ws.send(data[i]); } }, 500)
new Blob([dataView])这样就行了
原来是个数组 每一个都取出来转
怎么解决H5不能录制15khz-20khz频率的声音