From df03c8608f53ade765afb482efe151a199bc6ec1 Mon Sep 17 00:00:00 2001 From: guoshuyu Date: Tue, 21 Aug 2018 15:06:41 +0800 Subject: [PATCH] fix --- .../main/java/com/example/gsyvideoplayer/GSYApplication.java | 4 ++-- gsyVideoPlayer-base/gradle.properties | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/app/src/main/java/com/example/gsyvideoplayer/GSYApplication.java b/app/src/main/java/com/example/gsyvideoplayer/GSYApplication.java index 44317e460..9a42583a3 100644 --- a/app/src/main/java/com/example/gsyvideoplayer/GSYApplication.java +++ b/app/src/main/java/com/example/gsyvideoplayer/GSYApplication.java @@ -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); diff --git a/gsyVideoPlayer-base/gradle.properties b/gsyVideoPlayer-base/gradle.properties index fe7f27b06..02f2d823b 100644 --- a/gsyVideoPlayer-base/gradle.properties +++ b/gsyVideoPlayer-base/gradle.properties @@ -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