Package | spark.components.mediaClasses |
Class | public class DynamicStreamingVideoSource |
Inheritance | DynamicStreamingVideoSource ![]() |
Language Version : | ActionScript 3.0 |
Product Version : | Flex 4 |
Runtime Versions : | Flash Player 10, AIR 1.5 |
This class supports a single stream or multiple streams associated with different
bitrates. The VideoPlayer
and VideoDisplay
classes can take a DynamicStreamingVideoSource instance as its source
property.
The <s:DynamicStreamingVideoSource>
tag inherits all of the tag
attributes of its superclass and adds the following tag attributes:
<s:DynamicStreamingVideoSource Properties host="" initialIndex="0" streamType="any" />
Default MXML PropertystreamItems
See also
Property | Defined By | ||
---|---|---|---|
host : Object
The URI of the location of the video server. | DynamicStreamingVideoSource | ||
initialIndex : int
The preferred starting index. | DynamicStreamingVideoSource | ||
streamItems : Vector.<DynamicStreamingVideoItem>
The metadata info object with properties describing the FLB file. | DynamicStreamingVideoSource | ||
streamType : String
The type of stream we are trying to connect to: any, live, or recorded. | DynamicStreamingVideoSource |
Method | Defined By | ||
---|---|---|---|
Constructor. | DynamicStreamingVideoSource |
host | property |
host:Object
Language Version : | ActionScript 3.0 |
Product Version : | Flex 4 |
Runtime Versions : | Flash Player 10, AIR 1.5 |
The URI of the location of the video server. While this property is of type Object, pass the URI as a String.
Use the streamName
property of the
DynamicStreamingVideoItem class to specify stream name on the server.
public function get host():Object
public function set host(value:Object):void
See also
initialIndex | property |
initialIndex:int
Language Version : | ActionScript 3.0 |
Product Version : | Flex 4 |
Runtime Versions : | Flash Player 10, AIR 1.5 |
The preferred starting index. This corresponds to the stream item that should be attempted first.
public function get initialIndex():int
public function set initialIndex(value:int):void
streamItems | property |
streamItems:Vector.<DynamicStreamingVideoItem>
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.
public function get streamItems():Vector.<DynamicStreamingVideoItem>
public function set streamItems(value:Vector.<DynamicStreamingVideoItem>):void
streamType | property |
streamType:String
Language Version : | ActionScript 3.0 |
Product Version : | Flex 4 |
Runtime Versions : | Flash Player 10, AIR 1.5 |
The type of stream we are trying to connect to: any, live, or recorded.
If the streamType is any
, then we will attempt to
connect to a live stream first. If no live stream is found, we will
attempt to connect to a recorded stream. If no recorded stream is found,
then a live stream will be created.
The default value is any
.
public function get streamType():String
public function set streamType(value:String):void
See also
DynamicStreamingVideoSource | () | Constructor |
public function DynamicStreamingVideoSource()
Language Version : | ActionScript 3.0 |
Product Version : | Flex 4 |
Runtime Versions : | Flash Player 10, AIR 1.5 |
Constructor.