Skip to content

Commit

Permalink
fix test case
Browse files Browse the repository at this point in the history
  • Loading branch information
burak-58 committed Aug 21, 2023
1 parent 884fc31 commit c12cb27
Showing 1 changed file with 8 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -495,6 +495,14 @@ public void testAudioVideoEnablement() {

webRTCClient.setStreamMode(WebRTCClient.MODE_MULTI_TRACK_PLAY);
webRTCClient.initializeParameters();
assertEquals(false, webRTCClient.getVideoCallEnabled());
assertEquals(false, webRTCClient.getAudioCallEnabled());

webRTCClient.setVideoEnabled(false);
webRTCClient.setAudioEnabled(false);

webRTCClient.setStreamMode(WebRTCClient.MODE_TRACK_BASED_CONFERENCE);
webRTCClient.initializeParameters();
assertEquals(true, webRTCClient.getVideoCallEnabled());
assertEquals(true, webRTCClient.getAudioCallEnabled());

Expand Down

0 comments on commit c12cb27

Please sign in to comment.