Merge pull request #1373 from reime005/android-subtitle-fix

[WIP] Fix android subtitle issue caused by using rawdatasource
This commit is contained in:
Hampton Maxwell 2018-12-31 13:37:02 -08:00 committed by GitHub
commit 7837c39df0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -733,7 +733,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();