session.releaseOnTerminate(mp);
PlayerEndpoint playerEndPoint = mp.newPlayerEndpoint(
"http://files.kurento.org/video/fiwarecut.webm").build();
JackVaderFilter filter = mp.newJackVaderFilter().build();
playerEndPoint.connect(filter);
session.setAttribute("player", playerEndPoint);
HttpGetEndpoint httpEndpoint = mp.newHttpGetEndpoint().terminateOnEOS()
.build();
filter.connect(httpEndpoint);
session.start(httpEndpoint);
}