code: protected void generateRecordingMetadataFile(Recording recording) {
  		String folder = this.openviduConfig.getOpenViduRecordingPath() + recording.getId();
  		boolean newFolderCreated = this.fileWriter.createFolderIfNotExists(folder);
  
  		if (newFolderCreated) {
  			log.info(
  					"New folder {} created. This means the recording started for a session with no publishers or no media type compatible publishers",
  					folder);
  		} else {
  			log.info("Folder {} already existed. Some publisher is already being recorded", folder);
  		}
  
  		String filePath = this.openviduConfig.getOpenViduRecordingPath() + recording.getId() + "/"
  				+ RecordingManager.RECORDING_ENTITY_FILE + recording.getId();
  		String text = recording.toJson().toString();
  		this.fileWriter.createAndWriteFile(filePath, text);
  		log.info("Generated recording metadata file at {}", filePath);
  	}
docs: Generates metadata recording file (".recording.RECORDING_ID" JSON file to
  store Recording entity)