fix: remove the two unsupported servers

This commit is contained in:
0x330a 2023-12-08 11:44:28 +11:00
parent 7fe40ea9f1
commit 9a83daa53f

View File

@ -50,7 +50,7 @@ class PeerConnectionWrapper(private val context: Context,
private fun initPeerConnection() { private fun initPeerConnection() {
val random = SecureRandom().asKotlinRandom() val random = SecureRandom().asKotlinRandom()
val iceServers = listOf("freyr","fenrir","frigg","angus","hereford","holstein", "brahman").shuffled(random).take(2).map { sub -> val iceServers = listOf("freyr","angus","hereford","holstein", "brahman").shuffled(random).take(2).map { sub ->
PeerConnection.IceServer.builder("turn:$sub.getsession.org") PeerConnection.IceServer.builder("turn:$sub.getsession.org")
.setUsername("session202111") .setUsername("session202111")
.setPassword("053c268164bc7bd7") .setPassword("053c268164bc7bd7")