Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: Fix exceptions in StreamingEngine when reloading (#6466)
When reloading MediaSourceEngine via StreamingEngine, some logic executed before the reload cancels operations and aligns StreamingEngine state with MediaSourceEngine. However, additional logic was executed after setStreamProperties, which caused a race condition that broke StreamingEngine state by manipulating it out of the usual sequence and outside the usual methods, leading to exceptions and failed assertions. This removes that unnecessary logic and leaves subtle state management to the functions that are meant to do it. Closes #6458
- Loading branch information