From e79f4d9f700de17936b8c1e23c3829538a25f41d Mon Sep 17 00:00:00 2001 From: guoshuyu Date: Tue, 21 Aug 2018 14:50:19 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=AD=A3=E4=BB=A3=E7=90=86=E7=BC=93?= =?UTF-8?q?=E5=AD=98cache=E7=9A=84header=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../java/com/shuyu/gsyvideoplayer/cache/ProxyCacheManager.java | 1 + 1 file changed, 1 insertion(+) diff --git a/gsyVideoPlayer-java/src/main/java/com/shuyu/gsyvideoplayer/cache/ProxyCacheManager.java b/gsyVideoPlayer-java/src/main/java/com/shuyu/gsyvideoplayer/cache/ProxyCacheManager.java index cc9249425..564529c04 100644 --- a/gsyVideoPlayer-java/src/main/java/com/shuyu/gsyvideoplayer/cache/ProxyCacheManager.java +++ b/gsyVideoPlayer-java/src/main/java/com/shuyu/gsyvideoplayer/cache/ProxyCacheManager.java @@ -60,6 +60,7 @@ public void onCacheAvailable(File cacheFile, String url, int percentsAvailable) @Override public void doCacheLogic(Context context, IMediaPlayer mediaPlayer, String originUrl, Map 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) {