Provides access to the statistics relating to an instance of StreamLink.
The StatisticsEvent
is provided in an onStatisticsChange
callback to a caplin.streamlink.ConnectionListener.
Attributes | Name and Description |
---|---|
|
caplin.streamlink.StatisticsEvent()
|
Attributes | Name and Description |
---|---|
|
long
getAverageLatency()
Gets the average latency of heartbeat messages sent from Liberator to StreamLink. |
|
long
getClockOffset()
Gets the clock offset between Liberator and StreamLink (Liberator time minus StreamLink time). |
|
long
getLatency()
Gets the latency of the latest heartbeat message sent from Liberator to StreamLink. |
►
caplin.streamlink.StatisticsEvent()
►
long
getAverageLatency()
Gets the average latency of heartbeat messages sent from Liberator to StreamLink.
►
long
getClockOffset()
Gets the clock offset between Liberator and StreamLink (Liberator time minus StreamLink time).
►
long
getLatency()
Gets the latency of the latest heartbeat message sent from Liberator to StreamLink.