ijkplayer icon indicating copy to clipboard operation
ijkplayer copied to clipboard

Cant stream rtsp NSURLConnection finished with error - code -1002

Open funlogicgamez opened this issue 6 years ago • 1 comments

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

funlogicgamez avatar Nov 27 '18 07:11 funlogicgamez

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>

jiaxianhua avatar Nov 27 '18 08:11 jiaxianhua