Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Maintain startup event order with autoStartLoad #6893

Merged
merged 1 commit into from
Dec 6, 2024

Conversation

robwalch
Copy link
Collaborator

@robwalch robwalch commented Dec 6, 2024

This PR will...

Maintain startup event order using autoStartLoad for expected level and audioTrack getter results on MANIFEST_LOADING

Why is this Pull Request needed?

Moving the startLoad() call evoked when autoStartLoad is true in MANIFEST_LOADING to after MANIFEST_LOADING caused loadLevel and hls.audioTracks to not be populated in app callback to the MANIFEST_LOADING event - because level switching and associated media selection is not performed until loading is started.

Fixes a regression in dev in apps that expect these getters to be populated rather that using events associated with track updates and level selection (caused by #6879).

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

Resolves issues:

Resolves #6891

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

@robwalch robwalch added this to the 1.6.0 milestone Dec 6, 2024
…nd audioTrack getter results on MANIFEST_LOADING

Resolves #6891
@robwalch robwalch force-pushed the bugfix/track-and-level-getters-autostartload branch from 472ebac to 0b8c3c3 Compare December 6, 2024 02:17
@robwalch robwalch merged commit 93dfd4f into master Dec 6, 2024
16 checks passed
@robwalch robwalch deleted the bugfix/track-and-level-getters-autostartload branch December 6, 2024 17:00
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

AudioTracks not available on MANIFEST_LOADED (1.6-Canary)
1 participant