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) {