Package | org.osmf.net.rtmpstreaming |
Class | public class DroppedFramesRule |
Inheritance | DroppedFramesRule SwitchingRuleBase Object |
Language Version: | ActionScript 3.0 |
Product Version: | OSMF 1.0 |
Runtime Versions: | Flash Player 10, AIR 1.5 |
Public Properties
Protected Properties
Public Methods
Method | Defined By | ||
---|---|---|---|
DroppedFramesRule(metrics:NetStreamMetricsBase, downSwitchByOne:int = 10, downSwitchByTwo:int = 20, downSwitchToZero:int = 24)
Constructor. | DroppedFramesRule | ||
Returns the index value in the active DynamicStreamingResource to
which this switching rule thinks the bitrate should shift. | SwitchingRuleBase | ||
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 |
Constructor Detail
DroppedFramesRule | () | Constructor |
public function DroppedFramesRule(metrics:NetStreamMetricsBase, downSwitchByOne:int = 10, downSwitchByTwo:int = 20, downSwitchToZero:int = 24)
Language Version: | ActionScript 3.0 |
Product Version: | OSMF 1.0 |
Runtime Versions: | Flash Player 10, AIR 1.5 |
Constructor.
Parametersmetrics:NetStreamMetricsBase — The metrics provider used by this rule to determine
whether to switch.
| |
downSwitchByOne:int (default = 10 ) — The number of dropped frames per second that
need to occur to cause a switch down by one index.
The default is 10 frames per second.
| |
downSwitchByTwo:int (default = 20 ) — The number of dropped frames per second that
need to occur to cause a switch down by two indices.
The default is 20 frames per second.
| |
downSwitchToZero:int (default = 24 ) — The number of dropped frames per second that
need to occur to cause a switch to the lowest bitrate.
The default is 24 frames per second.
|
Mon Nov 28 2011, 06:48 AM -08:00