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

fix(FEC-11270): cap to player size doesn't apply #152

Merged
merged 4 commits into from
May 23, 2021
Merged

fix(FEC-11270): cap to player size doesn't apply #152

merged 4 commits into from
May 23, 2021

Conversation

Yuvalke
Copy link
Contributor

@Yuvalke Yuvalke commented May 23, 2021

Description of the Changes

Issue: applyRestriction doesn't trigger from playkit, no restriction has changed.
Solution: should apply the logic for capLevelToPlayerSize once tracks are available., it shouldn't change from playkit at all.

CheckLists

  • changes have been done against master branch, and PR does not conflict
  • new unit / functional tests have been added (whenever applicable)
  • test are passing in local environment
  • Travis tests are passing (or test results are not worse than on master branch :))
  • Docs have been updated

Issue: applyRestriction doesn't called cause nothing has changed.
Solution: should apply the logic for capLevelToPlayerSize once tracks are available.
@Yuvalke Yuvalke requested a review from a team May 23, 2021 09:18
@Yuvalke Yuvalke self-assigned this May 23, 2021
@@ -769,6 +778,7 @@ export default class DashAdapter extends BaseMediaSourceAdapter {
})
.then(() => {
const data = {tracks: this._getParsedTracks()};
this._maybeCapLevelToPlayerSize();
Copy link
Contributor

Choose a reason for hiding this comment

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

so we not supporting change the capLevelToPlayerSize flag on the fly?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Yes, we won't.
Also on hls we won't

@Yuvalke Yuvalke merged commit 1ca44b1 into master May 23, 2021
@Yuvalke Yuvalke deleted the FEC-11270 branch May 23, 2021 13:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

Successfully merging this pull request may close these issues.

None yet

2 participants