onIceGatheringStateChange method

void onIceGatheringStateChange(
  1. OnIceGatheringStateChangeCallback f
)

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

Implementation

void onIceGatheringStateChange(OnIceGatheringStateChangeCallback f) {
  _onIceGatheringStateChange = f;
}