What's a good C++ library for parsing AMF3?
问题:
回答1:
Based on some simple research, libamfx doesn't support AMF3 and amf3cplusplus isn't a complete implementation of the specs, although it may work for your needs. There don't appear to be any pure-C libraries, so the next place to look would be C language extensions.
There is a fully functional AMF implementation in C for PHP (AMFEXT), a C implementation for Python (PyAMF), one for Objective-C (Cocoa-AMF), and one for Ruby (RocketAMF). However, none of these are going to be drop-in solutions.
Your best bet would be to try out amf3cplusplus and see if it does what you want. If it doesn't, RocketAMF is probably going to be the easiest to use as a starting point, in terms of readability and replacing the language-specific code with C++ data structures.
回答2:
I understood that libamfx actualy good. Did you try it ?