[rtmpy-dev] RTMP Connection Request Response
Thijs Triemstra | Collab
lists at collab.nl
Thu Dec 6 23:09:14 CET 2007
Hi Anthony,
we're currently very busy with the amf part of rtmpy, a project
called PyAMF [1], and we haven't had the time/priority to solve the
Connect RTMP packet stuff for RTMPy, which we will start after PyAMF
is stable enough.
hth,
Thijs
[1] http://pyamf.org
On Nov 29, 2007, at 6:26 PM, Anthony Hsiao wrote:
> Hi there,
>
> i am new to this mailing list, am currently trying to work myself
> into flash and webdev in general, and possibly work in this field
> in the future.
>
> I have a question about the connection procedure outlined in http://
> rtmpy.org/wiki/RTMP.
>
> Now, i understand the 1536 raw bytes handshake business, but i
> would like to understand the requests that follow further.
>
> On the wiki, it says:
>
> "
> Client -> Server : Sends Handshake Request. This is not a protocol
> packet but a single byte (0×03) followed by 1536 bytes. There is a
> counter which goes up, so it seems to be the clients uptime (time
> since system started).
>
> Server -> Client : Sends a Handshake Response. This is not a RTMP
> packet but a single byte (0×03) followed by two 1536 byte chunks
> (so a total of 3072 raw bytes). The second chunk of bytes is the
> original client request bytes sent in handshake request. The first
> chunk can be anything. Use null bytes it doesnt seem to matter.
>
> Client -> Server: Sends 1536 raw bytes which are the second 1536
> chunk of server generated handshake.
>
> At this time, handshake is done and further packets are RTMP ones.
>
> Client -> Server : send the Connect RTMP packet.
>
> Server-> Client : Server responds
>
> ...and so on...
>
> "
>
> Now, my question is specific to the 'Server responds' and '...and
> so on...' part: what exactly happens here? how does the server
> respond to the connect RTMP packet request?
>
> I am using the red5 port tester as example client, and am trying to
> connect to it. the Connect RTMP packet that i receive is detailed
> in the attachment. (if the attachment is not visible, the following
> are he lines of text that are contained (the '...' indicate that
> there are bytes which are not part of our alphabet):
> connect... app... oflaDemo... flashVer ...WIN 0,0,28,0... swfUrl...
> http://mirror1.cvsdude.com/trac/osflash/red5/browser/java/server/
> trunk/swt/DEV_Deploy/port_tester.swf?rev=2055&format=raw. ..
> tcUrl... rtmp:/localhost/oflaDemo... fpad... audioCodecs... <some
> reference to an audio codec>... videoCodecs... <somereference to a
> video codec>... videoFunction... pageUrl... /http://www.red5.nl/
> archives/porttester#respond... objectEncoding...
>
> Does anybody know how (as a server) to reply to this connection
> request in order to establish a connection?
>
> Thanks a lot,
>
> regards from Berlin,
>
> Anthony
> <RTMP.PNG>
> _______________________________________________
> RTMPy mailing list - rtmpy-dev at rtmpy.org
> http://lists.rtmpy.org/mailman/listinfo/rtmpy-dev
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.rtmpy.org/pipermail/rtmpy-dev/attachments/20071206/71c6634e/attachment.htm
More information about the rtmpy-dev
mailing list