| Pacchetto | org.osmf.net.rules |
| Classe | public class RuleBase |
| Ereditarietà | RuleBase Object |
| Sottoclassi | BandwidthRule, DroppedFPSRule, EmptyBufferRule |
| Versione linguaggio: | ActionScript 3.0 |
| Versione prodotto: | OSMF 2.0 |
| Versioni runtime: | Flash Player 10, AIR 1.5 |
RuleBase is a base class for rules used for Adaptive Bitrate. A rule recommends a bitrate to the switch manager and a confidence in the recommended bitrate. A rule's value is computed based on the values of the metrics.
Elementi API correlati
org.osmf.net.abr.Recommendation
Proprietà pubbliche
| Proprietà | Definito da | ||
|---|---|---|---|
![]() | constructor : Object
Un riferimento all'oggetto classe o alla funzione di costruzione per una determinata istanza di oggetto. | Object | |
| metricRepository : MetricRepository [sola lettura]
The metric repository. | RuleBase | ||
Proprietà protette
| Proprietà | Definito da | ||
|---|---|---|---|
| _metricRepository : MetricRepository | RuleBase | ||
Metodi pubblici
| Metodo | Definito da | ||
|---|---|---|---|
RuleBase(metricRepository:MetricRepository)
Constructor. | RuleBase | ||
Returns the recommendation of this rule
(ideal bitrate, confidence, weight)
Subclasses must implement this method. | RuleBase | ||
![]() |
Indica se per un oggetto è definita una proprietà specifica. | Object | |
![]() |
Indica se un'istanza della classe Object si trova nella catena di prototipi dell'oggetto specificato come parametro. | Object | |
![]() |
Indica se la proprietà specificata esiste ed è enumerabile. | Object | |
![]() |
Imposta la disponibilità di una proprietà dinamica per le operazioni cicliche. | Object | |
![]() |
Restituisce la rappresentazione in formato stringa di questo oggetto, formattato in base alle convenzioni specifiche per le versioni localizzate. | Object | |
![]() |
Restituisce la rappresentazione in formato stringa dell'oggetto specificato. | Object | |
![]() |
Restituisce il valore di base dell'oggetto specificato. | Object | |
Descrizione delle proprietà
_metricRepository | proprietà |
protected var _metricRepository:MetricRepositorymetricRepository | proprietà |
metricRepository:MetricRepository [sola lettura] | Versione linguaggio: | ActionScript 3.0 |
| Versione prodotto: | OSMF 2.0 |
| Versioni runtime: | Flash Player 10, AIR 1.5 |
The metric repository. Required metrics are obtained from it.
Implementazione
public function get metricRepository():MetricRepositoryDescrizione della funzione di costruzione
RuleBase | () | Funzione di costruzione |
public function RuleBase(metricRepository:MetricRepository)| Versione linguaggio: | ActionScript 3.0 |
| Versione prodotto: | OSMF 2.0 |
| Versioni runtime: | Flash Player 10, AIR 1.5 |
Constructor.
ParametrimetricRepository:MetricRepository — The metric repository from which to retrieve the necessary metrics
|
Descrizione dei metodi
getRecommendation | () | metodo |
public function getRecommendation():Recommendation| Versione linguaggio: | ActionScript 3.0 |
| Versione prodotto: | OSMF 2.0 |
| Versioni runtime: | Flash Player 10, AIR 1.5 |
Returns the recommendation of this rule (ideal bitrate, confidence, weight) Subclasses must implement this method.
RestituisceRecommendation |
Tue Jun 12 2018, 02:44 PM Z
Nascondi proprietà pubbliche ereditate
Mostra proprietà pubbliche ereditate