Skip to content

Commit

Permalink
修改了本地文件或者已缓存文件,显示进度问题 (2017-04-26)
Browse files Browse the repository at this point in the history
  • Loading branch information
CarGuo committed Apr 26, 2017
1 parent 387853a commit 4d08188
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -264,6 +264,8 @@ public boolean setUp(String url, boolean cacheWithPlay, File cachePath, Object..
if (!mCacheFile && GSYVideoManager.instance() != null) {
proxy.registerCacheListener(GSYVideoManager.instance(), mOriginUrl);
}
} else if (!cacheWithPlay && (!url.startsWith("http") && !url.startsWith("rtmp") && !url.startsWith("rtsp"))) {
mCacheFile = true;
}
this.mUrl = url;
this.mObjects = objects;
Expand Down

0 comments on commit 4d08188

Please sign in to comment.