Interface: Statistics
Contains internal statistics.
Note that this object will have some undocumented properties, used internally or temporarily, for monitoring and improving the performance of the service.
Properties
audioBitRate?
optional
audioBitRate:number
Current audio bitrate in bits/second.
audioCodec?
optional
audioCodec:string
Current audio codec being used.
audioRenditionId?
optional
audioRenditionId:number
Id of current audio rendition subscribed to.
bufferingEventsCount
bufferingEventsCount:
number
Total number of buffering events since instantiation.
bufferTime
bufferTime:
number
Current target buffer time if using dynamic buffer. Otherwise, this is the statically set buffer time from instantiation.
bufferTimeAdjustmentCount
bufferTimeAdjustmentCount:
number
Number of time buffer time has been adjusted. This will only happen when using dynamic buffer time (different min/max values of bufferTime).
bytesReceived
bytesReceived:
number
Counter of number of bytes received.
channelGroupId?
optional
channelGroupId:string
Channel group being subscribed to.
channelId
channelId:
string
Current channel ID being subscribed to.
clientId
clientId:
string
Unlike sessionId
, clientId
will remain the same even after reconnections and represents this unique Vindral instance.
connectCount
connectCount:
number
Total number of connections that have been established since instantiation.
connectionAttemptCount
connectionAttemptCount:
number
Total number of connection attempts since instantiation.
errorCount
errorCount:
number
The total amount of errors being spawned. Note that some media errors can trigger thousands of errors for a single client in a few seconds before recovering. Therefore, consider the number of viewers with errors, not just the total amount. Also, consider the median instead of the mean for average calculation.
estimatedBandwidth
estimatedBandwidth:
number
A very rough initial estimation of minimum available bandwidth.
expectedAudioBitRate?
optional
expectedAudioBitRate:number
Currently expected audio bit rate according to metadata in bits/s.
expectedVideoBitRate?
optional
expectedVideoBitRate:number
Currently expected video bit rate according to metadata in bits/s.
fatalQosCount
fatalQosCount:
number
Number of fatal quality of service events.
frameRate?
optional
frameRate: [number
,number
]
Frame rate. Example: "frameRate": [24000, 1001]
.
ip?
optional
ip:string
IP of the client.
isAbrEnabled
isAbrEnabled:
boolean
True if adaptive bitrate (ABR) is enabled.
language?
optional
language:string
Current language. For non-multi language streams, this will often be unset.
renditionLevelChangeCount
renditionLevelChangeCount:
number
Total count of rendition level changes (quality downgrades/upgrades).