Commit 1a26235b authored by limingzhe's avatar limingzhe
parents 1b44e0e0 a29a6353
...@@ -952,7 +952,7 @@ export class PlayComponent implements OnInit, OnDestroy { ...@@ -952,7 +952,7 @@ export class PlayComponent implements OnInit, OnDestroy {
console.log('res: ', buffer); console.log('res: ', buffer);
const startTime = new Date().getTime(); const startTime = new Date().getTime();
this.infoLabel.text = '音频大小' + this.formatBytes(buffer.byteLength) + '.下载时长:' + (dts - startTime) + 'ms.'; this.infoLabel.text = '音频大小' + this.formatBytes(buffer.byteLength) + '.下载时长:' + (startTime - dts) + 'ms.';
const blob = new Blob([buffer], {type: 'audio/mpeg'}); const blob = new Blob([buffer], {type: 'audio/mpeg'});
// const blob = res //new Blob([u8arr], {type: mime}); // const blob = res //new Blob([u8arr], {type: mime});
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment