Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: Prevent bad calls to MediaSource.endOfStream (#5071)
This prevents the streaming engine from calling MediaSource.endOfStream when media source's readyState is "closed". It's not valid to close a stream that is already closed. See: https://developer.mozilla.org/en-US/docs/Web/API/MediaSource/endOfStream#exceptions Fixes #5070
- Loading branch information