Commit 34d7b5c4 authored by Skye Yu's avatar Skye Yu

test:

parent e606e217
......@@ -733,6 +733,8 @@ Jensen.prototype.getFile = async function (filename, length, ondata, onprogress)
if (msg != null) {
flen += msg.body.length || msg.body.byteLength;
ondata(msg.body);
Logger.info('jensen', 'getFile length', length, flen)
removeAudio();
if (flen >= length) {
document.removeEventListener('visibilitychange', visibilitychange);
Logger.info('jensen', 'getFile','file download finish.')
......
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