+ "Please select another name and try again.");
} else {
WebRtcEndpoint endpoint = mp.newWebRtcEndpoint().build();
HubPort hubPort = dispatcher.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);