<html><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">Hi Michael,<div><br></div><div>RTMPy is unfortunately still a work in progress. We spent most of our time on PyAMF [1] during last months, but hopefully you will see activity in the RTMPy project again soon, especially now that there's a C extension for PyAMF in the making, which provides an even better solution for the&nbsp;AMF requirement in&nbsp;RTMPy. &nbsp;Hope that clears things up ;)</div><div><br></div><div>Thijs</div><div><br></div><div>[1]&nbsp;<a href="http://pyamf.org">http://pyamf.org</a></div><div>[2]&nbsp;<a href="http://pyamf.org/ticket/225">http://pyamf.org/ticket/225</a></div><div><br></div><div><div><div>On 27 aug 2008, at 02:53, Michael Hoisie wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div>It seems like 'objectEncoding' was the missing piece. If you include<br>that peroperty in the connect response, a netconnection will work in<br>Flex Sdk 3.1:<br><br> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;command.setResult(None, {<br> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;'level': 'status',<br> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;'code': 'NetConnection.Connect.Success',<br> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;'description': 'Connection succeeded.',<br> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;'objectEncoding':3<br> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;})<br><br>Haven't tested this with older versions of FMS, though.<br><br>- Michael Hoisie<br><a href="http://hoisie.com/">http://hoisie.com/</a> (blog)<br><br><br><br>On Tue, Aug 26, 2008 at 5:42 AM, Michael Hoisie &lt;<a href="mailto:hoisie@gmail.com">hoisie@gmail.com</a>> wrote:<br><blockquote type="cite">Hi,<br></blockquote><blockquote type="cite">I'm trying to get the latest version of Flex SDK (3.1) to connect to<br></blockquote><blockquote type="cite">RTMPY, but the connection is closed by the client after the handshake.<br></blockquote><blockquote type="cite">The client doens't like the Connect.succeeded message, and disconnects<br></blockquote><blockquote type="cite">right after receiving it.<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">I ran flash media server in parallel, and captured the those packets.<br></blockquote><blockquote type="cite">There seem to be three more properties in fms' Connection.succeeded<br></blockquote><blockquote type="cite">packet: fmsVer, capabilities, and objectEncoding. I tried adding these<br></blockquote><blockquote type="cite">to RTMPy, but the result is not encoded properly (it doesn't obey the<br></blockquote><blockquote type="cite">128 byte boundaries).<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">Has anyone tested RTMPy with flex 3?<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">Thanks,<br></blockquote><blockquote type="cite">Michael Hoisie<br></blockquote><blockquote type="cite"><a href="http://hoisie.com/">http://hoisie.com/</a> (blog)<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">P.S hex dump output:<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">This is what RTMPy returns after connect:<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">0000: &nbsp;02 00 07 5f 72 65 73 75 &nbsp;6c 74 00 3f f0 00 00 00 &nbsp;..._result.?....<br></blockquote><blockquote type="cite">0010: &nbsp;00 00 00 05 03 00 04 63 &nbsp;6f 64 65 02 00 1d 4e 65 &nbsp;.......code...Ne<br></blockquote><blockquote type="cite">0020: &nbsp;74 43 6f 6e 6e 65 63 74 &nbsp;69 6f 6e 2e 43 6f 6e 6e &nbsp;tConnection.Conn<br></blockquote><blockquote type="cite">0030: &nbsp;65 63 74 2e 53 75 63 63 &nbsp;65 73 73 00 0b 64 65 73 &nbsp;ect.Success..des<br></blockquote><blockquote type="cite">0040: &nbsp;63 72 69 70 74 69 6f 6e &nbsp;02 00 15 43 6f 6e 6e 65 &nbsp;cription...Conne<br></blockquote><blockquote type="cite">0050: &nbsp;63 74 69 6f 6e 20 73 75 &nbsp;63 63 65 65 64 65 64 2e &nbsp;ction.succeeded.<br></blockquote><blockquote type="cite">0060: &nbsp;00 05 6c 65 76 65 6c 02 &nbsp;00 06 73 74 61 74 75 73 &nbsp;..level...status<br></blockquote><blockquote type="cite">0070: &nbsp;00 00 09<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">And this is what Flash Media Server 3 returns. It has a few more<br></blockquote><blockquote type="cite">properties: fmsVer, capabilities, and objectEncoding:<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">0000 &nbsp;&nbsp;03 00 00 00 00 00 be 14 00 00 00 00 02 00 07 5f &nbsp;..............._<br></blockquote><blockquote type="cite">0010 &nbsp;&nbsp;72 65 73 75 6c 74 00 3f f0 00 00 00 00 00 00 03 &nbsp;result.?........<br></blockquote><blockquote type="cite">0020 &nbsp;&nbsp;00 06 66 6d 73 56 65 72 02 00 0d 46 4d 53 2f 33 &nbsp;..fmsVer...FMS/3<br></blockquote><blockquote type="cite">0030 &nbsp;&nbsp;2c 30 2c 31 2c 31 32 33 00 0c 63 61 70 61 62 69 &nbsp;,0,1,123..capabi<br></blockquote><blockquote type="cite">0040 &nbsp;&nbsp;6c 69 74 69 65 73 00 40 3f 00 00 00 00 00 00 00 &nbsp;lities.@?.......<br></blockquote><blockquote type="cite">0050 &nbsp;&nbsp;00 09 03 00 05 6c 65 76 65 6c 02 00 06 73 74 61 &nbsp;.....level...sta<br></blockquote><blockquote type="cite">0060 &nbsp;&nbsp;74 75 73 00 04 63 6f 64 65 02 00 1d 4e 65 74 43 &nbsp;tus..code...NetC<br></blockquote><blockquote type="cite">0070 &nbsp;&nbsp;6f 6e 6e 65 63 74 69 6f 6e 2e 43 6f 6e 6e 65 63 &nbsp;onnection.Connec<br></blockquote><blockquote type="cite">0080 &nbsp;&nbsp;74 2e 53 75 63 63 65 73 73 00 0b 64 c3 65 73 63 &nbsp;t.Success..d.esc<br></blockquote><blockquote type="cite">0090 &nbsp;&nbsp;72 69 70 74 69 6f 6e 02 00 15 43 6f 6e 6e 65 63 &nbsp;ription...Connec<br></blockquote><blockquote type="cite">00a0 &nbsp;&nbsp;74 69 6f 6e 20 73 75 63 63 65 65 64 65 64 2e 00 &nbsp;tion succeeded..<br></blockquote><blockquote type="cite">00b0 &nbsp;&nbsp;0e 6f 62 6a 65 63 74 45 6e 63 6f 64 69 6e 67 00 &nbsp;.objectEncoding.<br></blockquote><blockquote type="cite">00c0 &nbsp;&nbsp;40 08 00 00 00 00 00 00 00 00 09 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;@..........<br></blockquote><blockquote type="cite"><br></blockquote>_______________________________________________<br>RTMPy mailing list - <a href="mailto:rtmpy-dev@rtmpy.org">rtmpy-dev@rtmpy.org</a><br><a href="http://lists.rtmpy.org/mailman/listinfo/rtmpy-dev">http://lists.rtmpy.org/mailman/listinfo/rtmpy-dev</a><br></div></blockquote></div><br></div></body></html>