Building RTMP Server with python

saharcohen27

New Member
Hello!
I'm building RTMP Server with python. I succeeded to create a handshake with OBS. After that, I got in response the "connect" command from OBS.

Here is the response:
\x02\x00\x00\x00\x00\x00\x04\x01\x00\x00\x00\x00\x00\x00\x10\x00\x03\x00\x00\x00\x00\x00\x9f\x14\x00\x00\x00\x00\x02\x00\x07connect\x00?\xf0\x00\x00\x00\x00\x00\x00\x03\x00\x03app\x02\x00\x00\x00\x04type\x02\x00\nnonprivate\x00\x08flashVer\x02\x00\x1fFMLE/3.0 (compatible; FMSc/1.0)\x00\x06swfUrl\x02\x00\x16rtmp://127.0.0.1:1935/\x00\x05tcUrl\x02\x00\x16rtmp://127.0.0.1:1935/\x00\x00\t

I need to understand what exactly does OBS expect me in response? Set Client or Server Bandwidth? Peer Chunk? What should I do next?
( * any explanation about AMF0 like libraries or guides are welcomed)

Thanks.
 
Top