WebRTC-Android-Learn
WebRTC-Android-Learn copied to clipboard
Trying to find Turn servers in pc_config always failing
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.
I have done a pull request to #11 solve this issue.
Thanks for the Update. Is there a way to improve the frame rate for 1080p?