Package | org.osmf.net |
Class | public class StreamingItem |
Inheritance | StreamingItem Object |
Language Version: | ActionScript 3.0 |
Product Version: | OSMF 1.6 |
Runtime Versions: | Flash Player 10, AIR 1.5 |
Related API Elements
Public Properties
Property | Defined By | ||
---|---|---|---|
bitrate : Number [read-only]
Returns a Number giving the stream’s bit rate,
specified in kilobits per second (kbps). | StreamingItem | ||
constructor : Object
A reference to the class object or constructor function for a given object instance. | Object | ||
info : Object [read-only]
Returns an Object containing any custom information
associated with the stream. | StreamingItem | ||
streamName : String [read-only]
Returns a String used to identify the stream. | StreamingItem | ||
type : String [read-only]
Returns a String specifying the type of the stream. | StreamingItem |
Public Methods
Method | Defined By | ||
---|---|---|---|
Default constructor
| StreamingItem | ||
Indicates whether an object has a specified property defined. | Object | ||
Indicates whether an instance of the Object class is in the prototype chain of the object specified
as the parameter. | Object | ||
Indicates whether the specified property exists and is enumerable. | Object | ||
Sets the availability of a dynamic property for loop operations. | Object | ||
Returns the string representation of this object, formatted according to locale-specific conventions. | Object | ||
Returns the string representation of the specified object. | Object | ||
Returns the primitive value of the specified object. | Object |
Property Detail
bitrate | property |
info | property |
info:Object
[read-only] Language Version: | ActionScript 3.0 |
Product Version: | OSMF 1.6 |
Runtime Versions: | 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.
Implementation
public function get info():Object
streamName | property |
type | property |
type:String
[read-only] Language Version: | ActionScript 3.0 |
Product Version: | OSMF 1.6 |
Runtime Versions: | Flash Player 10, AIR 1.5 |
Returns a String
specifying the type of the stream.
Possible values are VIDEO
, for a stream that includes
video, and AUDIO
, for a stream that contains only audio.
Implementation
public function get type():String
Constructor Detail
StreamingItem | () | Constructor |
public function StreamingItem(type:String, streamName:String, bitrate:Number = 0, info:Object = null)
Language Version: | ActionScript 3.0 |
Product Version: | OSMF 1.6 |
Runtime Versions: | Flash Player 10, AIR 1.5 |
Default constructor
Parameterstype: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.
|
Thu Dec 6 2018, 01:12 PM -08:00