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 support for a frame-rate attribute #159

Merged
merged 2 commits into from
Aug 2, 2022

Conversation

gjanblaszczyk
Copy link
Member

It adds support for the 'FRAME-RATE' attribute. To make an mpd parser consistent with the m3u8 parser.

@codecov
Copy link

codecov bot commented Jun 9, 2022

Codecov Report

Merging #159 (59f1ee7) into main (269e406) will increase coverage by 0.03%.
The diff coverage is 100.00%.

@@            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              
Impacted Files Coverage Δ
src/parseAttributes.js 100.00% <100.00%> (ø)
src/toM3u8.js 98.75% <100.00%> (+0.01%) ⬆️
src/utils/string.js 100.00% <100.00%> (ø)

Help us with your feedback. Take ten seconds to tell us how you rate us.

Copy link
Contributor

@gesinger gesinger left a 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.

@@ -0,0 +1,10 @@
/**
* Converts the provided string value that may contain the division operation to the number value.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
* 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.

Copy link
Member Author

@gjanblaszczyk gjanblaszczyk Jul 28, 2022

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).

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.

None yet

3 participants