diff options
author | Benny Prijono <bennylp@teluu.com> | 2006-02-02 19:16:07 +0000 |
---|---|---|
committer | Benny Prijono <bennylp@teluu.com> | 2006-02-02 19:16:07 +0000 |
commit | 5125fc4191998ab13529ee59706f95116fc1725a (patch) | |
tree | e1f9b4fe1c3c3a1a734e099333c7107678065df9 /pjmedia/src/test/main.c | |
parent | 6cbba81e8937d6793705608e7e68e83ec950dd2a (diff) |
Added SDP negotiator and changed SDP structs (tested)
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@129 74dad513-b988-da41-8d7b-12977e46ad98
Diffstat (limited to 'pjmedia/src/test/main.c')
-rw-r--r-- | pjmedia/src/test/main.c | 24 |
1 files changed, 7 insertions, 17 deletions
diff --git a/pjmedia/src/test/main.c b/pjmedia/src/test/main.c index 31ca3c32..31acaec7 100644 --- a/pjmedia/src/test/main.c +++ b/pjmedia/src/test/main.c @@ -16,27 +16,17 @@ * along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ -#include <pj/os.h> -#include <pj/pool.h> -#include <pjmedia/sound.h> - -pj_status_t session_test (pj_pool_factory *pf); -pj_status_t rtp_test (pj_pool_factory *pf); -pj_status_t sdp_test(pj_pool_factory *pf); -int jbuf_main(pj_pool_factory *pf); +#include "test.h" int main() { - pj_caching_pool caching_pool; + int rc; + char s[10]; - pj_init(); - pj_caching_pool_init(&caching_pool, &pj_pool_factory_default_policy, 0); + rc = test_main(); - sdp_test (&caching_pool.factory); - rtp_test(&caching_pool.factory); - session_test (&caching_pool.factory); - //jbuf_main(&caching_pool.factory); + puts("\nPress <ENTER> to quit"); + fgets(s, sizeof(s), stdin); - pj_caching_pool_destroy(&caching_pool); - return 0; + return rc; } |