python-librtmp icon indicating copy to clipboard operation
python-librtmp copied to clipboard

AMF3

Open phaethon opened this issue 9 years ago • 1 comments

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?

phaethon avatar Jul 03 '15 21:07 phaethon

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.

oolongtea avatar Sep 24 '15 13:09 oolongtea