audiocogs / aurora.js

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

problem after song ended to play. #191

Closed publicocean0 closed 7 years ago

publicocean0 commented 7 years ago

Using av.player: while the song is playing i can seek back or forward until the buffered limit correctly. all ok. but when the song ended to play. if if i try to play again from time 0 or other back time .... dont works: the currentTime is progressing correctly but i cant hear no sound. Have i to resend chunks from scratch? It "sounds" strange because in that moment buffer is 100% same behaviour if instead to use pause , i use stop call

publicocean0 commented 7 years ago

i m surprised about myself ahahah player.stop=function(){ player.pause() }

and all works