diff options
author | Benny Prijono <bennylp@teluu.com> | 2006-09-14 18:51:01 +0000 |
---|---|---|
committer | Benny Prijono <bennylp@teluu.com> | 2006-09-14 18:51:01 +0000 |
commit | b6b613a4e59e2177a2e899dc4e21ab660c05de3d (patch) | |
tree | ab3821c5de8972a5006c4590ec631ff40ef61e15 /pjsip-apps | |
parent | e015ebe064c6f5120ef2af2b73ce52796a06f790 (diff) |
Fix the local IP address resolution issue in PJSIP, PJMEDIA, and PJSUA, by adding a new API pj_gethostip() to resolve the default local IP address of local host. This new function will work even when local hostname resolution is not set correctly, by detecting the default IP interface in the system.
Also fix compile warnings in iLBC.
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@721 74dad513-b988-da41-8d7b-12977e46ad98
Diffstat (limited to 'pjsip-apps')
-rw-r--r-- | pjsip-apps/src/pjsua/pjsua_app.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/pjsip-apps/src/pjsua/pjsua_app.c b/pjsip-apps/src/pjsua/pjsua_app.c index 2bb7d9d0..57b6ad2e 100644 --- a/pjsip-apps/src/pjsua/pjsua_app.c +++ b/pjsip-apps/src/pjsua/pjsua_app.c @@ -78,7 +78,9 @@ static struct app_config static pjsua_call_id current_call; static pj_str_t uri_arg; +#ifdef STEREO_DEMO static void stereo_demo(); +#endif /***************************************************************************** * Configuration manipulation |