onCandidate

abstract suspend fun onCandidate(candidate: String, mid: String, ufrag: String, pwd: String)

Invoked when a new ICE candidate is available.

Parameters

candidate

an ICE candidate

mid

a media ID associated with this candidate

ufrag

a username fragment of this ICE candidate

pwd

a password of this ICE candidate