jessibuca icon indicating copy to clipboard operation
jessibuca copied to clipboard

drop buffer / skip frames?

Open DLLDev opened this issue 4 years ago • 0 comments

im using jessibuca for live streaming over ws-flv.

sometimes, at least due overload on the encoding side the video stream on the player side starts lagging behind (more and more).

to be sure that the player laggs behind i used the following code to pause and resume (play) the stream again:

 jessibuca.pause().then(() => {
                console.log('pause success')
                jessibuca.play().then(() => {}).catch((e) => {})
            }).catch((e) => {
                console.log('pause error', e);
            })

that confirmed the issue.

is there a way to skip / drop the buffer / frames with jessibuca?

DLLDev avatar Apr 14 '22 19:04 DLLDev