audiocogs / aurora.js

JavaScript audio decoding framework
http://audiocogs.org/codecs
1.26k stars 185 forks source link

HTTP requests still sending to server even if HTTP error is returned #213

Open industral opened 5 years ago

industral commented 5 years ago

Using AV.Player.fromURL with HTTP bad response, cause library to send requests till it satisfies condition @loop() unless @offset >= @length https://github.com/audiocogs/aurora.js/blob/master/src/sources/browser/http.coffee#L57

Need to add code to handle such tries, and stop bombing server with requests.