MillicastSDK 2.0.0
|
Interface is a container for various different statistics. More...
#import <stats.h>
Instance Methods | |
(nullable MCStats *) | - get: |
(nullable NSArray< MCStats * > *) | - getStatsOfType: |
(int) | - size |
(nonnull MCStreamDetails *) | - getStreamDetails |
initWithStatsReport: | |
Interface is a container for various different statistics.
- (nullable MCStats *) get: | (nonnull NSString *) | statsId |
Retrieves a specific MCStats object from the report based on its unique identifier.
MCStats/sid
- (nullable NSArray< MCStats * > *) getStatsOfType: | (MCStatsType) | type |
Retrieves an array of MCStats objects from the report that match a specified MCStatsType.
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.
- (int) size |
The number of MCStats objects stored in the stats report.