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

Make bandwidth estimate public API #2086

Merged
merged 13 commits into from
Jan 22, 2019
Merged

Make bandwidth estimate public API #2086

merged 13 commits into from
Jan 22, 2019

Conversation

Beraliv
Copy link
Contributor

@Beraliv Beraliv commented Jan 21, 2019

This PR will...

create getter for HLS to extract bandwidth estimate

Why is this Pull Request needed?

To load most appropriate chunks based on bandwidth as it's the most accurate estimate

Are there any points in the code the reviewer needs to double check?

No

Resolves issues:

#1904

Checklist

  • changes have been done against master branch, and PR does not conflict
  • new unit / functional tests have been added (whenever applicable)
  • API or design changes are documented in API.md

Copy link
Member

@michaelcunningham19 michaelcunningham19 left a comment

Choose a reason for hiding this comment

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

Nice! Some thoughts I had when reviewing the diff:

src/hls.js Outdated Show resolved Hide resolved
tests/unit/hls.js Outdated Show resolved Hide resolved
docs/API.md Outdated Show resolved Hide resolved
docs/API.md Show resolved Hide resolved
johnBartos and others added 3 commits January 21, 2019 22:26
Co-Authored-By: Beraliv <beraliv.spb@gmail.com>
@Beraliv
Copy link
Contributor Author

Beraliv commented Jan 21, 2019

Is everything alright now? @michaelcunningham19 @johnBartos

Copy link
Collaborator

@johnBartos johnBartos left a comment

Choose a reason for hiding this comment

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

LGTM overall, just a few test suggestions

tests/unit/controller/abr-controller.js Outdated Show resolved Hide resolved
tests/unit/hls.js Outdated Show resolved Hide resolved
tests/unit/hls.js Outdated Show resolved Hide resolved
tests/unit/hls.js Outdated Show resolved Hide resolved
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants