Pacchetto | org.osmf.net |
Classe | public class SwitchingRuleBase |
Ereditarietà | SwitchingRuleBase Object |
Sottoclassi | DroppedFramesRule, InsufficientBandwidthRule, InsufficientBufferRule, SufficientBandwidthRule |
Versione linguaggio: | ActionScript 3.0 |
Versione prodotto: | OSMF 1.0 |
Versioni runtime: | Flash Player 10, AIR 1.5 |
Proprietà pubbliche
Proprietà protette
Proprietà | Definito da | ||
---|---|---|---|
metrics : NetStreamMetricsBase [sola lettura]
The provider of metrics which the rule can use to determine
whether to suggest a switch. | SwitchingRuleBase |
Metodi pubblici
Metodo | Definito da | ||
---|---|---|---|
SwitchingRuleBase(metrics:NetStreamMetricsBase)
Constructor. | SwitchingRuleBase | ||
Returns the index value in the active DynamicStreamingResource to
which this switching rule thinks the bitrate should shift. | SwitchingRuleBase | ||
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à
metrics | proprietà |
metrics:NetStreamMetricsBase
[sola lettura] The provider of metrics which the rule can use to determine whether to suggest a switch.
Implementazione
protected function get metrics():NetStreamMetricsBase
Descrizione della funzione di costruzione
SwitchingRuleBase | () | Funzione di costruzione |
public function SwitchingRuleBase(metrics:NetStreamMetricsBase)
Versione linguaggio: | ActionScript 3.0 |
Versione prodotto: | OSMF 1.0 |
Versioni runtime: | Flash Player 10, AIR 1.5 |
Constructor.
Parametrimetrics:NetStreamMetricsBase — Provider of runtime metrics.
|
Descrizione dei metodi
getNewIndex | () | metodo |
public function getNewIndex():int
Versione linguaggio: | ActionScript 3.0 |
Versione prodotto: | OSMF 1.0 |
Versioni runtime: | Flash Player 10, AIR 1.5 |
Returns the index value in the active DynamicStreamingResource to which this switching rule thinks the bitrate should shift. It's up to the calling function to act on this. This index will range in value from -1 to n-1,where n is the number of bitrate items available. A value of -1 means that this rule does not suggest a switch away from the current item. A value from 0 to n-1 indicates that the caller should switch to that index immediately.
Restituisceint |
Tue Jun 12 2018, 02:44 PM Z