提交 e79f4d9f 编写于 作者: G guoshuyu

修正代理缓存cache的header问题

上级 63e1d91e
......@@ -60,6 +60,7 @@ public class ProxyCacheManager implements ICacheManager, CacheListener {
@Override
public void doCacheLogic(Context context, IMediaPlayer mediaPlayer, String originUrl, Map<String, String> header, File cachePath) {
String url = originUrl;
mMapHeadData = header;
if (url.startsWith("http") && !url.contains("127.0.0.1") && !url.contains(".m3u8")) {
HttpProxyCacheServer proxy = getProxy(context.getApplicationContext(), cachePath);
if (proxy != null) {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册