MillicastSDK 2.2.0
|
Interface is a container for various different statistics. More...
#include <stats.h>
Instance Methods | |
(nullable NSArray< MCStats * > *) | - getStatsOfType: |
(int) | - size |
(nonnull MCStreamDetails *) | - getStreamDetails |
(nonnull instancetype) | - initWithStatsReport: [implementation] |
Interface is a container for various different statistics.
- (nullable NSArray< MCStats * > *) getStatsOfType: | (MCStatsType) | type |
Retrieves a specific MCStats object from the report based on its unique identifier.
MCStats/sid
/ - Returns: a stats object of a specifc kind.(nullable MCStats*) get:(nonnull NSString*)statsId;
/ Retrieves an array of MCStats objects from the report that match a specified MCStatsType. / - Parameters: / - type: The desired type of statistics. See MCStatsType
- (nonnull MCStreamDetails *) getStreamDetails |
Get the stream details of the session the stats belong to.
This information helps correlate logs between different components (Media Server, Publisher, and Viewer) that operate on the current stream session.
|
implementation |
- (int) size |
The number of MCStats objects stored in the stats report.