(Beta)
Package | org.osmf.net.metrics |
Class | public class ActualBitrateMetric |
Inheritance | ActualBitrateMetric MetricBase Object |
Language Version: | ActionScript 3.0 |
Product Version: | OSMF 2.0 |
Runtime Versions: | Flash Player 10, AIR 1.5 |
Public Properties
Property | Defined By | ||
---|---|---|---|
constructor : Object
A reference to the class object or constructor function for a given object instance. | Object | ||
maxFragments : uint
The maximum number of fragments on which to compute the metric. | ActualBitrateMetric | ||
type : String [read-only]
The type of the metric
| MetricBase | ||
value : MetricValue [read-only]
The value of this metric
If the value has already been computed for the most recent QoSInfo,
return the cached result. | MetricBase |
Protected Properties
Public Methods
Method | Defined By | ||
---|---|---|---|
Constructor. | ActualBitrateMetric | ||
The value of this metric
If the value has already been computed for the most recent QoSInfo,
return the cached result.
This method is internal so it can be overriden by metric mockers,
for testing purposes
| MetricBase | ||
Indicates whether an object has a specified property defined. | Object | ||
Indicates whether an instance of the Object class is in the prototype chain of the object specified
as the parameter. | Object | ||
Indicates whether the specified property exists and is enumerable. | Object | ||
Sets the availability of a dynamic property for loop operations. | Object | ||
Returns the string representation of this object, formatted according to locale-specific conventions. | Object | ||
Returns the string representation of the specified object. | Object | ||
Returns the primitive value of the specified object. | Object |
Protected Methods
Method | Defined By | ||
---|---|---|---|
[override]
Computes the value of the actual bitrate (in kbps) of the currently downloading quality level
| ActualBitrateMetric |
Property Detail
maxFragments | property |
maxFragments:uint
Language Version: | ActionScript 3.0 |
Product Version: | OSMF 2.0 |
Runtime Versions: | Flash Player 10, AIR 1.5 |
The maximum number of fragments on which to compute the metric.
The metric will be computed on a lower number of fragments, if less than
maxFragments
fragments are available in the QoSInfoHistory.
Implementation
public function get maxFragments():uint
public function set maxFragments(value:uint):void
Constructor Detail
ActualBitrateMetric | () | Constructor |
public function ActualBitrateMetric(qosInfoHistory:QoSInfoHistory, maxFragments:uint = 5)
Language Version: | ActionScript 3.0 |
Product Version: | OSMF 2.0 |
Runtime Versions: | Flash Player 10, AIR 1.5 |
Constructor.
ParametersqosInfoHistory:QoSInfoHistory — The QoSInfoHistory to be used for computing the metric
| |
maxFragments:uint (default = 5 ) — The maximum number of fragments on which to compute the metric.
The metric will be computed on a lower number of fragments, if less than
maxFragments fragments are available in the QoSInfoHistory.
|
Method Detail
getValueForced | () | method |
override protected function getValueForced():MetricValue
Language Version: | ActionScript 3.0 |
Product Version: | OSMF 2.0 |
Runtime Versions: | Flash Player 10, AIR 1.5 |
Computes the value of the actual bitrate (in kbps) of the currently downloading quality level
ReturnsMetricValue |
Wed Nov 21 2018, 06:34 AM -08:00