} else {
WebRtcEndpoint endpoint = mp.newWebRtcEndpoint().build();
HubPort hubPort = compsite.newHubPort().build();
endpoint.connect(hubPort);
hubPort.connect(endpoint);
DispatcherParticipant participant = new DispatcherParticipant(
session.getSessionId(), name, endpoint, session, hubPort);
session.start(participant.endpoint);
session.setAttribute("participant", participant);
participants.put(participant.getId(), participant);
notifyJoined(participant);
hubPort.connect(endpoint);
}
}