mirror of https://github.com/OpenVidu/openvidu.git
openvidu-test-e2e: dimensions fix
parent
ad804151bd
commit
a5effc9aef
|
@ -2121,8 +2121,7 @@ public class OpenViduTestAppE2eTest {
|
|||
|
||||
String widthAndHeight = user.getEventManager().getDimensionOfViewport();
|
||||
JSONObject obj = (JSONObject) new JSONParser().parse(widthAndHeight);
|
||||
Assert.assertEquals(
|
||||
"{\"width\":" + (long) obj.get("width") + ",\"height\":" + ((long) obj.get("height") - 1) + "}",
|
||||
Assert.assertEquals("{\"width\":" + (long) obj.get("width") + ",\"height\":" + ((long) obj.get("height")) + "}",
|
||||
pub.getVideoDimensions());
|
||||
Assert.assertEquals(new Integer(30), pub.getFrameRate());
|
||||
Assert.assertEquals("SCREEN", pub.getTypeOfVideo());
|
||||
|
|
Loading…
Reference in New Issue