Skip to content

Commit

Permalink
Add note about IOException when using bigger setDataSource call
Browse files Browse the repository at this point in the history
  • Loading branch information
cobarx committed Jun 23, 2018
1 parent bb2b3eb commit 448e57b
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -253,6 +253,10 @@ public void setSrc(final String uriString, final String type, final boolean isNe
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);
} else if (isAsset) {
if (uriString.startsWith("content://")) {
Expand Down

0 comments on commit 448e57b

Please sign in to comment.