openvidu-server: "participantId" to "connectionId"

pull/609/head
pabloFuente 2021-02-02 11:30:36 +01:00
parent 8f822cde33
commit 8de0f838fd
1 changed files with 7 additions and 1 deletions

View File

@ -120,7 +120,7 @@ public class SingleStreamRecordingService extends RecordingService {
}
try {
if (!recordingStartedCountdown.await(5, TimeUnit.SECONDS)) {
if (!recordingStartedCountdown.await(10, TimeUnit.SECONDS)) {
log.error("Error waiting for some recorder endpoint to start in session {}", session.getSessionId());
throw this.failStartRecording(session, recording, "Couldn't initialize some RecorderEndpoint");
}
@ -260,6 +260,12 @@ public class SingleStreamRecordingService extends RecordingService {
}
connectAccordingToProfile(kurentoParticipant.getPublisher(), recorder, profile);
// if (globalStartLatch.getCount() == 1) {
// Thread.sleep(10000);
// throw new Exception("EXCEPTION!!");
// }
wrapper.getRecorder().record();
} finally {