Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

drop buffer / skip frames? #157

Open
DLLDev opened this issue Apr 14, 2022 · 0 comments
Open

drop buffer / skip frames? #157

DLLDev opened this issue Apr 14, 2022 · 0 comments

Comments

@DLLDev
Copy link

DLLDev commented Apr 14, 2022

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant