You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If shouldshow is false, the player continues to receive the STATE_READY, STATE_BUFFERING, and STATE_PREPARING callbacks. Once the player reaches the end however, the STATE_ENDED callback is not called.
If shouldshow is true, the player receives all of the callbacks including STATE_ENDED.
Is there something else that needs to be set to get the STATE_ENDED callback when the surface is null? I am using a Nexus 6p on Android 6.0.1 with Exoplayer r1.5.7.
Thanks.
The text was updated successfully, but these errors were encountered:
Do you need to actually unset the surface, or can you achieve what you're trying to achieve some other way? What's the use case exactly? Will the surface be hidden for a potentially extended period of time?Normally you should disable the video renderer in such cases, rather than leaving it enabled but without a surface.
I have this method below to show/hide the surface.
If shouldshow is false, the player continues to receive the STATE_READY, STATE_BUFFERING, and STATE_PREPARING callbacks. Once the player reaches the end however, the STATE_ENDED callback is not called.
If shouldshow is true, the player receives all of the callbacks including STATE_ENDED.
Is there something else that needs to be set to get the STATE_ENDED callback when the surface is null? I am using a Nexus 6p on Android 6.0.1 with Exoplayer r1.5.7.
Thanks.
The text was updated successfully, but these errors were encountered: