套件 | org.osmf.net.rtmpstreaming |
類別 | public class DroppedFramesRule |
繼承 | DroppedFramesRule SwitchingRuleBase Object |
語言版本: | ActionScript 3.0 |
產品版本: | OSMF 1.0 |
執行階段版本: | Flash Player 10, AIR 1.5 |
公用方法
方法 | 定義自 | ||
---|---|---|---|
DroppedFramesRule(metrics:NetStreamMetricsBase, downSwitchByOne:int = 10, downSwitchByTwo:int = 20, downSwitchToZero:int = 24)
Constructor. | DroppedFramesRule | ||
Returns the index value in the active DynamicStreamingResource to
which this switching rule thinks the bitrate should shift. | SwitchingRuleBase | ||
指出物件是否有已定義的指定屬性。 | Object | ||
指出 Object 類別的實體是否位於指定為參數的物件原型鏈中。 | Object | ||
指出指定的屬性是否存在,以及是否可列舉。 | Object | ||
為迴圈作業設定動態屬性的可用性。 | Object | ||
傳回代表此物件的字串,根據地區特定慣例進行格式化。 | Object | ||
會傳回指定之物件的字串形式。 | Object | ||
會傳回指定之物件的基本值。 | Object |
建構函式詳細資料
DroppedFramesRule | () | 建構函式 |
public function DroppedFramesRule(metrics:NetStreamMetricsBase, downSwitchByOne:int = 10, downSwitchByTwo:int = 20, downSwitchToZero:int = 24)
語言版本: | ActionScript 3.0 |
產品版本: | OSMF 1.0 |
執行階段版本: | Flash Player 10, AIR 1.5 |
Constructor.
參數metrics:NetStreamMetricsBase — The metrics provider used by this rule to determine
whether to switch.
| |
downSwitchByOne:int (default = 10 ) — The number of dropped frames per second that
need to occur to cause a switch down by one index.
The default is 10 frames per second.
| |
downSwitchByTwo:int (default = 20 ) — The number of dropped frames per second that
need to occur to cause a switch down by two indices.
The default is 20 frames per second.
| |
downSwitchToZero:int (default = 24 ) — The number of dropped frames per second that
need to occur to cause a switch to the lowest bitrate.
The default is 24 frames per second.
|
Tue Jun 12 2018, 03:47 PM Z