diff --git a/app/src/main/java/com/example/gsyvideoplayer/GSYApplication.java b/app/src/main/java/com/example/gsyvideoplayer/GSYApplication.java index 499a4839b..88783f513 100644 --- a/app/src/main/java/com/example/gsyvideoplayer/GSYApplication.java +++ b/app/src/main/java/com/example/gsyvideoplayer/GSYApplication.java @@ -39,11 +39,11 @@ public void onCreate() { //GSYVideoType.enableMediaCodec(); //GSYVideoType.enableMediaCodecTexture(); - PlayerFactory.setPlayManager(Exo2PlayerManager.class);//EXO模式 + //PlayerFactory.setPlayManager(Exo2PlayerManager.class);//EXO模式 //PlayerFactory.setPlayManager(SystemPlayerManager.class);//系统模式 //PlayerFactory.setPlayManager(IjkPlayerManager.class);//ijk模式 - CacheFactory.setCacheManager(ExoPlayerCacheManager.class);//exo缓存模式,支持m3u8,只支持exo + //CacheFactory.setCacheManager(ExoPlayerCacheManager.class);//exo缓存模式,支持m3u8,只支持exo //CacheFactory.setCacheManager(ProxyCacheManager.class);//代理缓存模式,支持所有模式,不支持m3u8等 //GSYVideoType.setShowType(GSYVideoType.SCREEN_MATCH_FULL); diff --git a/gsyVideoPlayer-java/src/main/java/com/shuyu/gsyvideoplayer/render/view/RenderFactory.java b/gsyVideoPlayer-java/src/main/java/com/shuyu/gsyvideoplayer/render/view/RenderFactory.java deleted file mode 100644 index 05c4131eb..000000000 --- a/gsyVideoPlayer-java/src/main/java/com/shuyu/gsyvideoplayer/render/view/RenderFactory.java +++ /dev/null @@ -1,8 +0,0 @@ -package com.shuyu.gsyvideoplayer.render.view; - -/** - * Created by guoshuyu - * Date: 2018-08-30 - */ -public class RenderFactory { -}