-
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
SimpleExoPlayer.setVideoListener() causes rendering issues r2.1.1 #2286
Comments
SimpleExoPlayerView registers itself as the video listener, so when you set it you're replacing SimpleExoPlayerView as the listener. Hence SimpleExoPlayerView doesn't receive the events that it needs. Why do you need to register a video listener when also using SimpleExoPlayerView? |
Thank you so much for clarification, I will create my own SurfaceView and Controller instances. |
You should use |
Setting SimpleExoPlayer.VideoListener() causes rendering issues (SimpleExoPlayerView does not show any frames). audio plays fine and even the VideoListener's are invoked properly. Am I missing something here?
Following code illustrates the problem.
Replacing setVideoListener() with setVideoDebugListener() solves the issue.
Tested on Nexus 9 running 7.0
The text was updated successfully, but these errors were encountered: