14#import <Foundation/Foundation.h>
21#pragma mark NetworkStatistics -
51@property (weak, nonatomic, readonly) id<NetworkUsage>
usage;
58@property (nonatomic, readonly) NSInteger
error;
79#pragma mark ContentServer -
94@property (nonatomic, readonly) NSString*
url;
108#pragma mark Network Usage -
146#pragma mark Adaptive Streaming -
173#pragma mark IStatisticsListener -
NetworkStatistics provides APIs to return various network statistic information during HLS stream pla...
NSInteger error
This attribute provides network error.
NSString * httpErrorMessage
This attribute provides network errorMessage.
id< NetworkUsage > usage
This attribute provides access to the NetworkUsage interface.
id< ContentServer > contentServer
This attribute provides access to the ContentServer interface.
id< AdaptiveStreaming > adaptiveStreaming
This attribute provides access to the AdaptiveStreaming interface.
AdaptiveStreaming provides statistics and event pertaining to the adaptive bitrate streaming protocol...
NSArray * availableBitrates
This attribute contains the list of currently available bitrates for the currently opened content exp...
NSUInteger selectedBitrate
This attribute contains the currently selected bitrate that is being downloaded by the player express...
ContentServer provides statistics pertaining to the content server currently in use.
NSString * finalUrl
This attribute contains the URL of the content currently downloading, after redirect if any.
NSString * url
This attribute contains the URL of the content currently downloading, as found in the adaptive stream...
IStatisticsListener provides notification for the statistics reporter fires statistic changed events.
void urlChanged()
Signal triggered when the content server URL changed.
void selectedBitrateChanged()
Signal triggered when the selected bitrate changed.
void errorChanged()
Signal triggered when the network error changed.
void availableBitratesChanged()
Signal triggered when the available bitrates list changed.
NetworkUsage provides statistics specific to the network usage.
int64_t bytesDownloaded
This attribute contains the amount of bytes downloaded for the current content.
NSUInteger downloadBitrate
This attribute contains an estimate of the current download bitrate expressed in bits/second.
NSUInteger downloadBitrateAverage
This attribute contains an estimate of the average over time of the download bitrate expressed in bit...