1. No. G.729 is a patented codec and you have to pay fees even if
you're using your own G.729 implementation.
2. Put the header and lib files in thirdparties folder (as done for
FFmpeg, VP8...) and add "-DHAVE_G729=1" in CFLAGS (xcode build
settings).