openvidu-server: COMPOSED audio-only recording duration from ms to s

pull/203/head
pabloFuente 2019-01-29 17:49:35 +01:00
parent 2b68b3d6de
commit c9ed0cd13c
1 changed files with 1 additions and 1 deletions

View File

@ -363,7 +363,7 @@ public class ComposedRecordingService extends RecordingService {
String filesPath = this.openviduConfig.getOpenViduRecordingPath() + recording.getId() + "/";
File videoFile = new File(filesPath + recording.getName() + ".webm");
long finalSize = videoFile.length();
long finalDuration = compositeWrapper.getDuration();
double finalDuration = (double) compositeWrapper.getDuration() / 1000;
this.updateFilePermissions(filesPath);