Package com.kurento.kmf.jsonrpcconnector

Examples of com.kurento.kmf.jsonrpcconnector.KeepAliveManager.stop()


    long duration = controller.waitForEvents(3);

    Assert.assertTrue(duration + MARGIN_TIME > KEEPALIVE_INTERVAL_TIME
        * NUM_KEEP_ALIVES);

    keepAliveManager.stop();
  }

  @Test
  public void oneMediaPipelineTest() throws InterruptedException {

View Full Code Here


    Thread.sleep(KEEPALIVE_INTERVAL_TIME * 3);

    Assert.assertTrue("keepAlive events should be at least 2",
        controller.clearEvents() >= 2);

    keepAliveManager.stop();
  }

  @Test
  public void addRemovePipelinesTest() throws InterruptedException {

View Full Code Here

    Assert.assertTrue(
        "keepAliveManager without pipelines shouldn't send keepAlives",
        controller.clearEvents() == 0);

    keepAliveManager.stop();
  }
}
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.