Fix android subtile issue caused by using rawdatasource

This commit is contained in:
Marius Reimer 2018-12-09 00:40:05 +01:00
parent b2aa8c4e38
commit bf4a7df0e7

View File

@ -731,7 +731,7 @@ class ReactExoplayerView extends FrameLayout implements
this.srcUri = uri; this.srcUri = uri;
this.extension = extension; this.extension = extension;
this.mediaDataSourceFactory = DataSourceUtil.getRawDataSourceFactory(this.themedReactContext); this.mediaDataSourceFactory = buildDataSourceFactory(true);
if (!isOriginalSourceNull && !isSourceEqual) { if (!isOriginalSourceNull && !isSourceEqual) {
reloadSource(); reloadSource();