From bf4a7df0e75ce32c3b629821eae9b6fbfae04fa7 Mon Sep 17 00:00:00 2001 From: Marius Reimer Date: Sun, 9 Dec 2018 00:40:05 +0100 Subject: [PATCH] Fix android subtile issue caused by using rawdatasource --- .../main/java/com/brentvatne/exoplayer/ReactExoplayerView.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/android-exoplayer/src/main/java/com/brentvatne/exoplayer/ReactExoplayerView.java b/android-exoplayer/src/main/java/com/brentvatne/exoplayer/ReactExoplayerView.java index 033329b7..af530c2b 100644 --- a/android-exoplayer/src/main/java/com/brentvatne/exoplayer/ReactExoplayerView.java +++ b/android-exoplayer/src/main/java/com/brentvatne/exoplayer/ReactExoplayerView.java @@ -731,7 +731,7 @@ class ReactExoplayerView extends FrameLayout implements this.srcUri = uri; this.extension = extension; - this.mediaDataSourceFactory = DataSourceUtil.getRawDataSourceFactory(this.themedReactContext); + this.mediaDataSourceFactory = buildDataSourceFactory(true); if (!isOriginalSourceNull && !isSourceEqual) { reloadSource();