contentSession.releaseOnTerminate(mp);
RecorderEndpoint recorderEndpoint = mp.newRecorderEndpoint(getUri())
.build();
contentSession.setAttribute("recorder", recorderEndpoint);
HttpPostEndpoint httpEndpoint = mp.newHttpPostEndpoint().build();
httpEndpoint.connect(recorderEndpoint);
contentSession.start(httpEndpoint);
}
@Override
public void onContentStarted(HttpRecorderSession contentSession) {