openvidu-test-e2e: remoteRecordAudioOnlyVideoOnlyTest fixed

pull/375/head
pabloFuente 2019-06-12 17:22:15 +02:00
parent c51aa7ca91
commit 83f0b13d69
2 changed files with 3 additions and 3 deletions

View File

@ -179,7 +179,7 @@ public class RecordingManager {
throw e; throw e;
} }
this.updateRecordingManagerCollections(session, recording); this.updateRecordingManagerCollections(session, recording);
if (!OutputMode.COMPOSED.equals(properties.outputMode()) && properties.hasVideo()) { if (!(OutputMode.COMPOSED.equals(properties.outputMode()) && properties.hasVideo())) {
// Directly send recording started notification for all cases except for // Directly send recording started notification for all cases except for
// COMPOSED recordings with video (will be sent on first RECORDER subscriber) // COMPOSED recordings with video (will be sent on first RECORDER subscriber)
this.sessionHandler.sendRecordingStartedNotification(session, recording); this.sessionHandler.sendRecordingStartedNotification(session, recording);

View File

@ -1378,7 +1378,7 @@ public class OpenViduTestAppE2eTest {
user2.getDriver().findElements(By.className("join-btn")).forEach(el -> el.sendKeys(Keys.ENTER)); user2.getDriver().findElements(By.className("join-btn")).forEach(el -> el.sendKeys(Keys.ENTER));
try { try {
user2.getEventManager().waitUntilEventReaches("connectionCreated", 4); user2.getEventManager().waitUntilEventReaches("connectionCreated", 8);
user2.getEventManager().waitUntilEventReaches("accessAllowed", 2); user2.getEventManager().waitUntilEventReaches("accessAllowed", 2);
user2.getEventManager().waitUntilEventReaches("streamCreated", 8); user2.getEventManager().waitUntilEventReaches("streamCreated", 8);
user2.getEventManager().waitUntilEventReaches("streamPlaying", 8); user2.getEventManager().waitUntilEventReaches("streamPlaying", 8);
@ -1425,7 +1425,7 @@ public class OpenViduTestAppE2eTest {
// Join Chrome users // Join Chrome users
user.getDriver().findElements(By.className("join-btn")).forEach(el -> el.sendKeys(Keys.ENTER)); user.getDriver().findElements(By.className("join-btn")).forEach(el -> el.sendKeys(Keys.ENTER));
user.getEventManager().waitUntilEventReaches("connectionCreated", 4); user.getEventManager().waitUntilEventReaches("connectionCreated", 8);
user.getEventManager().waitUntilEventReaches("accessAllowed", 2); user.getEventManager().waitUntilEventReaches("accessAllowed", 2);
user.getEventManager().waitUntilEventReaches("streamCreated", 8); user.getEventManager().waitUntilEventReaches("streamCreated", 8);
user.getEventManager().waitUntilEventReaches("streamPlaying", 8); user.getEventManager().waitUntilEventReaches("streamPlaying", 8);