-
Notifications
You must be signed in to change notification settings - Fork 6k
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
Need release after onPlayerError #5464
Comments
You should always call |
@ojw28 thank! Then I do everything right, but after the error the player can no longer play anything. Please see the demo. |
@tonihei - Could you take a look at this? Could be wrong, but it looks like the player has a It looks like replacing the |
A little extra info: It looks like I guess |
When calling releaseSource(), all pending messages will be removed. That means that all action-on-completion callbacks which are somewhere in flight are just dropped without being called. This change adds code to keep track of the current state of each callback to allow all of them being called when the source is released. Issue:#5464 PiperOrigin-RevId: 232312528
Fixed in |
When calling releaseSource(), all pending messages will be removed. That means that all action-on-completion callbacks which are somewhere in flight are just dropped without being called. This change adds code to keep track of the current state of each callback to allow all of them being called when the source is released. Issue:#5464 PiperOrigin-RevId: 232312528
When calling releaseSource(), all pending messages will be removed. That means that all action-on-completion callbacks which are somewhere in flight are just dropped without being called. This change adds code to keep track of the current state of each callback to allow all of them being called when the source is released. Issue:google#5464 PiperOrigin-RevId: 232312528
Do I need to release a player after an error? This link https://github.com/sneltyn/ExoPreload is a demo that demonstrates the problem (if it is a problem). The demo shows how the player gets stuck on state
STATE_BUFFERING
During the launch of the demo, turn off the Internet;)
The demo does the preloading of the HLS or mp4 using the
ConcatenatingMediaSource
Maybe I'm doing something wrong.
ExoPlayer: 2.9.4
The text was updated successfully, but these errors were encountered: