forked from shaka-project/shaka-player
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
If the player sees an error and we are attached to a media element, we should return to the attach state because we assume that the media element is still usable after an error. If we keep throwing away the media element, it means that after each error, an app would need to re-attach to the media element. This will break backwards-compatibility. This CL restores backwards-compatibility by resetting the walker to be at the attached-state if it has a media element. Issue shaka-project#816 Issue shaka-project#997 Close shaka-project#1843 Change-Id: Idaa70d9fcc01cd9af06ff8967812a4051f8c6e53
- Loading branch information
Showing
2 changed files
with
54 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters