mirror of https://github.com/OpenVidu/openvidu.git
openvidu-test-e2e: fix openViduJavaClientTestIpCamAndTranscoding
parent
e242255da4
commit
e4d0123682
|
@ -3,6 +3,7 @@ package io.openvidu.server.core;
|
|||
import org.kurento.client.MediaProfileSpecType;
|
||||
|
||||
public enum MediaServer {
|
||||
|
||||
kurento(MediaProfileSpecType.WEBM), mediasoup(MediaProfileSpecType.MKV);
|
||||
|
||||
private final MediaProfileSpecType recordingProfile;
|
||||
|
|
|
@ -68,7 +68,6 @@ import io.openvidu.server.core.EndReason;
|
|||
import io.openvidu.server.core.FinalUser;
|
||||
import io.openvidu.server.core.IdentifierPrefixes;
|
||||
import io.openvidu.server.core.MediaOptions;
|
||||
import io.openvidu.server.core.MediaServer;
|
||||
import io.openvidu.server.core.Participant;
|
||||
import io.openvidu.server.core.Session;
|
||||
import io.openvidu.server.core.SessionManager;
|
||||
|
|
|
@ -2795,6 +2795,9 @@ public class OpenViduTestAppE2eTest extends AbstractOpenViduTestAppE2eTest {
|
|||
Connection ipcamera = session.createConnection(new ConnectionProperties.Builder().type(ConnectionType.IPCAM)
|
||||
.rtspUri(rtsp).adaptativeBitrate(false).onlyPlayWithSubscribers(false).networkCache(50).build());
|
||||
|
||||
// Give some time for the recording to start in background
|
||||
Thread.sleep(3000);
|
||||
|
||||
// New stream should automatically start recording with ALWAYS recording mode
|
||||
Assert.assertFalse("Wrong recording property", session.isBeingRecorded());
|
||||
Assert.assertTrue("OpenVidu.fetch() should return true", session.fetch());
|
||||
|
|
Loading…
Reference in New Issue