throws Exception {
EventListener.clearEventList();
EventListener.addEvent();
MediaPipelineFactory mpf = contentSession.getMediaPipelineFactory();
MediaPipeline mp = mpf.create();
contentSession.releaseOnTerminate(mp);
PlayerEndpoint playerEndpoint = mp.newPlayerEndpoint(
VideoURLs.map.get("webm")).build();
contentSession.setAttribute("player", playerEndpoint);
HttpGetEndpoint httpEP = mp.newHttpGetEndpoint().terminateOnEOS()