| 套件 | org.osmf.net.httpstreaming |
| 類別 | public class HTTPStreamingNetLoader |
| 繼承 | HTTPStreamingNetLoader NetLoader LoaderBase EventDispatcher Object |
| 語言版本: | ActionScript 3.0 |
| 產品版本: | OSMF 1.0 |
| 執行階段版本: | Flash Player 10, AIR 1.5 |
公用方法
| 方法 | 定義自 | ||
|---|---|---|---|
Constructor. | HTTPStreamingNetLoader | ||
![]() | addEventListener(type:String, listener:Function, useCapture:Boolean = false, priority:int = 0, useWeakReference:Boolean = false):void
會在 EventDispatcher 物件註冊事件偵聽程式,以便讓偵聽程式收到事件的通知。 | EventDispatcher | |
![]() |
Indicates whether this loader is capable of handling (loading)
the given MediaResourceBase. | LoaderBase | |
![]() |
會將事件傳送到事件流程。 | EventDispatcher | |
![]() |
會檢查 EventDispatcher 物件是否有對特定的事件類型註冊偵聽程式。 | EventDispatcher | |
![]() |
指出物件是否有已定義的指定屬性。 | Object | |
![]() |
指出 Object 類別的實體是否位於指定為參數的物件原型鏈中。 | Object | |
![]() |
Loads the specified LoadTrait. | LoaderBase | |
![]() |
指出指定的屬性是否存在,以及是否可列舉。 | Object | |
![]() |
會從 EventDispatcher 物件移除偵聽程式。 | EventDispatcher | |
![]() |
為迴圈作業設定動態屬性的可用性。 | Object | |
![]() |
傳回代表此物件的字串,根據地區特定慣例進行格式化。 | Object | |
![]() |
會傳回指定之物件的字串形式。 | Object | |
![]() |
Unloads the specified LoadTrait. | LoaderBase | |
![]() |
會傳回指定之物件的基本值。 | Object | |
![]() |
檢查此 EventDispatcher 物件是否已註冊事件偵聽程式,或者此物件的任何祖系已為特定事件類型註冊事件偵聽程式。 | EventDispatcher | |
保護方法
| 方法 | 定義自 | ||
|---|---|---|---|
Creates a MetricFactory to be used in Adaptive Bitrate switching for
instantiating metrics. | HTTPStreamingNetLoader | ||
![]() |
The factory function for creating a NetStream. | NetLoader | |
Creates a QoSInfoHistory to be used in Adaptive Bitrate switching
by the metrics. | HTTPStreamingNetLoader | ||
![]() | createNetStreamSwitchManager(connection:NetConnection, netStream:NetStream, dsResource:DynamicStreamingResource):NetStreamSwitchManagerBase
The factory function for creating a NetStreamSwitchManagerBase. | NetLoader | |
![]() |
Executes the load of the given LoadTrait. | LoaderBase | |
![]() |
Executes the unload of the given LoadTrait. | LoaderBase | |
![]() |
Attempts to reconnect the specified NetConnection to the specified
URL. | NetLoader | |
![]() |
Updates the given LoadTrait with the given info, and dispatches the
state change event if necessary. | LoaderBase | |
保護常數
| 常數 | 定義自 | ||
|---|---|---|---|
| AFTER_UP_SWITCH_BANDWIDTH_BUFFER_RULE_BUFFER_FRAGMENTS_THRESHOLD : uint = 2 [靜態] | HTTPStreamingNetLoader | ||
| AFTER_UP_SWITCH_BANDWIDTH_BUFFER_RULE_MIN_RATIO : Number = 0.5 [靜態] | HTTPStreamingNetLoader | ||
| BANDWIDTH_BUFFER_RULE_BUFFER_FRAGMENTS_THRESHOLD : uint = 2 [靜態] | HTTPStreamingNetLoader | ||
| BANDWIDTH_BUFFER_RULE_WEIGHTS : Vector.<Number> [靜態] | HTTPStreamingNetLoader | ||
| EMPTY_BUFFER_RULE_SCALE_DOWN_FACTOR : Number = 0.4 [靜態] | HTTPStreamingNetLoader | ||
建構函式詳細資料
HTTPStreamingNetLoader | () | 建構函式 |
public function HTTPStreamingNetLoader()| 語言版本: | ActionScript 3.0 |
| 產品版本: | OSMF 1.0 |
| 執行階段版本: | Flash Player 10, AIR 1.5 |
Constructor.
方法詳細資訊
createMetricFactory | () | 方法 |
protected function createMetricFactory(netStreamQoSInfoHistory:QoSInfoHistory):MetricFactory| 語言版本: | ActionScript 3.0 |
| 產品版本: | OSMF 2.0 |
| 執行階段版本: | Flash Player 10, AIR 1.5 |
Creates a MetricFactory to be used in Adaptive Bitrate switching for instantiating metrics. Subclasses may override.
參數
netStreamQoSInfoHistory:QoSInfoHistory |
MetricFactory |
createNetStreamQoSInfoHistory | () | 方法 |
protected function createNetStreamQoSInfoHistory(netStream:NetStream):QoSInfoHistory| 語言版本: | ActionScript 3.0 |
| 產品版本: | OSMF 2.0 |
| 執行階段版本: | Flash Player 10, AIR 1.5 |
Creates a QoSInfoHistory to be used in Adaptive Bitrate switching by the metrics. Subclasses may override.
參數
netStream:NetStream |
QoSInfoHistory |
常數詳細資訊
AFTER_UP_SWITCH_BANDWIDTH_BUFFER_RULE_BUFFER_FRAGMENTS_THRESHOLD | 常數 |
protected static const AFTER_UP_SWITCH_BANDWIDTH_BUFFER_RULE_BUFFER_FRAGMENTS_THRESHOLD:uint = 2AFTER_UP_SWITCH_BANDWIDTH_BUFFER_RULE_MIN_RATIO | 常數 |
protected static const AFTER_UP_SWITCH_BANDWIDTH_BUFFER_RULE_MIN_RATIO:Number = 0.5BANDWIDTH_BUFFER_RULE_BUFFER_FRAGMENTS_THRESHOLD | 常數 |
protected static const BANDWIDTH_BUFFER_RULE_BUFFER_FRAGMENTS_THRESHOLD:uint = 2BANDWIDTH_BUFFER_RULE_WEIGHTS | 常數 |
EMPTY_BUFFER_RULE_SCALE_DOWN_FACTOR | 常數 |
protected static const EMPTY_BUFFER_RULE_SCALE_DOWN_FACTOR:Number = 0.4Tue Jun 12 2018, 03:47 PM Z
隱藏繼承公用屬性
顯示繼承公用屬性