Package org.red5.server.api.statistics
Interface IPlaylistSubscriberStreamStatistics
- All Superinterfaces:
IStatisticsBase
,IStreamStatistics
- All Known Implementing Classes:
PlaylistSubscriberStream
Statistical informations about a stream that is subscribed by a client.
- Author:
- The Red5 Project, Joachim Bauch (jojo@struktur.de)
-
Method Summary
Modifier and TypeMethodDescriptionlong
Return total number of bytes sent to the client from this stream.int
Return the buffer duration as requested by the client.double
Return estimated fill ratio of the client buffer.Methods inherited from interface org.red5.server.api.statistics.IStatisticsBase
getCreationTime
Methods inherited from interface org.red5.server.api.statistics.IStreamStatistics
getCurrentTimestamp
-
Method Details
-
getBytesSent
long getBytesSent()Return total number of bytes sent to the client from this stream.- Returns:
- number of bytes
-
getClientBufferDuration
int getClientBufferDuration()Return the buffer duration as requested by the client.- Returns:
- the buffer duration in milliseconds
-
getEstimatedBufferFill
double getEstimatedBufferFill()Return estimated fill ratio of the client buffer.- Returns:
- fill ratio in percent
-