ajax可以上传blob文件
blob = recorder.getWAVBlob();
$.ajax({
type: "POST", //方法类型
dataType: "json", //预期服务器返回的数据类型
url: "",
data: blob,
processData: false,
contentType: false,
success: function(result) {
console.log(result);
},
error: function() {}
});,php用
$data = file_get_contents('php://input');
file_put_contents('test.wav', $data);就可以接收了