<rtmpconnection> allows applications to connect to RTMP servers, like http://osflash.org/red5 or http://www.wowzamedia.com/. Note that you'll
need a server running with the appropriate URLs set up for this example to work.
<canvas>
<rtmpconnection src="rtmp://localhost:1935/simplevideostreaming/" autoconnect="true"/>
<videoplayer url="Extremists.flv" type="rtmp" autoplay="true" width="320" height="240"/>
</canvas>
| Name | Type (tag) | Type (js) | Default | Category |
|---|---|---|---|---|
autoconnect
|
boolean | Boolean | true | read/write |
| Connect automatically during init. If false, you need to explicitly call connect(). Default is true. | ||||
debug
|
expression | Boolean | false | read/write |
| Turn on for verbose debugger output. | ||||
stage
|
number | Number | 0 | read/write |
| Number to indicate what stage of connection we're in: 0: disconnected, 1: connecting, 2: connected. | ||||
status
|
string | string | disconnected | read/write |
| String to indicate connection status. | ||||
classroot, cloneManager, datapath, defaultplacement, id, ignoreplacement, immediateparent, inited, initstage, name, nodeLevel, options, parent, placement, subnodes
Methods
animate, applyConstraint, applyConstraintMethod, applyData, childOf, completeInstantiation, construct, createChildren, dataBindAttribute, destroy, determinePlacement, getAttribute, getOption, getUID, init, lookupSourceLocator, releaseConstraint, releaseConstraintMethod, searchImmediateSubnodes, searchSubnodes, setData, setDatapath, setOption, setSelected, updateData
Events
Copyright © 2002-2008 Laszlo Systems, Inc. All Rights Reserved. Unauthorized use, duplication or distribution is strictly prohibited. This is the proprietary information of Laszlo Systems, Inc. Use is subject to license terms.