From a3181d712742f420bf299782b908b55e29a13556 Mon Sep 17 00:00:00 2001 From: guoshuyu <359369982@qq.com> Date: Thu, 27 Aug 2020 10:53:00 +0800 Subject: [PATCH] update custom dataSouce --- .../main/java/com/example/gsyvideoplayer/GSYApplication.java | 2 +- .../{source => exosource}/GSYDefaultHttpDataSource.java | 2 +- .../{source => exosource}/GSYExoHttpDataSourceFactory.java | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) rename app/src/main/java/com/example/gsyvideoplayer/{source => exosource}/GSYDefaultHttpDataSource.java (99%) rename app/src/main/java/com/example/gsyvideoplayer/{source => exosource}/GSYExoHttpDataSourceFactory.java (99%) diff --git a/app/src/main/java/com/example/gsyvideoplayer/GSYApplication.java b/app/src/main/java/com/example/gsyvideoplayer/GSYApplication.java index 8c90e7a55..a4b7660fd 100644 --- a/app/src/main/java/com/example/gsyvideoplayer/GSYApplication.java +++ b/app/src/main/java/com/example/gsyvideoplayer/GSYApplication.java @@ -9,7 +9,7 @@ import tv.danmaku.ijk.media.exo2.IjkExo2MediaPlayer; import tv.danmaku.ijk.media.player.IMediaPlayer; -import com.example.gsyvideoplayer.source.GSYExoHttpDataSourceFactory; +import com.example.gsyvideoplayer.exosource.GSYExoHttpDataSourceFactory; import com.google.android.exoplayer2.DefaultLoadControl; import com.google.android.exoplayer2.source.MediaSource; import com.google.android.exoplayer2.source.hls.HlsMediaSource; diff --git a/app/src/main/java/com/example/gsyvideoplayer/source/GSYDefaultHttpDataSource.java b/app/src/main/java/com/example/gsyvideoplayer/exosource/GSYDefaultHttpDataSource.java similarity index 99% rename from app/src/main/java/com/example/gsyvideoplayer/source/GSYDefaultHttpDataSource.java rename to app/src/main/java/com/example/gsyvideoplayer/exosource/GSYDefaultHttpDataSource.java index 740711092..07ac8198a 100644 --- a/app/src/main/java/com/example/gsyvideoplayer/source/GSYDefaultHttpDataSource.java +++ b/app/src/main/java/com/example/gsyvideoplayer/exosource/GSYDefaultHttpDataSource.java @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package com.example.gsyvideoplayer.source; +package com.example.gsyvideoplayer.exosource; import android.net.Uri; import android.text.TextUtils; diff --git a/app/src/main/java/com/example/gsyvideoplayer/source/GSYExoHttpDataSourceFactory.java b/app/src/main/java/com/example/gsyvideoplayer/exosource/GSYExoHttpDataSourceFactory.java similarity index 99% rename from app/src/main/java/com/example/gsyvideoplayer/source/GSYExoHttpDataSourceFactory.java rename to app/src/main/java/com/example/gsyvideoplayer/exosource/GSYExoHttpDataSourceFactory.java index 69f2daeea..14972f14c 100644 --- a/app/src/main/java/com/example/gsyvideoplayer/source/GSYExoHttpDataSourceFactory.java +++ b/app/src/main/java/com/example/gsyvideoplayer/exosource/GSYExoHttpDataSourceFactory.java @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package com.example.gsyvideoplayer.source; +package com.example.gsyvideoplayer.exosource; import com.google.android.exoplayer2.upstream.HttpDataSource; import com.google.android.exoplayer2.upstream.HttpDataSource.BaseFactory;