Guida di riferimento di ActionScript® 3.0 per la piattaforma Adobe® Flash®
Home  |  Nascondi elenco pacchetti e classi |  Pacchetti  |  Classi  |  Novità  |  Indice  |  Appendici  |  Perché in inglese?
Filtri: Recupero dati dal server...
Recupero dati dal server...
org.osmf.net.rules 

BufferBandwidthRule  - AS3 OSMF

Pacchettoorg.osmf.net.rules
Classepublic class BufferBandwidthRule
EreditarietàBufferBandwidthRule Inheritance BandwidthRule Inheritance RuleBase Inheritance Object
Sottoclassi AfterUpSwitchBufferBandwidthRule

Versione linguaggio: ActionScript 3.0
Versione prodotto: OSMF 2.0
Versioni runtime: Flash Player 10, AIR 1.5

BufferBandwidthRule is an enhanced version of BandwidthRule The change is that if the BandwidthRule recommends a lower bitrate than the current one, the BufferBandwidthRule overrides that low recommendation with the current bitrate if there are enough fragments in the buffer (we can afford to stick to this bitrate for now, since we have a large enough buffer)



Proprietà pubbliche
 ProprietàDefinito da
  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
 Inheritedconstructor : Object
Un riferimento all'oggetto classe o alla funzione di costruzione per una determinata istanza di oggetto.
Object
 InheritedmetricRepository : MetricRepository
[sola lettura] The metric repository.
RuleBase
 Inheritedweights : Vector.<Number>
[sola lettura] The weights of the fragments (first values are the weights of the most recent fragments
BandwidthRule
Metodi pubblici
 MetodoDefinito da
  
BufferBandwidthRule(metricRepository:MetricRepository, weights:Vector.<Number>, bufferFragmentsThreshold:Number)
Constructor.
BufferBandwidthRule
  
[override] The recommendation
BufferBandwidthRule
 Inherited
Indica se per un oggetto è definita una proprietà specifica.
Object
 Inherited
Indica se un'istanza della classe Object si trova nella catena di prototipi dell'oggetto specificato come parametro.
Object
 Inherited
Indica se la proprietà specificata esiste ed è enumerabile.
Object
 Inherited
Imposta la disponibilità di una proprietà dinamica per le operazioni cicliche.
Object
 Inherited
Restituisce la rappresentazione in formato stringa di questo oggetto, formattato in base alle convenzioni specifiche per le versioni localizzate.
Object
 Inherited
Restituisce la rappresentazione in formato stringa dell'oggetto specificato.
Object
 Inherited
Restituisce il valore di base dell'oggetto specificato.
Object
Descrizione delle proprietà

bufferFragmentsThreshold

proprietà
bufferFragmentsThreshold:Number

Versione linguaggio: ActionScript 3.0
Versione prodotto: OSMF 2.0
Versioni runtime: 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



Implementazione
    public function get bufferFragmentsThreshold():Number
    public function set bufferFragmentsThreshold(value:Number):void
Descrizione della funzione di costruzione

BufferBandwidthRule

()Funzione di costruzione
public function BufferBandwidthRule(metricRepository:MetricRepository, weights:Vector.<Number>, bufferFragmentsThreshold:Number)

Versione linguaggio: ActionScript 3.0
Versione prodotto: OSMF 2.0
Versioni runtime: Flash Player 10, AIR 1.5

Constructor.

Parametri
metricRepository: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
Descrizione dei metodi

getRecommendation

()metodo
override public function getRecommendation():Recommendation

Versione linguaggio: ActionScript 3.0
Versione prodotto: OSMF 2.0
Versioni runtime: Flash Player 10, AIR 1.5

The recommendation

Restituisce
Recommendation




[ X ]Perché in inglese?
Il contenuto della Guida di riferimento di ActionScript 3.0 appare in inglese

Non tutte le parti della Guida di riferimento di ActionScript 3.0 sono tradotte in tutte le lingue. Quando un elemento del linguaggio non è tradotto, viene riportato in inglese. Ad esempio, la classe ga.controls.HelpBox non è tradotta in nessuna lingua. Pertanto, nella versione italiana della guida di riferimento, la descrizione della classe ga.controls.HelpBox è riportata in inglese.