jsmpeg icon indicating copy to clipboard operation
jsmpeg copied to clipboard

Ultrafast playback issue

Open mwn2017 opened this issue 7 years ago • 4 comments

Hi, issue in object always happens when changing browser tab (tested on chrome and firefox under W7 64bit). When switching back to jsmpeg preview tab, playback runs ultrafast for few seconds before stabilizing. Audio plays at normal speed. It is possilbe to handle this issue? Thanks a lot.

mwn2017 avatar Jul 20 '17 10:07 mwn2017

I second this, the issue happens, does JSMpeg collect all the frames until you go back to the page, and then speeds through them?

dannysmc95 avatar Nov 28 '17 17:11 dannysmc95

First, thumbs up for this cool idea of using a MPEG-1 javascript decoder for low latency video streaming.

I also experience that ultrafast playback in several browsers when I minimize the browser and later switch back to it. I'm not happy with it so I would like to solve this, but I don't exactly know how.

@phoboslab Do you know where to start? How exactly is the client-side decoding working in terms of "buffering" the stream? Is it possible to discard every frame which is "not live"?

Kampflaus avatar Sep 11 '18 07:09 Kampflaus

I'm also running into this issue -- has anybody found a fix or workaround?

calvinwyoung avatar May 09 '19 01:05 calvinwyoung

Same issue here

roelvz avatar May 05 '20 07:05 roelvz