Skip to content

Commit

Permalink
openvidu-java-client: fix unit test
Browse files Browse the repository at this point in the history
  • Loading branch information
pabloFuente committed Apr 27, 2023
1 parent b40f120 commit 1152a79
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ public void testFromJsonError() {
@Test
public void testNonBroadcastProperties() {
Map<String, ?> map = mapFromJsonString(
"{'outputMode':'INDIVIDUAL','name':'ABDCFG','hasVideo':false,'ignoreFailedStreams':true,'session':'TestSession','hasAudio':true,'recordingLayout':'CUSTOM','customLayout':'layout1','resolution':'920x600','frameRate':18,'shmSize':600000000,'mediaNode':{'id':'mediaNodeId'}}");
"{'outputMode':'INDIVIDUAL','name':'ABDCFG','ignoreFailedStreams':true,'session':'TestSession','hasAudio':true,'recordingLayout':'CUSTOM','customLayout':'layout1','resolution':'920x600','frameRate':18,'shmSize':600000000,'mediaNode':{'id':'mediaNodeId'}}");
RecordingProperties.removeNonBroadcastProperties(map);
RecordingProperties props = RecordingProperties.fromJson(map, null).build();
Assertions.assertEquals(OutputMode.COMPOSED, props.outputMode());
Expand Down

0 comments on commit 1152a79

Please sign in to comment.