diff options
author | Benny Prijono <bennylp@teluu.com> | 2012-03-22 10:03:33 +0000 |
---|---|---|
committer | Benny Prijono <bennylp@teluu.com> | 2012-03-22 10:03:33 +0000 |
commit | bf1c891d0f32fd07a4bb5d196d773f11801944e4 (patch) | |
tree | fe769aee398a4daba3c95f234f71eeb2b7a3e5d4 /pjsip-apps/src/3rdparty_media_sample/config_site.h | |
parent | ed4644930dd8a74bcf4d4a89298a907643bd5d30 (diff) |
Re #1463 (3rd party media stack support): added the sample app in pjsip-apps/src/3rdparty_media_sample
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3983 74dad513-b988-da41-8d7b-12977e46ad98
Diffstat (limited to 'pjsip-apps/src/3rdparty_media_sample/config_site.h')
-rw-r--r-- | pjsip-apps/src/3rdparty_media_sample/config_site.h | 42 |
1 files changed, 42 insertions, 0 deletions
diff --git a/pjsip-apps/src/3rdparty_media_sample/config_site.h b/pjsip-apps/src/3rdparty_media_sample/config_site.h new file mode 100644 index 00000000..e883cec0 --- /dev/null +++ b/pjsip-apps/src/3rdparty_media_sample/config_site.h @@ -0,0 +1,42 @@ +/* + * Put this file in pjlib/include/pj + */ + +/* sample configure command: + CFLAGS="-g -Wno-unused-label" ./aconfigure --enable-ext-sound --disable-speex-aec --disable-g711-codec --disable-l16-codec --disable-gsm-codec --disable-g722-codec --disable-g7221-codec --disable-speex-codec --disable-ilbc-codec --disable-opencore-amrnb --disable-sdl --disable-ffmpeg --disable-v4l2 + */ + +#define THIRD_PARTY_MEDIA 1 + +#if THIRD_PARTY_MEDIA +/* + * Sample settings for using third party media with pjsua-lib + */ +# define PJSUA_MEDIA_HAS_PJMEDIA 0 +# define PJMEDIA_HAS_G711_CODEC 0 +# define PJMEDIA_HAS_ALAW_ULAW_TABLE 0 +# define PJMEDIA_RESAMPLE_IMP PJMEDIA_RESAMPLE_NONE +# define PJMEDIA_HAS_SPEEX_AEC 0 + +# define PJMEDIA_HAS_L16_CODEC 0 +# define PJMEDIA_HAS_GSM_CODEC 0 +# define PJMEDIA_HAS_SPEEX_CODEC 0 +# define PJMEDIA_HAS_ILBC_CODEC 0 +# define PJMEDIA_HAS_G722_CODEC 0 +# define PJMEDIA_HAS_G7221_CODEC 0 +# define PJMEDIA_HAS_OPENCORE_AMRNB_CODEC 0 + +# define PJMEDIA_HAS_VIDEO 1 +# define PJMEDIA_HAS_FFMPEG 0 + +# undef PJMEDIA_VIDEO_DEV_HAS_SDL +# define PJMEDIA_VIDEO_DEV_HAS_SDL 0 +# define PJMEDIA_VIDEO_DEV_HAS_QT 0 +# define PJMEDIA_VIDEO_DEV_HAS_IOS 0 +# define PJMEDIA_VIDEO_DEV_HAS_DSHOW 0 +# define PJMEDIA_VIDEO_DEV_HAS_CBAR_SRC 0 +# define PJMEDIA_VIDEO_DEV_HAS_FFMPEG 0 +# undef PJMEDIA_VIDEO_DEV_HAS_V4L2 +# define PJMEDIA_VIDEO_DEV_HAS_V4L2 0 +#endif /* THIRD_PARTY_MEDIA */ + |