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
java.lang.IllegalStateException: Unable to update texture contents (see logcat for details)
at android.graphics.SurfaceTexture.nativeUpdateTexImage(Native Method)
at android.graphics.SurfaceTexture.updateTexImage(SurfaceTexture.java:243)
at com.asha.vrlib.texture.MD360VideoTexture.texture(MD360VideoTexture.java:101)
at com.asha.vrlib.plugins.MDPanoramaPlugin.renderer(MDPanoramaPlugin.java:80)
at com.asha.vrlib.MD360Renderer.onDrawFrame(MD360Renderer.java:119)
at com.google.android.apps.muzei.render.GLTextureView$GLThread.guardedRun(GLTextureView.java:1321)
at com.google.android.apps.muzei.render.GLTextureView$GLThread.run(GLTextureView.java:1023)
The text was updated successfully, but these errors were encountered:
采用取出播放器后重新添加到decorView的方式实现全屏的时候,会闪退
//从当前FrameLayout中移除播放器视图
removeView(binding.root)
//将播放器视图添加到DecorView中即实现了全屏
decorView.addView(binding.root)
java.lang.IllegalStateException: Unable to update texture contents (see logcat for details)
at android.graphics.SurfaceTexture.nativeUpdateTexImage(Native Method)
at android.graphics.SurfaceTexture.updateTexImage(SurfaceTexture.java:243)
at com.asha.vrlib.texture.MD360VideoTexture.texture(MD360VideoTexture.java:101)
at com.asha.vrlib.plugins.MDPanoramaPlugin.renderer(MDPanoramaPlugin.java:80)
at com.asha.vrlib.MD360Renderer.onDrawFrame(MD360Renderer.java:119)
at com.google.android.apps.muzei.render.GLTextureView$GLThread.guardedRun(GLTextureView.java:1321)
at com.google.android.apps.muzei.render.GLTextureView$GLThread.run(GLTextureView.java:1023)
The text was updated successfully, but these errors were encountered: