Shaka Player Embedded
Instance Methods | Protected Attributes | Properties | List of all members
ShakaStats Class Reference

#import <stats_objc.h>

Inheritance diagram for ShakaStats:

Instance Methods

(instancetype) - initWithCpp: [implementation]
 
(const shaka::Stats &) - toCpp [implementation]
 

Protected Attributes

shaka::Stats value
 

Properties

double width
 
double height
 
double streamBandwidth
 
double decodedFrames
 
double droppedFrames
 
double estimatedBandwidth
 
double loadLatency
 
double playTime
 
double bufferingTime
 
NSArray< ShakaTrackChoice * > * switchHistory
 
NSArray< ShakaStateChange * > * stateHistory
 

Detailed Description

Contains statistics and information about the current state of the player. This is meant for applications that want to log quality-of-experience (QoE) or other stats. These values will reset when load() is called again.

Definition at line 94 of file stats_objc.h.

Method Documentation

§ initWithCpp:()

- (instancetype) initWithCpp: (const shaka::Stats &)  obj
implementation

§ toCpp()

- (const Stats& ShakaStats()):
implementation

Member Data Documentation

§ value

- (Stats ShakaStats()):
protected

Definition at line 63 of file stats+Internal.h.

Property Documentation

§ bufferingTime

- (double) bufferingTime
readatomicassign

The total time spent in a buffering state in seconds.

Definition at line 131 of file stats_objc.h.

§ decodedFrames

- (double) decodedFrames
readatomicassign

The total number of frames decoded by the Player. This may be NaN if this is not supported by the browser.

Definition at line 109 of file stats_objc.h.

§ droppedFrames

- (double) droppedFrames
readatomicassign

The total number of frames dropped by the Player. This may be NaN if this is not supported by the browser.

Definition at line 115 of file stats_objc.h.

§ estimatedBandwidth

- (double) estimatedBandwidth
readatomicassign

The current estimated network bandwidth (in bit/sec).

Definition at line 118 of file stats_objc.h.

§ height

- (double) height
readatomicassign

The height of the current video track.

Definition at line 100 of file stats_objc.h.

§ loadLatency

- (double) loadLatency
readatomicassign

This is the number of seconds it took for the video element to have enough data to begin playback. This is measured from the time load() is called to the time the 'loadeddata' event is fired by the media element.

Definition at line 125 of file stats_objc.h.

§ playTime

- (double) playTime
readatomicassign

The total time spent in a playing state in seconds.

Definition at line 128 of file stats_objc.h.

§ stateHistory

- (NSArray< ShakaStateChange * > *) stateHistory
readatomicassign

A history of the state changes.

Definition at line 137 of file stats_objc.h.

§ streamBandwidth

- (double) streamBandwidth
readatomicassign

The bandwidth required for the current streams (total, in bit/sec).

Definition at line 103 of file stats_objc.h.

§ switchHistory

- (NSArray< ShakaTrackChoice * > *) switchHistory
readatomicassign

A history of the stream changes.

Definition at line 134 of file stats_objc.h.

§ width

- (double) width
readatomicassign

The width of the current video track.

Definition at line 97 of file stats_objc.h.


The documentation for this class was generated from the following files: