jaydev
jaydev

Reputation: 1653

WebRTC video and Audio in IOS not working with 3G /4G but works with WIFI connection

[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

Upvotes: 3

Views: 1625

Answers (1)

kleinerQ
kleinerQ

Reputation: 11

i have the same problem with using google stun:stun:stun.l.google.com:19302

i think the problem is caused by the stun/turn server.

i solve and test it successfully with applying a free turn server in http://numb.viagenie.ca/cgi-bin/numbacct

and in swift i just add the

RTCIceServer(urlStrings: ["turn:numb.viagenie.ca:3478"], username: "YourUserName", credential: "yourPassword")

into iceServers list of webrtc,

this works for me, at least prove my swift side is correct(i am iOS developer), all the rest is the turn/stun server side.

Upvotes: 1

Related Questions