video.js icon indicating copy to clipboard operation
video.js copied to clipboard

Diagnosing Dropped Frames

Open patrickcusack opened this issue 3 years ago • 3 comments

Description

I am using video.js on Chrome Version 98.0.4758.102 (Official Build) (x86_64) to playback HLS live-stream content. I am comparing this with another player and am curious if there are any ways to diagnose why playback isn't as smooth as I am seeing in another player, likely attributable to dropped frames. The difference is subtle and am looking for any pointers to optimize my use of videojs.

##version https://vjs.zencdn.net/7.17.0/video.min.js

patrickcusack avatar Feb 23 '22 22:02 patrickcusack

👋 Thanks for opening your first issue here! 👋

If you're reporting a 🐞 bug, please make sure you include steps to reproduce it. We get a lot of issues on this repo, so please be patient and we will get back to you as soon as we can. To help make it easier for us to investigate your issue, please follow the contributing guidelines.

welcome[bot] avatar Feb 23 '22 22:02 welcome[bot]

Thanks for the issue @patrickcusack!

Assuming that our playback engine is used, you could consider enabling experimentalBufferBasedABR. While the flag still says experimental, it's been vetted pretty extensively and the flag will be renamed at some point. It should make network interactions work better.

videojs('myvideo', {
  html5: {
    vhs: {
      experimentalBufferBasedABR: true
    }
  }
});

misteroneill avatar Feb 28 '22 15:02 misteroneill

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

stale[bot] avatar Apr 30 '22 04:04 stale[bot]