@HttpPlayerService(name = "PlayerJsonFilter", path = "/playerJsonFilter", redirect = true, useControlProtocol = true)
public class PlayerJsonJackVader extends HttpPlayerHandler {
@Override
public void onContentRequest(HttpPlayerSession session) throws Exception {
MediaPipelineFactory mpf = session.getMediaPipelineFactory();
MediaPipeline mp = mpf.create();
session.releaseOnTerminate(mp);
PlayerEndpoint playerEndpoint = mp.newPlayerEndpoint(
"http://files.kurento.org/video/fiwarecut.webm").build();
JackVaderFilter filter = mp.newJackVaderFilter().build();
playerEndpoint.connect(filter);