From f3b8fda1e228b793dfd84d3e4ba5d1efd54b98ad Mon Sep 17 00:00:00 2001 From: guoshuyu Date: Mon, 10 Sep 2018 14:20:32 +0800 Subject: [PATCH] change demo mode --- .../java/com/example/gsyvideoplayer/GSYApplication.java | 4 ++-- .../shuyu/gsyvideoplayer/render/view/RenderFactory.java | 8 -------- 2 files changed, 2 insertions(+), 10 deletions(-) delete mode 100644 gsyVideoPlayer-java/src/main/java/com/shuyu/gsyvideoplayer/render/view/RenderFactory.java 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 { -}