*/
protected HttpEndpoint buildAndConnectHttpEndpoint(
PlayerEndpoint playerEndpoint) {
getLogger().info("Recovering media pipeline");
MediaPipeline mediaPiplePipeline = playerEndpoint.getMediaPipeline();
getLogger().info("Creating HttpEndpoint ...");
HttpEndpoint httpEndpoint = mediaPiplePipeline.newHttpGetEndpoint()
.terminateOnEOS().build();
releaseOnTerminate(httpEndpoint);
playerEndpoint.connect(httpEndpoint);
return httpEndpoint;
}