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

feat: add frameRate property to the representation class. #1289

Merged
merged 7 commits into from
Sep 14, 2022

Conversation

gjanblaszczyk
Copy link
Member

Description

I would like to display to the user the frame rate value for the currently playing quality level. However, it is not possible because the Representation class doesn't have the frameRate property.
This PR is related to this videojs/mpd-parser#159

Specific Changes proposed

Add frameRate property to the Representation class.

Requirements Checklist

  • Feature implemented / Bug fixed
  • If necessary, more likely in a feature request than a bug fix
  • Reviewed by Two Core Contributors

@codecov
Copy link

codecov bot commented Jun 9, 2022

Codecov Report

Merging #1289 (6828b09) into main (7e89b55) will increase coverage by 0.00%.
The diff coverage is 100.00%.

@@           Coverage Diff           @@
##             main    #1289   +/-   ##
=======================================
  Coverage   86.31%   86.31%           
=======================================
  Files          39       39           
  Lines        9855     9856    +1     
  Branches     2298     2298           
=======================================
+ Hits         8506     8507    +1     
  Misses       1349     1349           
Impacted Files Coverage Δ
src/rendition-mixin.js 95.00% <100.00%> (+0.12%) ⬆️

📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more

@gkatsev
Copy link
Member

gkatsev commented Jul 28, 2022

I guess this needs to wait for the m3u8-parser and mpd-parser updates.

@gjanblaszczyk
Copy link
Member Author

Yes, that's correct.

@gkatsev
Copy link
Member

gkatsev commented Sep 9, 2022

Just published m3u8-parser 4.8.0 with this as well as videojs-contrib-quality-levels 2.2.0.

@gkatsev
Copy link
Member

gkatsev commented Sep 9, 2022

and mpd-parser 0.22.0 is out too.

@gjanblaszczyk
Copy link
Member Author

Thank you. I guess we are one step closer to merging this PR.

@gkatsev
Copy link
Member

gkatsev commented Sep 13, 2022

@gjanblaszczyk if you can update this PR with the new (non-major) versions, we can merge this in and release it.

@gkatsev gkatsev merged commit 27a970c into videojs:main Sep 14, 2022
@welcome
Copy link

welcome bot commented Sep 14, 2022

Congrats on merging your first pull request! 🎉🎉🎉

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

Successfully merging this pull request may close these issues.

2 participants