「recorder.js」( https://github.com/mattdiamond/Recorderjs ) を使用してオーディオ ファイルを保存するアプリケーションを作成しました。しかし、結果のオーディオ ファイルをサーバーに保存できません。
あなたが知っているなら、彼を助けてください。
私はfolwongを試しました
JavaScript
function upload(blobOrFile) {
var xhr = new XMLHttpRequest();
xhr.open('POST', '/upload.aspx', true);
xhr.onload = function (e) {
var result = e.target.result;
alert(result);
};
xhr.send(blobOrFile);
}
そしてupload.asspxページでは、ロードイベントで次のコードを使用しました
Request.SaveAs(Server.MapPath("/userfiles/" + "名前" + ".wav"),true);
ウェーブファイルを作成しても機能しません。
助けてください
ありがとうございました..