mirror of https://github.com/OpenVidu/openvidu.git
openvidu-server: change recording number delimiter from - to ~
parent
2aecdfad1f
commit
7d8221de73
|
@ -51,7 +51,7 @@ public abstract class RecordingManagerUtils {
|
||||||
boolean isPresent = existingRecordingIds.contains(recordingId);
|
boolean isPresent = existingRecordingIds.contains(recordingId);
|
||||||
int i = 1;
|
int i = 1;
|
||||||
while (isPresent) {
|
while (isPresent) {
|
||||||
recordingId = baseRecordingId + "-" + i;
|
recordingId = baseRecordingId + "~" + i;
|
||||||
i++;
|
i++;
|
||||||
isPresent = existingRecordingIds.contains(recordingId);
|
isPresent = existingRecordingIds.contains(recordingId);
|
||||||
}
|
}
|
||||||
|
|
|
@ -2724,7 +2724,7 @@ public class OpenViduTestAppE2eTest extends AbstractOpenViduTestappE2eTest {
|
||||||
Assert.assertFalse("Session shouldn't be being recorded", session.isBeingRecorded());
|
Assert.assertFalse("Session shouldn't be being recorded", session.isBeingRecorded());
|
||||||
Assert.assertFalse("Session.fetch() should return false", session.fetch());
|
Assert.assertFalse("Session.fetch() should return false", session.fetch());
|
||||||
|
|
||||||
String recordingsPath = "/opt/openvidu/recordings/" + customSessionId + "-1/";
|
String recordingsPath = "/opt/openvidu/recordings/" + customSessionId + "~1/";
|
||||||
File file1 = new File(recordingsPath + customRecordingName + ".mp4");
|
File file1 = new File(recordingsPath + customRecordingName + ".mp4");
|
||||||
File file2 = new File(recordingsPath + ".recording." + recording2.getId());
|
File file2 = new File(recordingsPath + ".recording." + recording2.getId());
|
||||||
File file3 = new File(recordingsPath + recording2.getId() + ".jpg");
|
File file3 = new File(recordingsPath + recording2.getId() + ".jpg");
|
||||||
|
|
Loading…
Reference in New Issue