mirror of https://github.com/OpenVidu/openvidu.git
openvidu-test-e2e: fix ipCameraTest
parent
2741605b78
commit
fea2cf8b03
|
@ -2984,7 +2984,7 @@ public class OpenViduTestAppE2eTest {
|
||||||
String ipCamBody = "{'type':'IPCAM','rtspUri':'rtsp://dummyurl.com','adaptativeBitrate':true,'onlyPlayWithSubscribers':true,'data':'MY_IP_CAMERA'}";
|
String ipCamBody = "{'type':'IPCAM','rtspUri':'rtsp://dummyurl.com','adaptativeBitrate':true,'onlyPlayWithSubscribers':true,'data':'MY_IP_CAMERA'}";
|
||||||
JsonObject response = restClient.rest(HttpMethod.POST, "/api/sessions/IP_CAM_SESSION/connection", ipCamBody,
|
JsonObject response = restClient.rest(HttpMethod.POST, "/api/sessions/IP_CAM_SESSION/connection", ipCamBody,
|
||||||
HttpStatus.SC_OK, true,
|
HttpStatus.SC_OK, true,
|
||||||
"{'connectionId':'STR','createdAt':0,'location':'STR','platform':'STR','token':'STR','role':'STR','serverData':'STR','clientData':'STR','publishers':[],'subscribers':[]}");
|
"{'connectionId':'STR','createdAt':0,'location':'STR','platform':'STR','role':'STR','serverData':'STR','clientData':'STR','publishers':[],'subscribers':[]}");
|
||||||
|
|
||||||
CustomWebhook.waitForEvent("sessionCreated", 1);
|
CustomWebhook.waitForEvent("sessionCreated", 1);
|
||||||
CustomWebhook.waitForEvent("participantJoined", 1);
|
CustomWebhook.waitForEvent("participantJoined", 1);
|
||||||
|
|
Loading…
Reference in New Issue