套件 | org.osmf.net |
類別 | public class StreamingItem |
繼承 | StreamingItem Object |
語言版本: | ActionScript 3.0 |
產品版本: | OSMF 1.6 |
執行階段版本: | Flash Player 10, AIR 1.5 |
相關 API 元素
公用屬性
屬性 | 定義自 | ||
---|---|---|---|
bitrate : Number [唯讀]
Returns a Number giving the stream’s bit rate,
specified in kilobits per second (kbps). | StreamingItem | ||
constructor : Object
類別物件的參照或是特定物件實體的建構函數。 | Object | ||
info : Object [唯讀]
Returns an Object containing any custom information
associated with the stream. | StreamingItem | ||
streamName : String [唯讀]
Returns a String used to identify the stream. | StreamingItem | ||
type : String [唯讀]
Returns a String specifying the type of the stream. | StreamingItem |
公用方法
方法 | 定義自 | ||
---|---|---|---|
Default constructor
| StreamingItem | ||
指出物件是否有已定義的指定屬性。 | Object | ||
指出 Object 類別的實體是否位於指定為參數的物件原型鏈中。 | Object | ||
指出指定的屬性是否存在,以及是否可列舉。 | Object | ||
為迴圈作業設定動態屬性的可用性。 | Object | ||
傳回代表此物件的字串,根據地區特定慣例進行格式化。 | Object | ||
會傳回指定之物件的字串形式。 | Object | ||
會傳回指定之物件的基本值。 | Object |
屬性詳細資訊
bitrate | 屬性 |
info | 屬性 |
info:Object
[唯讀] 語言版本: | ActionScript 3.0 |
產品版本: | OSMF 1.6 |
執行階段版本: | Flash Player 10, AIR 1.5 |
Returns an Object
containing any custom information
associated with the stream. Typically, this can include the width
and height of the video, but it could also contain a user-friendly
description of the stream.
實作
public function get info():Object
streamName | 屬性 |
type | 屬性 |
建構函式詳細資料
StreamingItem | () | 建構函式 |
public function StreamingItem(type:String, streamName:String, bitrate:Number = 0, info:Object = null)
語言版本: | ActionScript 3.0 |
產品版本: | OSMF 1.6 |
執行階段版本: | Flash Player 10, AIR 1.5 |
Default constructor
參數type:String — The StreamingItemType of the stream. Allowed values
are VIDEO , for a stream that includes video, and
AUDIO , for a stream that contains only audio.
| |
streamName:String — A String used to identify this stream.
| |
bitrate:Number (default = 0 ) — A Number specifying the stream’s encoded bit rate
in kbps (kilobits per second).
| |
info:Object (default = null ) — An Object containing any custom information associated
with the stream. Typically, this can include the width and height
of the video, but it could also contain a user-friendly description
of the stream.
|
Tue Jun 12 2018, 03:47 PM Z