Provides an access to internal RTMP metrics APIs.
Returns the RtmpMetrics if the client is available, otherwise RtmpMetrics.ZERO.
Returns the RtmpMetrics if the client is available, otherwise null.
Computes the round trip time (RTT) to the RTMP server using a ping request.
Writes a ping request to the server and awaits the response.