docs: public Recording stopRecording(String recordingId) throws OpenViduJavaClientException, OpenViduHttpException {
  		HttpPost request = new HttpPost(
  				OpenVidu.urlOpenViduServer + API_RECORDINGS + API_RECORDINGS_STOP + "/" + recordingId);
  		HttpResponse response;
  		try {
  			response = OpenVidu.httpClient.execute(request);
  		} catch (IOException e) {
  			throw new OpenViduJavaClientException(e.getMessage(), e.getCause());
  		}
  
  		try {
  			int statusCode = response.getStatusLine().getStatusCode();
  			if ((statusCode == org.apache.http.HttpStatus.SC_OK)) {
  				Recording r = new Recording(httpResponseToJson(response));
  				Session activeSession = OpenVidu.activeSessions.get(r.getSessionId());
  				if (activeSession != null) {
  					activeSession.setIsBeingRecorded(false);
  				} else {
  					log.warn("No active session found for sessionId '" + r.getSessionId()
  							+ "'. This instance of OpenVidu Java Client didn't create this session");
  				}
  				return r;
  			} else {
  				throw new OpenViduHttpException(statusCode);
  			}
  		} finally {
  			EntityUtils.consumeQuietly(response.getEntity());
  		}
  	}