Buffer progress for web audio player exihibits abnormal behavior

Buffer progress for web audio player exihibits abnormal behavior

BY 16 Oct 2014 Web Application Development

Hi,

I am trying to implement audio player using HTML 5 audio tag, where I have give autobuffer and preload=”auto” attribute.

The issues I am facing are as under:

Case-1: Incomplete Buffering

a. Play any supported audio song using a valid URL, I can see buffer progress but when I turn off wi-fi/data network and restart the wi-fi / data network,

buffering does not resume automatically.

 

Case-2: Buffering complete

a. Whenever I try to seek through buffered area, buffering starts again, ideally it should seek and play seamlessly throughout the buffered area, Do I need to implement cache for storing buffered data.

 

Kindly provide your insight on this issue.

Written by