ActionScript® 3.0 Reference for the Adobe® Flash® Platform
Home  |  Show Packages and Classes List |  Packages  |  Classes  |  What's New  |  Index  |  Appendixes
org.osmf.net 

DynamicStreamingItem  - AS3 OSMF

Packageorg.osmf.net
Classpublic class DynamicStreamingItem
InheritanceDynamicStreamingItem Inheritance Object

Language Version: ActionScript 3.0
Product Version: OSMF 1.0
Runtime Versions: Flash Player 10, AIR 1.5

DynamicStreamingItem represents a single stream in a DynamicStreamingResource.



Public Properties
 PropertyDefined By
  bitrate : Number
The stream's bitrate, specified in kilobits per second (kbps).
DynamicStreamingItem
 Inheritedconstructor : Object
A reference to the class object or constructor function for a given object instance.
Object
  height : int
The stream's encoded height or -1 if not specified.
DynamicStreamingItem
  streamName : String
The stream name that will be passed to NetStream.play()
DynamicStreamingItem
  width : int
The stream's encoded width or -1 if not specified.
DynamicStreamingItem
Public Methods
 MethodDefined By
  
DynamicStreamingItem(streamName:String, bitrate:Number, width:int = -1, height:int = -1)
Constructor.
DynamicStreamingItem
 Inherited
Indicates whether an object has a specified property defined.
Object
 Inherited
Indicates whether an instance of the Object class is in the prototype chain of the object specified as the parameter.
Object
 Inherited
Indicates whether the specified property exists and is enumerable.
Object
 Inherited
Sets the availability of a dynamic property for loop operations.
Object
 Inherited
Returns the string representation of this object, formatted according to locale-specific conventions.
Object
 Inherited
Returns the string representation of the specified object.
Object
 Inherited
Returns the primitive value of the specified object.
Object
Property Detail

bitrate

property
bitrate:Number

Language Version: ActionScript 3.0
Product Version: OSMF 1.0
Runtime Versions: Flash Player 10, AIR 1.5

The stream's bitrate, specified in kilobits per second (kbps).



Implementation
    public function get bitrate():Number
    public function set bitrate(value:Number):void

height

property 
height:int

Language Version: ActionScript 3.0
Product Version: OSMF 1.0
Runtime Versions: Flash Player 10, AIR 1.5

The stream's encoded height or -1 if not specified.



Implementation
    public function get height():int
    public function set height(value:int):void

streamName

property 
streamName:String

Language Version: ActionScript 3.0
Product Version: OSMF 1.0
Runtime Versions: Flash Player 10, AIR 1.5

The stream name that will be passed to NetStream.play()



Implementation
    public function get streamName():String
    public function set streamName(value:String):void

width

property 
width:int

Language Version: ActionScript 3.0
Product Version: OSMF 1.0
Runtime Versions: Flash Player 10, AIR 1.5

The stream's encoded width or -1 if not specified.



Implementation
    public function get width():int
    public function set width(value:int):void
Constructor Detail

DynamicStreamingItem

()Constructor
public function DynamicStreamingItem(streamName:String, bitrate:Number, width:int = -1, height:int = -1)

Language Version: ActionScript 3.0
Product Version: OSMF 1.0
Runtime Versions: Flash Player 10, AIR 1.5

Constructor.

Parameters
streamName:String — The stream name that will be passed to NetStream.play()
 
bitrate:Number — The stream's encoded bitrate in kbps.
 
width:int (default = -1) — Optional width for the stream.
 
height:int (default = -1) — Optional height for the stream.