Closed aivct closed 2 weeks ago
@aivct I'm having the same problem. Were you able to solve it?
Having the same issue here. @camilobaezcamba @aivct any luck?
@adok0001 If I'm not mistaken, this happened because the video I was trying to play needed basic auth and I was passing it as a header (Authorization: Basic <Base64(user:pass)>
), however it was necessary to pass it in the following format https://user:pass@www.example.com/video.mp4
in the URL
Change this:
source={{
uri: "https://www.example.com/video.mp4",
headers: {
Authorization: 'Basic <Base64(user:pass)',
}
}}
for this:
source={{
uri: "https://user:pass@www.example.com/video.mp4",
}}
This issue is stale because it has been open for 60 days with no activity.
This issue was closed because it has been inactive for 14 days since being marked as stale.
Steps to Reproduce
npm i
andnpx react-native run-android
Expected Behaviour
A video file ought to play. See https://www.wowza.com/developer/rtsp-stream-test
Result
There are no logs either from the developer console or from node.js
Additional Notes
Tested on Android. Tested client on emulator and a physical android phone. Have not tested compiling on other development environments. The same applies to getting files from https. Have not tested with local files yet.
System Config Information