| Package | org.osmf.net.rtmpstreaming |
| Class | public class InsufficientBufferRule |
| Inheritance | InsufficientBufferRule SwitchingRuleBase Object |
| Language Version: | ActionScript 3.0 |
| Product Version: | OSMF 1.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 | |
Protected Properties
| Property | Defined By | ||
|---|---|---|---|
![]() | metrics : NetStreamMetricsBase [read-only]
The provider of metrics which the rule can use to determine
whether to suggest a switch. | SwitchingRuleBase | |
Public Methods
| Method | Defined By | ||
|---|---|---|---|
InsufficientBufferRule(metrics:org.osmf.net.rtmpstreaming:RTMPNetStreamMetrics, minBufferLength:Number = 2)
Constructor. | InsufficientBufferRule | ||
![]() |
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
InsufficientBufferRule | () | Constructor |
public function InsufficientBufferRule(metrics:org.osmf.net.rtmpstreaming:RTMPNetStreamMetrics, minBufferLength:Number = 2)| Language Version: | ActionScript 3.0 |
| Product Version: | OSMF 1.0 |
| Runtime Versions: | Flash Player 10, AIR 1.5 |
Constructor.
Parametersmetrics:org.osmf.net.rtmpstreaming:RTMPNetStreamMetrics — The metrics provider used by this rule to determine
whether to switch.
| |
minBufferLength:Number (default = 2) — The minimum buffer length that must be
maintained before the rule suggests a switch down. The default
value is 2 seconds.
|
Thu Dec 4 2014, 05:50 PM -08:00
