(Beta)
Package | org.osmf.net.rules |
Class | public class EmptyBufferRule |
Inheritance | EmptyBufferRule RuleBase 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 | ||
metricRepository : MetricRepository [read-only]
The metric repository. | RuleBase | ||
scaleDownFactor : Number
The factor to be applied to the current downloading bitrate in order to compute this
rule's recommendation
| EmptyBufferRule |
Protected Properties
Public Methods
Method | Defined By | ||
---|---|---|---|
Constructor. | EmptyBufferRule | ||
[override]
The recommendation
| EmptyBufferRule | ||
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 |
Property Detail
scaleDownFactor | property |
scaleDownFactor:Number
Language Version: | ActionScript 3.0 |
Product Version: | OSMF 2.0 |
Runtime Versions: | Flash Player 10, AIR 1.5 |
The factor to be applied to the current downloading bitrate in order to compute this rule's recommendation
Implementation
public function get scaleDownFactor():Number
public function set scaleDownFactor(value:Number):void
Throws
ArgumentError — If the scaleDownFactor is set to a value outside
the [0, 1] interval (inclusive)
|
Constructor Detail
EmptyBufferRule | () | Constructor |
public function EmptyBufferRule(metricRepository:MetricRepository, scaleDownFactor:Number)
Language Version: | ActionScript 3.0 |
Product Version: | OSMF 2.0 |
Runtime Versions: | Flash Player 10, AIR 1.5 |
Constructor.
ParametersmetricRepository:MetricRepository — The metric repository from which to retrieve the necessary metrics
| |
scaleDownFactor:Number — The factor to be applied to the current downloading bitrate
in order to compute this rule's recommendation
|
Method Detail
getRecommendation | () | method |
override public function getRecommendation():Recommendation
Language Version: | ActionScript 3.0 |
Product Version: | OSMF 2.0 |
Runtime Versions: | Flash Player 10, AIR 1.5 |
The recommendation
ReturnsRecommendation |
Wed Nov 21 2018, 06:34 AM -08:00