Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
CarGuoSmall committed Aug 21, 2018
1 parent e79f4d9 commit df03c86
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -35,11 +35,11 @@ public void onCreate() {
//GSYVideoType.enableMediaCodec();
//GSYVideoType.enableMediaCodecTexture();

PlayerFactory.setPlayManager(new Exo2PlayerManager());//EXO模式
//PlayerFactory.setPlayManager(new Exo2PlayerManager());//EXO模式
//PlayerFactory.setPlayManager(new SystemPlayerManager());//系统模式
//PlayerFactory.setPlayManager(new IjkPlayerManager());//ijk模式

CacheFactory.setCacheManager(new ExoPlayerCacheManager());//exo缓存模式,支持m3u8,只支持exo
//CacheFactory.setCacheManager(new ExoPlayerCacheManager());//exo缓存模式,支持m3u8,只支持exo
//CacheFactory.setCacheManager(new ProxyCacheManager());//代理缓存模式,支持所有模式,不支持m3u8等

//GSYVideoType.setShowType(GSYVideoType.SCREEN_MATCH_FULL);
Expand Down
4 changes: 2 additions & 2 deletions gsyVideoPlayer-base/gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,6 @@
# This option should only be used with decoupled projects. More details, visit
# http://www.gradle.org/docs/current/userguide/multi_project_builds.html#sec:decoupled_projects
# org.gradle.parallel=true
PROJ_NAME=GSYVideoPlayer-base
PROJ_ARTIFACTID=GSYVideoPlayer-base
PROJ_NAME=gsyVideoPlayer-base
PROJ_ARTIFACTID=gsyVideoPlayer-base

0 comments on commit df03c86

Please sign in to comment.