On top of the stats API exposed by the SDK, we created a view helper to help you integrate and understand CDN Mesh Delivery (formerly known as Streamroot DNA) faster. The StatsView will inform you about the different states of the SDK lifecycle and Streamroot metrics.
The view looks like the following:
Using the SDK
To add statsview, call the corresponding method from the DNAClient instance:
[self.dnaClient displayStatsOnView: self.contentOverlayView];
Using the plugin
Knowing how many DNA sources are connected to you and how much offload a single SDK instance is performing while you are integrating the SDK could be useful. It could also be used to send data to third parties analytics.
Please refer to our Client API documentation to learn how to use it.