restartIce method

Future<void> restartIce()

Implementation

Future<void> restartIce() async {
  Logs().v('[VOIP] iceRestart.');
  // Needs restart ice on session.pc and renegotiation.
  _iceGatheringFinished = false;
  _localCandidates.clear();
  await pc!.restartIce();
}