Using Ping Class

QUESTION:

We’ve seen that there is Ping class in API docs. How do we use this?

 

ANSWER:

You can get the connection and call ping. Red5.getConnectionLocal().ping(); or something similar. Then you can use Red5.getConnectionLocal().getLastPingTime();

Have more questions? Submit a request

0 Comments

Please sign in to leave a comment.