File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed
webrtc-android-framework/src/test/java/io/antmedia/webrtcandroidframework Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -801,7 +801,7 @@ public void testOnTakeConfiguration() {
801
801
verify (webRTCClient , times (1 )).createAnswer (streamId );
802
802
}
803
803
@ Test
804
- public void audioOnlyTest (){
804
+ public void audioOnlyTest () throws InterruptedException {
805
805
806
806
PeerConnection pc = mock (PeerConnection .class );
807
807
webRTCClient .addPeerConnection ("test" ,pc );
@@ -832,6 +832,7 @@ public void audioOnlyTest(){
832
832
doReturn (transceivers ).when (pc ).getTransceivers ();
833
833
834
834
webRTCClient .createAnswer ("test" );
835
+ Thread .sleep (3000 );
835
836
836
837
verify (videoTransceiver1 ).setDirection (RtpTransceiver .RtpTransceiverDirection .INACTIVE );
837
838
verify (videoTransceiver2 ).setDirection (RtpTransceiver .RtpTransceiverDirection .INACTIVE );
You can’t perform that action at this time.
0 commit comments