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
iOS9.x 切换后台, 进入前台, 画面暂停,有声音,日志recovery error!!!! #873
Comments
9.2 模拟器没有此问题,在真机上必现 |
跟踪播放时 画面卡住 |
I'll take a look. But I don't think it could be fixed soon. |
ok thanks |
请问楼主问题解决了吗 我也碰到了同样的问题 |
解决问题了么 我也遇到了这个问题 模拟器上seek没问题 真机上seek不到画面 声音有 |
我是在 IJKVideoToolBox.m static int decode_video(VideoToolBoxContext* context, AVCodecContext avctx, AVPacket *avpkt, int got_picture_ptr) 添加了这一句 就没问题了 |
lt's work for me, 楼上正解 在decode_video函数里面 加一句context->idr_based_identified = false 就可以继续播放了 |
it‘s done!!! |
@Singsmlie Turn off |
@yeshibuzhong 能说一下这么修改的原因么
|
我说一下我的解决办法:按照 @Singsmlie 说的,在IJKVideoToolBoxAsync.m和IJKVideoToolBoxSync.m中,分别注掉decode_video函数中的 |
idr_based_identified在初始化时直接赋值为true,但是m3u8的ts里可能没有idr,所以我在DuplicatePkt修正了一下idr_based_identified: |
环境:m3u8 的源地址 http://v.baoliao.topv.yunfan.com/video/t01b5f5063e8284f474.m3u8
今天测试了一下 7.1.2 7.2 的手机没有此问题,
9.x 的手机,必现 日志log
after scale width 480 height 480
recovery error!!!!
跟踪了一下 应该是 IJKVideoToolBox.m -> CreateVTBSession -> videotoolbox_decode_video
请问下什么情况这种 recovery error!!!! 会出现,难道9.x 系统改变的策略,
这个与服务器的配置有关系吗。
谢谢
The text was updated successfully, but these errors were encountered: