-
Notifications
You must be signed in to change notification settings - Fork 59
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
ijkplayer播放加密的m3u8使用本地缓存一直卡顿 #8
Comments
什么样的视频啊?可以发出来我帮忙看一下。 |
你提供的demo里的test url2的视频就是加密过的,会有这个问题。
但是你那边ijkplayer提供的so不支持cryto吧,我提了另外一个issue(我已经关了)
方便的话,可以加个qq或微信吗
QQ 407010135
WX xhigher
…------------------ 原始邮件 ------------------
发件人: "Jeff Mony"<[email protected]>;
发送时间: 2020年4月23日(星期四) 中午11:11
收件人: "JeffMony/MediaSDK"<[email protected]>;
抄送: "xhigher"<[email protected]>;"Author"<[email protected]>;
主题: Re: [JeffMony/MediaSDK] ijkplayer播放加密的m3u8使用本地缓存一直卡顿 (#8)
什么样的视频啊?可以发出来我帮忙看一下。
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or unsubscribe.
|
不用缓存得情况下,ijkplayer是可以播放加密得m3u8;分析日志看到,ijkplayer是能获取第一个ts0的,能播放出来,但是数据传输结束符之类未能识别,最后只能超时(30s)后又重新发了一次ts0,依次每次都是又两次相同ts的请求,间隔30s。 |
找到了一个非常规的方法暂时修复上面的问题将连接超时时间设短1~3s,不过应该容易出问题;我用了第三方的AndroidAsync重写一个proxyserver就可以了,毕竟他们已经比较稳定了,建议你们也整合进来。 |
LOVE_BigLi,这是我的微信好,可以交流一下。 |
最近工作比较忙,我一直都在构思如何维护好这个库,做成一个真正的边下边播的库,因为网上这方面的库有,但是不全。 |
在HttpResponse.send方法里
sendBodyWithCorrectTransferAndEncoding(outputStream);
outputStream.flush();
这里会抛异常Broken pipe
The text was updated successfully, but these errors were encountered: