PlayerEndpoint playerEP = mp.newPlayerEndpoint(
"http://files.kurento.org/video/small.webm").build();
HttpGetEndpoint httpEP = mp.newHttpGetEndpoint().terminateOnEOS()
.build();
playerEP.connect(httpEP);
playerEP.play();
// Test execution
HttpClient client = HttpClientBuilder.create().build();
HttpGet httpGet = new HttpGet(httpEP.getUrl());
HttpResponse response = client.execute(httpGet);