restartIce method

  1. @override
Future<void> restartIce()
override

Implementation

@override
Future<void> restartIce() async {
  try {
    await WebRTC.invokeMethod('restartIce', <String, dynamic>{
      'peerConnectionId': _peerConnectionId,
    });
  } on PlatformException catch (e) {
    throw 'Unable to RTCPeerConnection::resartIce: ${e.message}';
  }
}