Packagespark.components.mediaClasses
Classpublic class StreamingVideoSource
InheritanceStreamingVideoSource Inheritance Object

Language Version: ActionScript 3.0
Product Version: Flex 4
Runtime Versions: Flash Player 10, AIR 1.5

The StreamingVideoSource class represents a streaming video source and can be used for streaming pre-recorded video or live streaming video. In addition, it can support a single stream or multiple streams associated with different bitrates. The VideoPlayer and VideoElement classes can take a StreamingVideoSource instance as its source property.

Default MXML PropertystreamItems

See also

spark.components.VideoPlayer
spark.primitives.VideoElement


Public Properties
 PropertyDefined By
 Inheritedconstructor : Object
A reference to the class object or constructor function for a given object instance.
Object
  live : Boolean
A Boolean value that is true if the video stream is live.
StreamingVideoSource
 Inheritedprototype : Object
[static] A reference to the prototype object of a class or function object.
Object
  serverURI : String
The uri pointing to the location of the server
StreamingVideoSource
  streamItems : Array
The metadata info object with properties describing the FLB file.
StreamingVideoSource
Public Methods
 MethodDefined By
  
StreamingVideoSource
 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
liveproperty
live:Boolean

Language Version: ActionScript 3.0
Product Version: Flex 4
Runtime Versions: Flash Player 10, AIR 1.5

A Boolean value that is true if the video stream is live.

Set the live property to false when sending a prerecorded video stream to the video player and to true when sending real-time data such as a live broadcast.

The default value is false.



Implementation
    public function get live():Boolean
    public function set live(value:Boolean):void
serverURIproperty 
serverURI:String

Language Version: ActionScript 3.0
Product Version: Flex 4
Runtime Versions: Flash Player 10, AIR 1.5

The uri pointing to the location of the server



Implementation
    public function get serverURI():String
    public function set serverURI(value:String):void
streamItemsproperty 
streamItems:Array

Language Version: ActionScript 3.0
Product Version: Flex 4
Runtime Versions: Flash Player 10, AIR 1.5

The metadata info object with properties describing the FLB file.



Implementation
    public function get streamItems():Array
    public function set streamItems(value:Array):void
Constructor Detail
StreamingVideoSource()Constructor
public function StreamingVideoSource()