Lumen help
Introduction
On top of the stats API exposed by the SDK, we created a view helper called LumenStatsView
to help you integrate and understand Mesh Delivery faster. The LumenStatsView
will inform you about the different states of the SDK lifecycle and Lumen metrics.
The view looks like the following:
Note: LumenStatsView
is NOT intended for production
Adding a LumenStatsView
is really simple. A helper method is available to display various CDN Load Balancer related stats on a specified UIView.
Note: Our sample app is using AVPlayerViewController, on iOS we are adding the view as a subview of AVPlayerViewController
. On tvOS, we suggest to use customOverlayViewController instead.
What do the stats tell you?
The LumenStatsView
shows the following information regarding the performance and scores for each CDN in the CDN list being used.
Parameter | Description | Unit |
Download |
Total amount of bytes downloaded from the CDN |
MB |
Bandwidth |
|
MB/s |
Global score |
Global CDN score, calculated as global score = QoS score * business score |
|
Business score |
User defined score which controls the level of priority of a CDN based on your own business requirements. It can take an integer value between 1 and 100 |
|
QoS score |
Denotes a score for the quality of service that the user is receiving. Each session can have a different QoS score and is measured from actual performance (like rebuffering events, dropped frames, etc.) |
|
Error count |
Number of HTTP errors received from the CDN. |
|