WebRTC video and Audio in IOS not working with 3G

2019-05-18 16:25发布

I am trying to connect WebRTC video and audio in iOS connected by 3g/4g gives error but works fine with WiFi network.

And after the peer connection is found the error appears

[carc] CAReportingClient.mm:320:-[CAReportingClient sendMessage:category:type:reporters:]_block_invoke: The operation couldn’t be completed. No valid RTCReporting and the session was started

1条回答
Emotional °昔
2楼-- · 2019-05-18 17:23

Call setup failing on 3G/4G but working in a local network is symptomatic of a STUN failure. See if you are supplying at least one valid STUN server to the WebRTC engine in your iOS code.

Edit: It's also possible that a peer-to-peer connection cannot be established in your 3G/4G setup. So you also need to make sure you are supplying a valid TURN server as well.

查看更多
登录 后发表回答