danylovolokh/VideoPlayerManager

createNewPlayerInstance 这方式有问题

fujiangren opened this issue · 5 comments

这是一个很好的 的开源库 难 对可见部分item的占比计算堪称经典 但是 播放器不咋地

createNewPlayerInstance 这个方法 if(mReadyForPlaybackIndicator.isSurfaceTextureAvailable()) 这句做了 是在 onSurfaceTextureAvailable 这个回调方法里面走了才走 这样就导致 刚刚进来的时候createNewPlayerInstance 这方法走在 onSurfaceTextureAvailable 这个方法的前面,导致的结果是 不能设置 SurfaceTexture 导致需要使用 SurfaceTexture 功能的地方没法使用 例如 旋转 缩放 等

nobody cares

没人维护了///

是啊 是啊

跟下来 是 TextureView 的 getHardwareLayer 这个方法没有执行

楼主 最后解决了吗 我的在自己的项目中就是黑屏 播放不了