(Beta)
Package | org.osmf.net.rules |
Class | public class RuleUtils |
Inheritance | RuleUtils Object |
Language Version: | ActionScript 3.0 |
Product Version: | OSMF 2.0 |
Runtime Versions: | Flash Player 10, AIR 1.5 |
Related API Elements
org.osmf.net.abr.RuleBase
Public Properties
Public Methods
Method | Defined By | ||
---|---|---|---|
computeActualBitrate(actualBitrateMetric:MetricBase, availableQualityLevelsMetric:MetricBase, currentStatusMetric:MetricBase):Number [static]
Computes the actual bitrate (the current value of the bitrate of
the downloading stream). | RuleUtils | ||
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 |
Method Detail
computeActualBitrate | () | method |
public static function computeActualBitrate(actualBitrateMetric:MetricBase, availableQualityLevelsMetric:MetricBase, currentStatusMetric:MetricBase):Number
Language Version: | ActionScript 3.0 |
Product Version: | OSMF 2.0 |
Runtime Versions: | Flash Player 10, AIR 1.5 |
Computes the actual bitrate (the current value of the bitrate of the downloading stream). In case such a value cannot be computed, this function will return the declared value of the stream.
In case not even the declared value is available, the function returns NaNParameters
actualBitrateMetric:MetricBase | |
availableQualityLevelsMetric:MetricBase | |
currentStatusMetric:MetricBase |
Number |
Related API Elements
org.osmf.net.abr.RuleBase
Wed Nov 21 2018, 06:34 AM -08:00