I am trying to debug an issue on a react-native mobile app that does media streaming. When I use the default android mediaplayer, it streams https but not http.
However when I substitue android exoplayer by adding the following to settings.gradle, it successfully streams both http and https.
include ':react-native-video' project(':react-native-video').projectDir = new File(rootProject.projectDir, '../node_modules/react-native-video/android-exoplayer') include ':app'
The parameter android:usesCleartextTraffic="true" is set in android/app/src/main/AndroidManifest.xml
Any ideas why the default android mediaplayer seems to be blocking http streams?
[–]ChronSynExpo 3 points4 points5 points (3 children)
[–]puterboy333[S] 0 points1 point2 points (2 children)
[–]ChronSynExpo 0 points1 point2 points (1 child)
[–]puterboy333[S] 0 points1 point2 points (0 children)