openvidu-server: COMPOSED audio-only recording duration from ms to s
This commit is contained in:
parent
2b68b3d6de
commit
c9ed0cd13c
@ -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);
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user