PlayerEndpoint playerBlue = mp.newPlayerEndpoint(
"http://files.kurento.org/video/60sec/blue.webm").build();
PlayerEndpoint playerWhite = mp.newPlayerEndpoint(
"http://files.kurento.org/video/60sec/white.webm").build();
Composite composite = mp.newComposite().build();
HubPort hubPort1 = composite.newHubPort().build();
HubPort hubPort2 = composite.newHubPort().build();
HubPort hubPort3 = composite.newHubPort().build();
HubPort hubPort4 = composite.newHubPort().build();
HubPort hubPort5 = composite.newHubPort().build();
HttpGetEndpoint httpEP = mp.newHttpGetEndpoint().terminateOnEOS()
.build();
playerRed.connect(hubPort1);
playerGreen.connect(hubPort2);