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: Remove duplicate adaptation event before init #5492

Merged
merged 1 commit into from
Aug 18, 2023

Conversation

avelad
Copy link
Member

@avelad avelad commented Aug 18, 2023

Fixes #5480

@avelad avelad added type: bug Something isn't working correctly priority: P2 Smaller impact or easy workaround labels Aug 18, 2023
@avelad avelad added this to the v4.4 milestone Aug 18, 2023
@@ -2219,10 +2219,6 @@ shaka.Player = class extends shaka.util.FakeEventTarget {

this.playhead_.setStartTime(adjustedTime);
}

// Since the first streams just became active, send an adaptation event.
this.onAdaptation_(null,
Copy link
Member Author

Choose a reason for hiding this comment

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

the line 2210 already trigger adaptation event

@github-actions
Copy link
Contributor

Incremental code coverage: No instrumented code was changed.

@avelad avelad merged commit e3b2e7d into shaka-project:main Aug 18, 2023
@avelad avelad deleted the duplicate-adaptation-event branch August 18, 2023 12:58
@shaka-bot shaka-bot added the status: archived Archived and locked; will not be updated label Oct 17, 2023
@shaka-project shaka-project locked as resolved and limited conversation to collaborators Oct 17, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
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.

Shaka Player version 3.2.x and 3.3.x dispatch two adaptation events before init?
3 participants