Simple RTMP Python client

Vitaliy picture Vitaliy · Sep 14, 2011 · Viewed 13.1k times · Source

I'm looking for a proper RTMP python client or Python code example that could do at least the following:

  1. Properly handshake with Flash server
  2. Send a properly encoded (AMF0 or AMF3) "connect" message to the server (and process the result)
  3. Send a properly encoded "subscribe" message (and process the result)

I've been investigating RTMPy, rtmplite, fmspy libraries, but haven't gotten anything to work yet. The AMF0 encoding capabilities from rtmplite seem good, though.

Can anyone point me in the right direction?

Answer

meson10 picture meson10 · Oct 3, 2011

Perhaps rtmplite could help you?