Referencia de ActionScript® 3.0 para la plataforma de Adobe® Flash®
Inicio  |  Ocultar lista de paquetes y clases |  Paquetes  |  Clases  |  Novedades  |  Índice  |  Apéndices  |  ¿Por qué hay texto en inglés?
Filtros: Recuperando datos del servidor...
Recuperando datos del servidor...
org.osmf.net.rules 

BufferBandwidthRule  - AS3 OSMF

Paqueteorg.osmf.net.rules
Clasepublic class BufferBandwidthRule
HerenciaBufferBandwidthRule Inheritance BandwidthRule Inheritance RuleBase Inheritance Object
Subclases AfterUpSwitchBufferBandwidthRule

Versión del lenguaje: ActionScript 3.0
Versión de producto: OSMF 2.0
Versiones de motor de ejecución: 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)



Propiedades públicas
 PropiedadDefinido por
  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
Una referencia a la clase de objeto o función constructora para una instancia de objeto determinada.
Object
 InheritedmetricRepository : MetricRepository
[solo lectura] The metric repository.
RuleBase
 Inheritedweights : Vector.<Number>
[solo lectura] The weights of the fragments (first values are the weights of the most recent fragments
BandwidthRule
Métodos públicos
 MétodoDefinido por
  
BufferBandwidthRule(metricRepository:MetricRepository, weights:Vector.<Number>, bufferFragmentsThreshold:Number)
Constructor.
BufferBandwidthRule
  
[override] The recommendation
BufferBandwidthRule
 Inherited
Indica si un objeto tiene definida una propiedad especificada.
Object
 Inherited
Indica si hay una instancia de la clase Object en la cadena de prototipo del objeto especificado como parámetro.
Object
 Inherited
Indica si existe la propiedad especificada y si es enumerable.
Object
 Inherited
Establece la disponibilidad de una propiedad dinámica para operaciones de bucle.
Object
 Inherited
Devuelve la representación de cadena de este objeto, con formato según las convenciones específicas de configuración regional.
Object
 Inherited
Devuelve la representación de cadena del objeto especificado.
Object
 Inherited
Devuelve el valor simple del objeto especificado.
Object
Información sobre propiedades

bufferFragmentsThreshold

propiedad
bufferFragmentsThreshold:Number

Versión del lenguaje: ActionScript 3.0
Versión de producto: OSMF 2.0
Versiones de motor de ejecución: 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



Implementación
    public function get bufferFragmentsThreshold():Number
    public function set bufferFragmentsThreshold(value:Number):void
Información sobre constructores

BufferBandwidthRule

()Información sobre
public function BufferBandwidthRule(metricRepository:MetricRepository, weights:Vector.<Number>, bufferFragmentsThreshold:Number)

Versión del lenguaje: ActionScript 3.0
Versión de producto: OSMF 2.0
Versiones de motor de ejecución: Flash Player 10, AIR 1.5

Constructor.

Parámetros
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
Información sobre métodos

getRecommendation

()método
override public function getRecommendation():Recommendation

Versión del lenguaje: ActionScript 3.0
Versión de producto: OSMF 2.0
Versiones de motor de ejecución: Flash Player 10, AIR 1.5

The recommendation

Valor devuelto
Recommendation




[ X ]¿Por qué hay texto en inglés?
Cierto contenido de la Referencia de ActionScript 3.0 se muestra en inglés

No todo el contenido de la Referencia de ActionScript 3.0 se traduce a todos los idiomas. Si un elemento del lenguaje no se traduce, aparecerá en inglés. Por ejemplo, la clase ga.controls.HelpBox no está traducida en ningún idioma. Por lo tanto, en la versión en español de la referencia, la clase ga.controls.HelpBox aparecerá en inglés.