| 套件 | org.osmf.net.qos |
| 類別 | public class QoSInfo |
| 繼承 | QoSInfo Object |
| 語言版本: | ActionScript 3.0 |
| 產品版本: | OSMF 2.0 |
| 執行階段版本: | Flash Player 10, AIR 1.5 |
公用屬性
| 屬性 | 定義自 | ||
|---|---|---|---|
| actualIndex : int [唯讀]
The index of the currently downloading quality level
| QoSInfo | ||
| availableQualityLevels : Vector.<QualityLevel> [唯讀]
The available quality levels
| QoSInfo | ||
| bufferLength : Number [唯讀]
The length of the buffer (in seconds)
| QoSInfo | ||
| bufferTime : Number [唯讀]
The minimum buffer time (in seconds)
| QoSInfo | ||
![]() | constructor : Object
類別物件的參照或是特定物件實體的建構函數。 | Object | |
| currentIndex : int [唯讀]
The index of the currently playing quality level
| QoSInfo | ||
| emptyBufferOccurred : Boolean [唯讀]
Signals whether there was any playback interruption caused by
an empty buffer since the last QoSInfo was provided
| QoSInfo | ||
| lastDownloadedFragmentDetails : FragmentDetails [唯讀]
The fragment details of the last downloaded fragment (HDS only)
| QoSInfo | ||
| maxFPS : Number [唯讀]
The maximum value of the frames per second recorded until now
| QoSInfo | ||
| nsInfo : NetStreamInfo [唯讀]
The NetStreamInfo of the NetStream
| QoSInfo | ||
| playbackDetailsRecord : Vector.<PlaybackDetails> [唯讀]
The record containing playback details on the quality levels played since last
ABREvent.QOS_UPDATE event
| QoSInfo | ||
| playheadTime : Number [唯讀]
The playhead time when this QoSInfo was created (time in the stream)
| QoSInfo | ||
| timestamp : Number [唯讀]
The machine time when this QoSInfo was created
| QoSInfo | ||
公用方法
| 方法 | 定義自 | ||
|---|---|---|---|
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 | ||
![]() |
指出物件是否有已定義的指定屬性。 | Object | |
![]() |
指出 Object 類別的實體是否位於指定為參數的物件原型鏈中。 | Object | |
![]() |
指出指定的屬性是否存在,以及是否可列舉。 | Object | |
![]() |
為迴圈作業設定動態屬性的可用性。 | Object | |
![]() |
傳回代表此物件的字串,根據地區特定慣例進行格式化。 | Object | |
![]() |
會傳回指定之物件的字串形式。 | Object | |
![]() |
會傳回指定之物件的基本值。 | Object | |
屬性詳細資訊
actualIndex | 屬性 |
availableQualityLevels | 屬性 |
availableQualityLevels:Vector.<QualityLevel> [唯讀] | 語言版本: | ActionScript 3.0 |
| 產品版本: | OSMF 2.0 |
| 執行階段版本: | Flash Player 10, AIR 1.5 |
The available quality levels
實作
public function get availableQualityLevels():Vector.<QualityLevel>bufferLength | 屬性 |
bufferTime | 屬性 |
currentIndex | 屬性 |
emptyBufferOccurred | 屬性 |
lastDownloadedFragmentDetails | 屬性 |
lastDownloadedFragmentDetails:FragmentDetails [唯讀] | 語言版本: | ActionScript 3.0 |
| 產品版本: | OSMF 2.0 |
| 執行階段版本: | Flash Player 10, AIR 1.5 |
The fragment details of the last downloaded fragment (HDS only)
實作
public function get lastDownloadedFragmentDetails():FragmentDetailsmaxFPS | 屬性 |
nsInfo | 屬性 |
nsInfo:NetStreamInfo [唯讀] | 語言版本: | ActionScript 3.0 |
| 產品版本: | OSMF 2.0 |
| 執行階段版本: | Flash Player 10, AIR 1.5 |
The NetStreamInfo of the NetStream
實作
public function get nsInfo():NetStreamInfoplaybackDetailsRecord | 屬性 |
playbackDetailsRecord:Vector.<PlaybackDetails> [唯讀] | 語言版本: | ActionScript 3.0 |
| 產品版本: | OSMF 2.0 |
| 執行階段版本: | Flash Player 10, AIR 1.5 |
The record containing playback details on the quality levels played since last ABREvent.QOS_UPDATE event
實作
public function get playbackDetailsRecord():Vector.<PlaybackDetails>playheadTime | 屬性 |
timestamp | 屬性 |
建構函式詳細資料
QoSInfo | () | 建構函式 |
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)| 語言版本: | ActionScript 3.0 |
| 產品版本: | OSMF 2.0 |
| 執行階段版本: | Flash Player 10, AIR 1.5 |
Constructor.
參數timestamp: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, 03:47 PM Z
隱藏繼承公用屬性
顯示繼承公用屬性