我在这个结构中有一个blob数据:
Blob {type: "audio/wav", size: 655404, slice: function}
size: 655404
type: "audio/wav"
__proto__: Blob
它实际上是使用最新的Chrome getUerMedia()
和Recorder.js录制的声音数据
如何使用jquery的post方法将此blob上传到服务器?我试过了,但没有任何运气:
$.post('http://localhost/upload.php', { fname: "test.wav", data: soundBlob },
function(responseText) {
console.log(responseText);
});
https://stackoverflow.com/questions/13333378
复制相似问题