[Laszlo-dev] [BULK] rtmpconnection connection params

Lucas Lain lucas.lain at gmail.com
Wed Jan 6 18:52:16 PST 2010


Sorry ... I could not make you a .diff, I cant find the original code
and the connection is really bad.

See the two files attached. Basically I put an array attribute on
rtmpconnection with default value in null. This attribute is used on
flash9 using the "_doconnect" on <mediastream> (called by settimeout),
or the simple "connect" method on <rtmpconnection>.

Way of using it:

<rtmpconnection name="rtmp" id="rtmp"
src="rtmpt://127.0.0.1:8088/tuzcast/" autoconnect="false"
connParams="new Array("username","password")"/>

or using dynamic values/dataset response:

var connParams = new Array();
connParams["key"] = this.xpathQuery('response/key/text()');
rtmp.setAttribute("connParams",connParams);

Thank you very much for everything. Let me know if you need something extra.

Best regards,

-- 
Lucas
-------------- next part --------------
A non-text attachment was scrubbed...
Name: mediastream.lzx
Type: application/octet-stream
Size: 46939 bytes
Desc: not available
Url : http://www.openlaszlo.org/pipermail/laszlo-dev/attachments/20100106/6332b8e3/mediastream-0001.obj
-------------- next part --------------
A non-text attachment was scrubbed...
Name: rtmpconnection.lzx
Type: application/octet-stream
Size: 15054 bytes
Desc: not available
Url : http://www.openlaszlo.org/pipermail/laszlo-dev/attachments/20100106/6332b8e3/rtmpconnection-0001.obj


More information about the Laszlo-dev mailing list