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 

SufficientBandwidthRule  - AS3 OSMF

Packageorg.osmf.net.rtmpstreaming
Classpublic class SufficientBandwidthRule
InheritanceSufficientBandwidthRule Inheritance SwitchingRuleBase Inheritance Object

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

SufficientBandwidthRule is a switching rule that switches up when the user has sufficient bandwidth to do so.



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.
SufficientBandwidthRule
 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

SufficientBandwidthRule

()Constructor
public function SufficientBandwidthRule(metrics:org.osmf.net.rtmpstreaming:RTMPNetStreamMetrics)

Constructor.

Parameters
metrics:org.osmf.net.rtmpstreaming:RTMPNetStreamMetrics — The metrics provider used by this rule to determine whether to switch.