log.debug("Received SDP offer");
// Media Logic
WebRtcEndpoint webRtcEndpoint = room.getPipeline().newWebRtcEndpoint()
.build();
HubPort port = room.getComposite().newHubPort().build();
webRtcEndpoint.connect(port);
port.connect(webRtcEndpoint);
room.joinParticipant(session, webRtcEndpoint, port);
// SDP Answer
String sdpAnswer = webRtcEndpoint.processOffer(sdpOffer);
JsonObject scParams = new JsonObject();