ActionScript® 3.0 Reference for the Adobe® Flash® Platform
Home  |  Show Packages and Classes List |  Packages  |  Classes  |  What's New  |  Index  |  Appendixes
org.osmf.net.rtmpstreaming 

InsufficientBufferRule  - AS3 OSMF

Packageorg.osmf.net.rtmpstreaming
Classpublic class InsufficientBufferRule
InheritanceInsufficientBufferRule Inheritance SwitchingRuleBase Inheritance Object

Language Version: ActionScript 3.0
Product Version: OSMF 1.0
Runtime Versions: Flash Player 10, AIR 1.5

InsufficientBufferRule is a switching rule that switches down when the buffer has insufficient data.



Public Properties
 PropertyDefined By
 Inheritedconstructor : Object
A reference to the class object or constructor function for a given object instance.
Object
Protected Properties
 PropertyDefined By
 Inheritedmetrics : NetStreamMetricsBase
[read-only] The provider of metrics which the rule can use to determine whether to suggest a switch.
SwitchingRuleBase
Public Methods
 MethodDefined By
  
Constructor.
InsufficientBufferRule
 Inherited
Returns the index value in the active DynamicStreamingResource to which this switching rule thinks the bitrate should shift.
SwitchingRuleBase
 Inherited
Indicates whether an object has a specified property defined.
Object
 Inherited
Indicates whether an instance of the Object class is in the prototype chain of the object specified as the parameter.
Object
 Inherited
Indicates whether the specified property exists and is enumerable.
Object
 Inherited
Sets the availability of a dynamic property for loop operations.
Object
 Inherited
Returns the string representation of this object, formatted according to locale-specific conventions.
Object
 Inherited
Returns the string representation of the specified object.
Object
 Inherited
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.

Parameters
metrics: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.