Skip to content

Commit

Permalink
New webhooks playStart, playStop, recordStart issue #4666
Browse files Browse the repository at this point in the history
  • Loading branch information
lastpeony committed Mar 8, 2023
1 parent 1188b02 commit afc97fe
Showing 1 changed file with 0 additions and 11 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1883,17 +1883,6 @@ public void testRtmpStreamPlayStop() throws Exception {

spyAdaptor.streamPlayItemStop(stream, item);
verify(spyAdaptor, times(1)).sendStopPlayWebHook(anyString(), anyString());
Awaitility.await().atMost(5, TimeUnit.SECONDS).pollInterval(1, TimeUnit.SECONDS).until(
()-> {
boolean called = false;
try{
assertEquals(0, spyAdaptor.getDataStore().get(streamId).getRtmpViewerCount());
called = true;
}catch (Exception e){
e.printStackTrace();
}
return called;
});

}

Expand Down

0 comments on commit afc97fe

Please sign in to comment.