onIceCandidate method

void onIceCandidate(
  1. OnIceCandidateCallback f
)

Subscribes the provided callback to the on_ice_candidate events of this PeerConnection.

Implementation

void onIceCandidate(OnIceCandidateCallback f) {
  _onIceCandidate = f;
}