Skip to content
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

Surface clear issues with previous image playback #571

Open
1 task
ss0715jj opened this issue Feb 24, 2018 · 4 comments
Open
1 task

Surface clear issues with previous image playback #571

ss0715jj opened this issue Feb 24, 2018 · 4 comments
Labels

Comments

@ss0715jj
Copy link

ss0715jj commented Feb 24, 2018

  • 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(); } }

@brianwernick
Copy link
Owner

Was there any log output to indicate that clearing the surface had an issue?

@ss0715jj
Copy link
Author

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.

@brianwernick
Copy link
Owner

OK, thanks. I'll look in to it

@androidovshchik
Copy link

androidovshchik commented May 2, 2019

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants