Skip to content Skip to sidebar Skip to footer

Regarding G729 Integration In Pjsip

I am querying on this because I am not a C expert .See if any one who has worked around it could help.I am integrating g729 in pjsip lib and I got g729 codec files from here.Here

Solution 1:

you can follow the steps as how g7221 added in pjsip.Find out the files in which g722 mentioned and add extra lines for g729 codec too.You can paste g729.a file in thirtparty library of pjsip.

Solution 2:

From the fact that the compiler sees the line with the error, it follows that PJMEDIA_HAS_G729_CODEC is in fact defined somewhere. Otherwise the line would have been skipped outright.

The problem is that in C, header files must be #included to declare functions. This connects two source files. Here audio_codecs.c and pj_g729.c should both include pj_g729.h.

Solution 3:

You need to include pj_g729.h into pjmedia-codec.h .

#include<pjmedia-codec/pj_g729.h>

This will include g729 header file into pjmedia-codec.h header and will avoid the error of undefined reference at status = pjmedia_codec_g729_init(endpt);'.

Post a Comment for "Regarding G729 Integration In Pjsip"