-
Notifications
You must be signed in to change notification settings - Fork 183
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Not able to stream RTSP on IOS. EXC_BAD_ACCESS when run #208
Comments
any solution ? |
I faced this issue building in an Mac M1. The app crashes on simulator but works fine in real device. |
I'm facing this error as well, is there any more solutions to it? |
replace special symbol in url path. Example '@' to '%40'. valid url : encodeURI(), encodeURIComponent(). I fix it |
That doesn't seem to work for me |
npx react-native run-ios --simulator="iPhone 15 Pro" --destination arch=x86_64 that's work for me to thx |
Thank, I used it and it stopped crashing |
where to do this?? |
If your account or password contains special characters, use encodeURIComponent |
I am just getting rtmp live streaming link from backend like |
Your path has no special characters, so this is not the case I encountered.Please learn more. |
I'm facing the same problem. Enconding the URL as @tunm1228 sugested did not work for me. The app stops crashing but the player is not able to play the video. My RTSP camera stream URL is "rtsp://admin:econdos123@192.168.1.123:554/Streaming/channels/101". I've created a sample repository with the problem occurring: https://github.com/diegods-ferreira/react-native-vlc-media-player-ios-crashing |
I'm trying to stream HLS and I get the same crash. |
Hey, if you’re using |
I can say that I'm not using TouchableWithoutFeedback and it is still crashing for me. |
I was able to solve my problem with RTSP streaming. It turns out I had to request for Apple's Multicast Networking Entitlement permission so my app could stream. Apparently this had been going since iOS 17 and I just now realised. But once I got permission for multicast networking my app stopped crashing. For anyone who wants to know how to request this permission, here it is: https://forums.developer.apple.com/forums/thread/663271?answerId=639455022#639455022 |
I am trying to play a live video with an .FLV file, but it also encounters the same error as mentioned above. I have tried the solutions above, but none of them worked. I am using React Native 0.72.14. |
@chienvuvan99 I did not try using this lib for .flv files so I wouldn't know if it would work for them, I'm sorry. As I said, my solution solved my problem with RTSP streaming =/ |
I am trying to live stream using RTSP, the url is wokring fine in the actual media player but it's not working and show error: EXC_BAD_ACCESS when trying to stream it using VLCPlayer. Both simulator and real device
The text was updated successfully, but these errors were encountered: