-
Notifications
You must be signed in to change notification settings - Fork 54
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 support for a frame-rate attribute #159
Conversation
Codecov Report
@@ Coverage Diff @@
## main #159 +/- ##
==========================================
+ Coverage 94.30% 94.34% +0.03%
==========================================
Files 18 19 +1
Lines 773 778 +5
Branches 241 242 +1
==========================================
+ Hits 729 734 +5
Misses 44 44
Help us with your feedback. Take ten seconds to tell us how you rate us. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good, thank you @gjanblaszczyk . One minor suggestion, but otherwise I think we just need to wait on the decision for videojs/m3u8-parser#150 to merge.
src/utils/string.js
Outdated
@@ -0,0 +1,10 @@ | |||
/** | |||
* Converts the provided string value that may contain the division operation to the number value. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
* Converts the provided string value that may contain the division operation to the number value. | |
* Converts the provided string that may contain a division operation to a number. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks, I have just updated the comment for the function. By the way, I added you as a reviewer to the related PR for a "httpstreaming" repo (videojs/http-streaming#1289).
It adds support for the 'FRAME-RATE' attribute. To make an mpd parser consistent with the m3u8 parser.