onTransportError method

void onTransportError()

Session Callbacks

Implementation

void onTransportError() {
  logger.error('onTransportError()');
  if (_status != C.statusTerminated) {
    terminate(<String, dynamic>{
      'status_code': 500,
      'reason_phrase': dart_sip_c.CausesType.CONNECTION_ERROR,
      'cause': dart_sip_c.CausesType.CONNECTION_ERROR
    });
  }
}