| Pacote | org.osmf.net.rules |
| Classe | public class BufferBandwidthRule |
| Herança | BufferBandwidthRule BandwidthRule RuleBase Object |
| Subclasses | AfterUpSwitchBufferBandwidthRule |
| Versão da linguagem: | ActionScript 3.0 |
| Versão de produto: | OSMF 2.0 |
| Versões de runtime: | Flash Player 10, AIR 1.5 |
Propriedades públicas
| Propriedade | Definido 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 | ||
![]() | constructor : Object
Uma referência ao objeto de classe ou à função de construtor de uma determinada ocorrência de objeto. | Object | |
![]() | metricRepository : MetricRepository [somente leitura]
The metric repository. | RuleBase | |
![]() | weights : Vector.<Number> [somente leitura]
The weights of the fragments (first values are the weights of the most recent fragments
| BandwidthRule | |
Propriedades protegidas
Métodos públicos
| Método | Definido por | ||
|---|---|---|---|
BufferBandwidthRule(metricRepository:MetricRepository, weights:Vector.<Number>, bufferFragmentsThreshold:Number)
Constructor. | BufferBandwidthRule | ||
[substituir]
The recommendation
| BufferBandwidthRule | ||
![]() |
Indica se um objeto tem uma propriedade especificada definida. | Object | |
![]() |
Indica se uma ocorrência da classe Object está na cadeia de protótipos do objeto especificado como o parâmetro. | Object | |
![]() |
Indica se a propriedade especificada existe e é enumerável. | Object | |
![]() |
Define a disponibilidade de uma propriedade dinâmica para operações de repetição. | Object | |
![]() |
Retorna a representação da string deste objeto, formatado segundo as convenções específicas para a localidade. | Object | |
![]() |
Retorna a representação de string do objeto especificado. | Object | |
![]() |
Retorna o valor primitivo do objeto especificado. | Object | |
Detalhes da propriedade
bufferFragmentsThreshold | propriedade |
bufferFragmentsThreshold:Number| Versão da linguagem: | ActionScript 3.0 |
| Versão de produto: | OSMF 2.0 |
| Versões de 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
Implementação
public function get bufferFragmentsThreshold():Number public function set bufferFragmentsThreshold(value:Number):voidDetalhes do construtor
BufferBandwidthRule | () | Construtor |
public function BufferBandwidthRule(metricRepository:MetricRepository, weights:Vector.<Number>, bufferFragmentsThreshold:Number)| Versão da linguagem: | ActionScript 3.0 |
| Versão de produto: | OSMF 2.0 |
| Versões de runtime: | Flash Player 10, AIR 1.5 |
Constructor.
ParâmetrosmetricRepository: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
|
Detalhes do método
getRecommendation | () | método |
override public function getRecommendation():Recommendation| Versão da linguagem: | ActionScript 3.0 |
| Versão de produto: | OSMF 2.0 |
| Versões de runtime: | Flash Player 10, AIR 1.5 |
The recommendation
RetornaRecommendation |
Wed Jun 13 2018, 11:10 AM Z
Ocultar propriedades públicas herdadas
Mostrar propriedades públicas herdadas