Reputation: 1068
I have implemented Hls streaming library which is almost working fine but the problem is when I seek video forward the bufferStalledError
is raised, and then screen blackouts until the segment is loaded. I have attached the fiddle link with this.
If your network is very fast please throttle it if you want to see the blackout.
I am not able to figure out how to do that. The ideal case should be the video should be processing at last frame processed, if the segment is loading.
Upvotes: 1
Views: 3427
Reputation: 1068
The root cause for this was I was trying to recover media using hls.recoverMediaError();
. The Hls can handle itself what is expected.
So, removing the recovery code just worked for me.
Upvotes: 3