Hi the connect response varies in sequence the sequence is
C>>connect issued S<<bwDone packet S<<2 pings (can be ignored) S<<connect response now depending on where the server and client are these packets can be bunched into one or more PDU's hope that helps regards Saurav ----- Original Message ----- From: "Gary Rogers" <[EMAIL PROTECTED]> To: <[email protected]> Sent: Sunday, September 17, 2006 4:31 AM Subject: Re: [Red5] rtmp handshake - last server to client message >I am putting together a basic php5 rtmp server. I am having trouble on > the (de)serialization of the connection response header. If anyone has > any information/resources on how to do this, I would greatly appreciate > it. > > ~Gary > > Roberto Saccon wrote: >> I have similar problems (trying to write a RTMP server in Erlang). >> What project are you doing ? I construct the bodies of the server >> response (header is straight forward, isn't it ?) like this: >> >> - Methodname ("_result" or "onStatus") >> - Number of Paramters (1 for connect, otherwise 2) >> - an AMF-object containing the response (e.g. the status massage form >> your dump) >> >> This works currently for me at the current initial stage of my >> implementation, which reflects something like red5 version 0.1. Don't >> ask me whether it's right. >> >> Looking at your dump, my server connect response would end after the >> 09 (the one which terminates the AMF object) >> >> regards >> > > _______________________________________________ > Red5 mailing list > [email protected] > http://osflash.org/mailman/listinfo/red5_osflash.org _______________________________________________ Red5 mailing list [email protected] http://osflash.org/mailman/listinfo/red5_osflash.org
