Paket | org.osmf.net.rules |
Klass | public class BufferBandwidthRule |
Arv | BufferBandwidthRule BandwidthRule RuleBase Object |
Underklasser | AfterUpSwitchBufferBandwidthRule |
Språkversion: | ActionScript 3.0 |
Produktversion: | OSMF 2.0 |
Körningsmiljöversioner: | Flash Player 10, AIR 1.5 |
Publika egenskaper
Egenskap | Definieras med | ||
---|---|---|---|
bufferFragmentsThreshold : Number
The number of fragments in the buffer above which no lower bitrates are recomended.
For example, assume the bandwidth has a value of 3000 kbps and the actual bitrate is 5000 kbps.
If the number of fragments in the buffer is below the threshold, the rule will recommend 3000 kbps; otherwise, it will recommend 5000 kbps
| BufferBandwidthRule | ||
constructor : Object
En referens till klassobjektet eller konstruktorfunktionen för en given objektinstans. | Object | ||
metricRepository : MetricRepository [skrivskyddad]
The metric repository. | RuleBase | ||
weights : Vector.<Number> [skrivskyddad]
The weights of the fragments (first values are the weights of the most recent fragments
| BandwidthRule |
Skyddade egenskaper
Publika metoder
Metod | Definieras med | ||
---|---|---|---|
BufferBandwidthRule(metricRepository:MetricRepository, weights:Vector.<Number>, bufferFragmentsThreshold:Number)
Constructor. | BufferBandwidthRule | ||
[åsidosätt]
The recommendation
| BufferBandwidthRule | ||
Anger om det finns en egenskap angiven för ett objekt. | Object | ||
Anger om en instans av klassen Object finns i prototypkedjan för objektet som anges som parameter. | Object | ||
Anger om den angivna egenskapen finns och är uppräkningsbar. | Object | ||
Anger tillgänglighet för en dynamisk egenskap för slingåtgärder. | Object | ||
Returnerar det här objektets strängrepresentation, formaterad i enlighet med språkspecifika konventioner. | Object | ||
Returnerar det angivna objektets strängbeteckning. | Object | ||
Returnerar det angivna objektets primitiva värde. | Object |
Egenskapsdetaljer
bufferFragmentsThreshold | egenskap |
bufferFragmentsThreshold:Number
Språkversion: | ActionScript 3.0 |
Produktversion: | OSMF 2.0 |
Körningsmiljöversioner: | Flash Player 10, AIR 1.5 |
The number of fragments in the buffer above which no lower bitrates are recomended. For example, assume the bandwidth has a value of 3000 kbps and the actual bitrate is 5000 kbps. If the number of fragments in the buffer is below the threshold, the rule will recommend 3000 kbps; otherwise, it will recommend 5000 kbps
Implementering
public function get bufferFragmentsThreshold():Number
public function set bufferFragmentsThreshold(value:Number):void
Konstruktordetaljer
BufferBandwidthRule | () | Konstruktor |
public function BufferBandwidthRule(metricRepository:MetricRepository, weights:Vector.<Number>, bufferFragmentsThreshold:Number)
Språkversion: | ActionScript 3.0 |
Produktversion: | OSMF 2.0 |
Körningsmiljöversioner: | Flash Player 10, AIR 1.5 |
Constructor.
ParametrarmetricRepository:MetricRepository — The metric repository from which to retrieve the necessary metrics
| |
weights:Vector.<Number> — The weights of the fragments (first values are the weights of the most recent fragments)
| |
bufferFragmentsThreshold:Number — The number of fragments in the buffer above which no lower bitrates are recomended.
For example, assume the bandwidth has a value of 3000 kbps and the actual bitrate is 5000 kbps.
If the number of fragments in the buffer is below the threshold, the rule will recommend 3000 kbps; otherwise, it will recommend 5000 kbps
|
Metoddetaljer
getRecommendation | () | metod |
override public function getRecommendation():Recommendation
Språkversion: | ActionScript 3.0 |
Produktversion: | OSMF 2.0 |
Körningsmiljöversioner: | Flash Player 10, AIR 1.5 |
The recommendation
ReturnerarRecommendation |
Tue Jun 12 2018, 01:40 PM Z