Add note about IOException when using bigger setDataSource call
This commit is contained in:
parent
bb2b3eb306
commit
448e57ba3f
@ -253,6 +253,10 @@ public class ReactVideoView extends ScalableVideoView implements MediaPlayer.OnP
|
|||||||
headers.putAll(toStringMap(mRequestHeaders));
|
headers.putAll(toStringMap(mRequestHeaders));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* According to https://github.com/react-native-community/react-native-video/pull/537
|
||||||
|
* there is an issue with this where it can cause a IOException.
|
||||||
|
* TODO: diagnose this exception and fix it
|
||||||
|
*/
|
||||||
setDataSource(mThemedReactContext, parsedUrl, headers);
|
setDataSource(mThemedReactContext, parsedUrl, headers);
|
||||||
} else if (isAsset) {
|
} else if (isAsset) {
|
||||||
if (uriString.startsWith("content://")) {
|
if (uriString.startsWith("content://")) {
|
||||||
|
Loading…
Reference in New Issue
Block a user