}
}
public Long addFLVRecordingLog(String msgType, FlvRecording flvRecording, ConverterProcessResult returnMap) {
try {
FlvRecordingLog flvRecordingLog = new FlvRecordingLog();
flvRecordingLog.setInserted(new Date());
flvRecordingLog.setExitValue(returnMap.getExitValue());
flvRecordingLog.setFlvRecording(flvRecording);
flvRecordingLog.setFullMessage(returnMap.buildLogMessage());
flvRecordingLog.setMsgType(msgType);
flvRecordingLog = em.merge(flvRecordingLog);
Long flvRecordingLogId = flvRecordingLog.getFlvRecordingLogId();
return flvRecordingLogId;
} catch (Exception ex2) {
log.error("[addFLVRecordingLog]: ",ex2);
}