createNewPlayerInstance 这方式有问题
fujiangren opened this issue · 5 comments
fujiangren commented
这是一个很好的 的开源库 难 对可见部分item的占比计算堪称经典 但是 播放器不咋地
createNewPlayerInstance 这个方法 if(mReadyForPlaybackIndicator.isSurfaceTextureAvailable()) 这句做了 是在 onSurfaceTextureAvailable 这个回调方法里面走了才走 这样就导致 刚刚进来的时候createNewPlayerInstance 这方法走在 onSurfaceTextureAvailable 这个方法的前面,导致的结果是 不能设置 SurfaceTexture 导致需要使用 SurfaceTexture 功能的地方没法使用 例如 旋转 缩放 等
Stone305585 commented
nobody cares
Stone305585 commented
没人维护了///
fujiangren commented
是啊 是啊
greadking commented
跟下来 是 TextureView 的 getHardwareLayer 这个方法没有执行
greadking commented
楼主 最后解决了吗 我的在自己的项目中就是黑屏 播放不了