WebRTC-Android-Learn icon indicating copy to clipboard operation
WebRTC-Android-Learn copied to clipboard

Trying to find Turn servers in pc_config always failing

Open appunnicer13 opened this issue 8 years ago • 2 comments

in RoomParametersFetcher.java ,
LinkedList<PeerConnection.IceServer> iceServers = iceServersFromPCConfigJSON(roomJson.getString("pc_config")); boolean isTurnPresent = false; for (PeerConnection.IceServer server : iceServers) { Log.d(TAG, "IceServer: " + server); if (server.uri.startsWith("turn:")) { isTurnPresent = true; break; } }

Trying to find turn servers within pc_conifg, if not found falling back to ice providers . Since I think changes came in apprtc , they moved turn servers as well as stun servers (which is not accounted for) in to "turn_server_override" parameter. Please update the code to account for the above as well.

appunnicer13 avatar Jan 25 '17 04:01 appunnicer13

I have done a pull request to #11 solve this issue.

appunnicer13 avatar Jan 25 '17 04:01 appunnicer13

Thanks for the Update. Is there a way to improve the frame rate for 1080p?

Raj123456788 avatar Jan 26 '17 02:01 Raj123456788