ExoMedia
ExoMedia copied to clipboard
Surface clear issues with previous image playback
- [ ] I have verified there are no duplicate active or recent bugs, questions, or requests
Include the following:
- ExoMedia version:
4.1.0 - Device OS version:
7.1 - Devide Manufacturer:
Google - Device Name:
Pixel XL
Reproduction Steps
1.Get ready to play the next video
Expected Result
Surface cleaned and changed to black screen
Actual Result
Loading and playing images from the current playback screen does not change to a black screen
Code for playing the next video
private void resetPlayer() { if (videoView != null) { //videoView.reset(); videoView.stopPlayback(); } }
Was there any log output to indicate that clearing the surface had an issue?
This is a log that appears when stopPlayBack is called.
02-27 00:03:14.973 26975-26975/com.anime.sky.anistreaming E/ResizingTextureView: clearSurface 02-27 00:03:14.986 26975-26975/com.anime.sky.anistreaming E/BufferQueueProducer: [SurfaceTexture-0-26975-4] connect: already connected (cur=3 req=1) 02-27 00:03:14.986 26975-26975/com.anime.sky.anistreaming E/libEGL: eglCreateWindowSurface: native_window_api_connect (win=0x79e0ddc610) failed (0xffffffea) (already connected to another API?) 02-27 00:03:14.986 26975-26975/com.anime.sky.anistreaming E/libEGL: eglCreateWindowSurface:464 error 3003 (EGL_BAD_ALLOC) 02-27 00:03:14.987 26975-26975/com.anime.sky.anistreaming E/libEGL: eglSwapBuffersWithDamageKHR:1072 error 300d (EGL_BAD_SURFACE) 02-27 00:03:14.987 26975-26975/com.anime.sky.anistreaming E/libEGL: eglDestroySurface:603 error 300d (EGL_BAD_SURFACE)
Note that the exoPlayer library uses version 2.7.0.
OK, thanks. I'll look in to it
The same issue when there are two players which takes turns changing visibility so at once only one is visible and another is gone on the same place of screen
After playing the first and showing the second sometimes i see only frame from the first and only hear the second one. I need to have all of them at once because of preloading video to prevent pause after showing
Can be there any solution? How to make it works