Open shesmu opened 8 years ago
sounds like it's being processed as a string somehow, since strings use 2 bytes for each char. the file should be a Blob() in order to be download()ed. if you can get a url that plays by passing the blob to URL.getObjectURL(blob, {type:"audio/mpeg"});
you can download it. If that doesn't work either, the issue is upstream...
Got an audio file coming in through ajax and when ajax receives it the file is the right size with correct headers but once its run through download it almost doubles in size and is not readable by mp3 players.