Package com.kurento.kmf.jsonrpcconnector

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


    KeepAliveManager keepAliveManager = new KeepAliveManager(
        controller.getClient(), KEEPALIVE_INTERVAL_TIME,
        KeepAliveManager.Mode.PER_CLIENT);

    keepAliveManager.start();

    long duration = controller.waitForEvents(3);

    Assert.assertTrue(duration + MARGIN_TIME > KEEPALIVE_INTERVAL_TIME
        * NUM_KEEP_ALIVES);
 
View Full Code Here


    KeepAliveManager keepAliveManager = new KeepAliveManager(
        controller.getClient(), KEEPALIVE_INTERVAL_TIME,
        KeepAliveManager.Mode.PER_ID_AS_SESSION);

    keepAliveManager.start();

    Thread.sleep(KEEPALIVE_INTERVAL_TIME * 2);

    Assert.assertTrue(
        "KeepAliveManager in pipeline mode without pipelines shouldn't send any keepAlive event",
View Full Code Here

    KeepAliveManager keepAliveManager = new KeepAliveManager(
        controller.getClient(), KEEPALIVE_INTERVAL_TIME,
        KeepAliveManager.Mode.PER_ID_AS_SESSION);

    keepAliveManager.start();

    String mediaPipelineIdA = "XXXXX";
    String mediaPipelineIdB = "YYYYY";

    keepAliveManager.addId(mediaPipelineIdA);
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.