[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
Asked
Active
Viewed 1,518 times
3
-
While we aree using valid STUN server for communication. – jaydev Mar 21 '18 at 07:33
-
Have a look on this url https://stackoverflow.com/questions/40041981/android-webrtc-not-working-with-3g-4g – aBilal17 Mar 21 '18 at 07:44
-
Thanks , but i have a ios mobile application and getting issue in Iphone appliation – jaydev Mar 22 '18 at 12:54
1 Answers
1
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.
-
Hello, I am currently working with webrtc, after I receive the Stream I see [Add stream Remote: RTCMediaStream: default A = 1 V = 1] but it doesn't work for me when i show up, do you have any solution for me, thank you very much – Hiền Đỗ Jan 08 '20 at 11:29
-
for remote video i didnt get the video from [Add stream Remote: RTCMediaStream:], i obtain the video as inititial the local peer like: `let videoTrack = self.createVideoTrack() self.localVideoTrack = videoTrack self.localPeer?.add(videoTrack, streamIds: [streamId]) self.remoteVideoTrack = self.localPeer?.transceivers.first { $0.mediaType == .video }?.receiver.track as? RTCVideoTrack` – kleinerQ Jan 17 '20 at 01:40