processRejectFromUser method

void processRejectFromUser(
  1. CubeRTCSessionDescription cubeRtcSdp,
  2. int opponentId
)

Implementation

void processRejectFromUser(
  CubeRTCSessionDescription cubeRtcSdp,
  int opponentId,
) {
  closeConnectionForOpponent(opponentId, (opponentId) {
    if (onCallRejectedByUser != null) {
      onCallRejectedByUser!(this, opponentId, cubeRtcSdp.userInfo);
    }
  });
}