Add ice candidates to peer connection.

This commit is contained in:
onurays 2020-06-04 13:10:06 +03:00 committed by Valere
parent 4d288ddd55
commit 435a6b2f1a
1 changed files with 1 additions and 0 deletions

View File

@ -172,6 +172,7 @@ class WebRtcPeerConnectionManager @Inject constructor(
// omit empty :/
if (it.isNotEmpty()) {
Timber.v("## Sending local ice candidates to call")
it.forEach { peerConnection?.addIceCandidate(it) }
currentCall?.sendLocalIceCandidates(it)
}
}