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(Demo): Allow enable LL only with Low Latency Mode config #5266

Merged
merged 1 commit into from
Jun 9, 2023

Conversation

avelad
Copy link
Member

@avelad avelad commented Jun 7, 2023

Previously all config is passed to the player but some config parameters are untouched, we need only pass the config params that are different, to allow enable LL with only one change.

@avelad avelad added type: bug Something isn't working correctly component: demo page The issue is in the demo page; does not affect production applications priority: P3 Useful but not urgent priority: P2 Smaller impact or easy workaround and removed priority: P3 Useful but not urgent labels Jun 7, 2023
@avelad avelad added this to the v4.4 milestone Jun 7, 2023
@avelad avelad changed the title fix(Demo): Allow enable LL only withLow Latency Mode fix(Demo): Allow enable LL only with Low Latency Mode Jun 7, 2023
@avelad avelad changed the title fix(Demo): Allow enable LL only with Low Latency Mode fix(Demo): Allow enable LL only with Low Latency Mode config Jun 7, 2023
@github-actions
Copy link
Contributor

github-actions bot commented Jun 7, 2023

Incremental code coverage: No instrumented code was changed.

@@ -1227,9 +1227,8 @@ shakaDemo.Main = class {
// Remove all not-player-applied configurations, by resetting the
// configuration then re-applying the desired configuration.
this.player_.resetConfiguration();
this.player_.configure(this.desiredConfig_);
this.readHash_();
Copy link
Contributor

Choose a reason for hiding this comment

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

So I did some practical testing, and couldn't find any evidence that this PR leads to the hash or desiredConfig_ values changing.
It's possible that comment below was true at some earlier point in the demo app's development...
Anyway, this is probably safe.

@avelad avelad merged commit 70823f9 into shaka-project:main Jun 9, 2023
@avelad avelad deleted the demo-ll branch June 9, 2023 10:42
@github-actions github-actions bot added the status: archived Archived and locked; will not be updated label Aug 8, 2023
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Aug 8, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
component: demo page The issue is in the demo page; does not affect production applications priority: P2 Smaller impact or easy workaround status: archived Archived and locked; will not be updated type: bug Something isn't working correctly
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants