python-librtmp
python-librtmp copied to clipboard
AMF3
trafficstars
I would like to encode/decode AMF3. I am trying to use librtmp.amf.decode_amf, but it seems it defaults to AMF0 without argument to affect it. What is suggested way to do it?
Looks like AMF3_Decode() is here, but decode_amf() in amf.py uses librtmp.AMF_Decode() instead of librtmp.AMF3_Decode().
Not too familiar with AMF, but you might try to directly change decode_amf() source code to use the AMF3 decoder.