| Paquete | org.osmf.net.qos |
| Clase | public class QoSInfo |
| Herencia | QoSInfo Object |
| 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 |
Propiedades públicas
| Propiedad | Definido por | ||
|---|---|---|---|
| actualIndex : int [solo lectura]
The index of the currently downloading quality level
| QoSInfo | ||
| availableQualityLevels : Vector.<QualityLevel> [solo lectura]
The available quality levels
| QoSInfo | ||
| bufferLength : Number [solo lectura]
The length of the buffer (in seconds)
| QoSInfo | ||
| bufferTime : Number [solo lectura]
The minimum buffer time (in seconds)
| QoSInfo | ||
![]() | constructor : Object
Una referencia a la clase de objeto o función constructora para una instancia de objeto determinada. | Object | |
| currentIndex : int [solo lectura]
The index of the currently playing quality level
| QoSInfo | ||
| emptyBufferOccurred : Boolean [solo lectura]
Signals whether there was any playback interruption caused by
an empty buffer since the last QoSInfo was provided
| QoSInfo | ||
| lastDownloadedFragmentDetails : FragmentDetails [solo lectura]
The fragment details of the last downloaded fragment (HDS only)
| QoSInfo | ||
| maxFPS : Number [solo lectura]
The maximum value of the frames per second recorded until now
| QoSInfo | ||
| nsInfo : NetStreamInfo [solo lectura]
The NetStreamInfo of the NetStream
| QoSInfo | ||
| playbackDetailsRecord : Vector.<PlaybackDetails> [solo lectura]
The record containing playback details on the quality levels played since last
ABREvent.QOS_UPDATE event
| QoSInfo | ||
| playheadTime : Number [solo lectura]
The playhead time when this QoSInfo was created (time in the stream)
| QoSInfo | ||
| timestamp : Number [solo lectura]
The machine time when this QoSInfo was created
| QoSInfo | ||
Métodos públicos
| Método | Definido por | ||
|---|---|---|---|
QoSInfo(timestamp:Number = NaN, playheadTime:Number = NaN, availableQualityLevels:Vector.<QualityLevel> = null, currentIndex:int = -1, actualIndex:int = -1, lastDownloadedFragmentDetails:FragmentDetails = null, maxFPS:Number = NaN, playbackDetailsRecord:Vector.<PlaybackDetails> = null, nsInfo:NetStreamInfo = null, bufferLength:Number = NaN, bufferTime:Number = NaN, emptyBufferOccurred:Boolean = false)
Constructor. | QoSInfo | ||
![]() |
Indica si un objeto tiene definida una propiedad especificada. | Object | |
![]() |
Indica si hay una instancia de la clase Object en la cadena de prototipo del objeto especificado como parámetro. | Object | |
![]() |
Indica si existe la propiedad especificada y si es enumerable. | Object | |
![]() |
Establece la disponibilidad de una propiedad dinámica para operaciones de bucle. | Object | |
![]() |
Devuelve la representación de cadena de este objeto, con formato según las convenciones específicas de configuración regional. | Object | |
![]() |
Devuelve la representación de cadena del objeto especificado. | Object | |
![]() |
Devuelve el valor simple del objeto especificado. | Object | |
Información sobre propiedades
actualIndex | propiedad |
availableQualityLevels | propiedad |
availableQualityLevels:Vector.<QualityLevel> [solo lectura] | 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 available quality levels
Implementación
public function get availableQualityLevels():Vector.<QualityLevel>bufferLength | propiedad |
bufferTime | propiedad |
currentIndex | propiedad |
emptyBufferOccurred | propiedad |
emptyBufferOccurred:Boolean [solo lectura] | 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 |
Signals whether there was any playback interruption caused by an empty buffer since the last QoSInfo was provided
Implementación
public function get emptyBufferOccurred():BooleanlastDownloadedFragmentDetails | propiedad |
lastDownloadedFragmentDetails:FragmentDetails [solo lectura] | 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 fragment details of the last downloaded fragment (HDS only)
Implementación
public function get lastDownloadedFragmentDetails():FragmentDetailsmaxFPS | propiedad |
nsInfo | propiedad |
nsInfo:NetStreamInfo [solo lectura] | 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 NetStreamInfo of the NetStream
Implementación
public function get nsInfo():NetStreamInfoplaybackDetailsRecord | propiedad |
playbackDetailsRecord:Vector.<PlaybackDetails> [solo lectura] | 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 record containing playback details on the quality levels played since last ABREvent.QOS_UPDATE event
Implementación
public function get playbackDetailsRecord():Vector.<PlaybackDetails>playheadTime | propiedad |
timestamp | propiedad |
Información sobre constructores
QoSInfo | () | Información sobre |
public function QoSInfo(timestamp:Number = NaN, playheadTime:Number = NaN, availableQualityLevels:Vector.<QualityLevel> = null, currentIndex:int = -1, actualIndex:int = -1, lastDownloadedFragmentDetails:FragmentDetails = null, maxFPS:Number = NaN, playbackDetailsRecord:Vector.<PlaybackDetails> = null, nsInfo:NetStreamInfo = null, bufferLength:Number = NaN, bufferTime:Number = NaN, emptyBufferOccurred:Boolean = false)| 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ámetrostimestamp:Number (default = NaN) — The machine time when this QoSInfo was created
(number of milliseconds since midnight January 1, 1970, universal time)
| |
playheadTime:Number (default = NaN) — The playhead time when this QoSInfo was created (time in the stream, in seconds)
| |
availableQualityLevels:Vector.<QualityLevel> (default = null) — The available quality levels
| |
currentIndex:int (default = -1) — The index of the currently playing quality level
| |
actualIndex:int (default = -1) — The index of the currently downloading quality level
| |
lastDownloadedFragmentDetails:FragmentDetails (default = null) — The fragment details of the last downloaded fragment (HDS only)
| |
maxFPS:Number (default = NaN) — The maximum value of the frames per second recorded until now
(usually used as an approximation to the asset's characteristic FPS)
| |
playbackDetailsRecord:Vector.<PlaybackDetails> (default = null) — A record of the content played back since the last QOS_UPDATE event. It is a list of PlaybackDetails objects.
| |
nsInfo:NetStreamInfo (default = null) — The NetStreamInfo of the NetStream
| |
bufferLength:Number (default = NaN) — The lengths of the buffer (in seconds)
| |
bufferTime:Number (default = NaN) — The minimum buffer time (in seconds)
| |
emptyBufferOccurred:Boolean (default = false) — Signals whether there was any playback interruption caused by
an empty buffer since the last QoSInfo was provided
|
Tue Jun 12 2018, 02:12 PM Z
Ocultar propiedades públicas heredadas
Mostrar propiedades públicas heredadas