onSendOffer method

  1. @override
void onSendOffer(
  1. int userId,
  2. RTCSessionDescription sdp
)

Implementation

@override
void onSendOffer(int userId, RTCSessionDescription sdp) async {
  logTime("onSendOffer", _TAG);
  try {
    await _signaler.sendOffer(
        sdp, sessionDescription.conferenceType, userId == publisherId);
  } on WsException catch (ex) {
    logTime("onSendOffer error: = $ex");
    notifySessionError(ex);
  }
}