Add ice candidates to peer connection.
This commit is contained in:
parent
4d288ddd55
commit
435a6b2f1a
@ -172,6 +172,7 @@ class WebRtcPeerConnectionManager @Inject constructor(
|
|||||||
// omit empty :/
|
// omit empty :/
|
||||||
if (it.isNotEmpty()) {
|
if (it.isNotEmpty()) {
|
||||||
Timber.v("## Sending local ice candidates to call")
|
Timber.v("## Sending local ice candidates to call")
|
||||||
|
it.forEach { peerConnection?.addIceCandidate(it) }
|
||||||
currentCall?.sendLocalIceCandidates(it)
|
currentCall?.sendLocalIceCandidates(it)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user