Comments (7)
AliPlayerManager
的 showDisplay
,你可以自己调试下或者修改下,比如会不会是 msg.obj == null
的时候,setSurface
了一个异常的 surface
(比如是上一个已经释放了的),导致这个情况,比如修改为 mediaPlayer.setSurface(null);
会不会有问题
阿里云内核来自另外一个网友的pr,所以我也不是很清楚具体的问题,特别是阿里云内核自己的运行逻辑
from gsyvideoplayer.
是黑屏没声音还是黑屏有声音?如果有声音,推测可能是 surface 创建或者设置部分有问题,可以打印看看
from gsyvideoplayer.
黑屏,也没有声音;我看了历史issue, 没有相似的问题
from gsyvideoplayer.
黑屏也没有声音,那应该是加载失败了吧,不过阿里云内核我不知道它内部什么情况·····
from gsyvideoplayer.
如果是 surface 创建或者设置部分有问题,有推荐的解决方法吗?
from gsyvideoplayer.
重新打印有: AliFrameWork: [30103293] [GLRender] :surface:0, mInvalid:0, queue size:2, may drop frame
08-08 18:44:57.470 12548 13882 I AliFrameWork: [30103293] [GLRender] :drop a frame pts = 1719000
from gsyvideoplayer.
感谢提供思路!
我发现是Fragment
调用了onDestroyView
导致SurfaceView
无法重建,我在onCreateView
中重新add了播放器View
就好了。
from gsyvideoplayer.
Related Issues (20)
- RawDataSourceProvider 这里读取大文件会不会 OOM? HOT 1
- 关于调用seekTo实现视频倒放的效果 HOT 2
- 锁定屏幕后右滑或者虚拟返回键都禁止可以吗?现在我锁定以后右滑还是可以返回出来
- 全屏的时候锁定屏幕后,禁止右滑返回和虚拟键返回吗 HOT 1
- 全屏的时候锁定屏幕后,禁止右滑返回和虚拟键返回吗?就是在全屏的时候点击了锁定屏幕,右滑返回的时候应该不能退出全屏 HOT 2
- 右滑或者虚拟机返回的时候应该不退出全屏,你应该在 Activity 层做 HOT 2
- 亮度调节dialog全屏显示不全 HOT 3
- 请问能获取到退出全屏的回调吗 HOT 1
- 更新SDK后,华为报病毒 HOT 11
- 有flutter版本么? HOT 1
- 继承了StandardGSYVideoPlayer,自定义播放器添加了UI横屏的时候修改UI状态没有反应 HOT 2
- 我用的v8.5.0版本,oppo应用市场提醒上线审核不通过 ,提示超频次读取DEVICEID +2,需要您帮忙处理下. HOT 1
- 横屏的情况切换url 播放黑屏,但是有声音,切换竖屏是正常播放。但是只要在横屏切换的话会黑屏 HOT 3
- 关于DRM license url支持 HOT 1
- 覆写updateStartImage方法,换图无效 HOT 5
- 从指定位置播放对有的视频不起作用 HOT 5
- 电视盒子上使用SystemPlayerManager,并设置GSYVideoType.GLSURFACE时,无法播放视频 HOT 6
- 依赖问题,没人遇到吗
- CacheHelper.download 下载报错 java.lang.IllegalStateException HOT 1
- app刚安装状态点击崩溃 HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from gsyvideoplayer.