phoboslab / jsmpeg

MPEG1 Video Decoder in JavaScript
MIT License
6.31k stars 1.43k forks source link

When using websookect to get video stream, when the network is not good, the streaming data is not complete, resulting in the video stuck, so the page will also be stuck, unable to operate #370

Open jiadabaihua opened 3 years ago

jiadabaihua commented 3 years ago

When using websookect to get video stream, when the network is not good, the streaming data is not complete, resulting in the video stuck, so the page will also be stuck, unable to operate

HelDoRe commented 3 years ago

i have too this issue

iairsalem commented 2 years ago

Perhaps checking that the video is advancing in time via: player.demuxer.currentTime not sure if it will unlock the page, but at least you can be checking that the time is moving forward when you are playing, OR do something about it.