我需要保存麥克風輸入以稍後在AudioElement中使用。我這樣做是爲了獲得麥克風輸入: window.navigator.getUserMedia(audio: true).then((MediaStream stream) {
# what should go here?
});
我應該怎麼做才能保存音頻?
考慮下面的僞代碼: import "dart:html";
HttpRequest.postFormData(url, data).then((HttpRequest request) {
...
}).catchError((error) {
// How do I get the response text from here?
});
如果Web服務器