Fix android subtile issue caused by using rawdatasource
This commit is contained in:
parent
b2aa8c4e38
commit
bf4a7df0e7
@ -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();
|
||||||
|
Loading…
Reference in New Issue
Block a user