Skip to content
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

Cant stream rtsp NSURLConnection finished with error - code -1002 #14

Open
funlogicgamez opened this issue Nov 27, 2018 · 1 comment
Open

Comments

@funlogicgamez
Copy link

Im trying to play rtsp and rtmp stream but it gives me this error even after adding Allow Arbitrary loads in info.plist
NSURLConnection finished with error - code -1002
Any help will be appreciated.Thanks

@jiaxianhua
Copy link
Member

Info.plist

Apple default need https, use http should declare in Info.plist

https://stackoverflow.com/questions/31254725/transport-security-has-blocked-a-cleartext-http

<key>NSAppTransportSecurity</key>
<dict>
  <!--Include to allow all connections (DANGER)-->
  <key>NSAllowsArbitraryLoads</key>
  <true/>
</dict>

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants