Packageorg.osmf.net.rules
Classpublic class BaseDroppedFPSRule
InheritanceBaseDroppedFPSRule Inheritance org.osmf.net.rules.RuleBase

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

BaseDroppedFPSRule is an emergency rule that recommends a bitrate that would cause an acceptable number of dropped frames per second



Public Properties
 PropertyDefined By
  desiredSampleLength : Number
The desired length of the content (in seconds) on which to compute the dropped FPS metric
BaseDroppedFPSRule
  maximumDroppedFPSRatio : Number
The maximum acceptable ratio of dropped FPS (droppedFPS / FPS)
BaseDroppedFPSRule
Public Methods
 MethodDefined By
  
BaseDroppedFPSRule(metricRepository:MetricRepository, desiredSampleLength:Number, maximumDroppedFPSRatio:Number, model:AkamaiStreamModel = null)
Constructor.
BaseDroppedFPSRule
  
getRecommendation():Recommendation
[override] The recommendation
BaseDroppedFPSRule
Property Detail
desiredSampleLengthproperty
desiredSampleLength:Number

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

The desired length of the content (in seconds) on which to compute the dropped FPS metric


Implementation
    public function get desiredSampleLength():Number
    public function set desiredSampleLength(value:Number):void

Throws
ArgumentError — If the desiredSampleLength is set to NaN, zero or a negative number
maximumDroppedFPSRatioproperty 
maximumDroppedFPSRatio:Number

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

The maximum acceptable ratio of dropped FPS (droppedFPS / FPS)


Implementation
    public function get maximumDroppedFPSRatio():Number
    public function set maximumDroppedFPSRatio(value:Number):void

Throws
ArgumentError — If the maximumDroppedFramesRatio is set to a value outside the [0, 1] interval (inclusive)
Constructor Detail
BaseDroppedFPSRule()Constructor
public function BaseDroppedFPSRule(metricRepository:MetricRepository, desiredSampleLength:Number, maximumDroppedFPSRatio:Number, model:AkamaiStreamModel = null)

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

Constructor.

Parameters
metricRepository:MetricRepository — The metric repository from which to retrieve the necessary metrics
 
desiredSampleLength:Number — The desired length of the content (in seconds) on which to compute the dropped FPS metric
 
maximumDroppedFPSRatio:Number — The maximum acceptable ratio of dropped FPS (droppedFPS / FPS)
 
model:AkamaiStreamModel (default = null)
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

Returns
Recommendation