Changeset 1771


Ignore:
Timestamp:
Feb 2, 2008 11:49:35 AM (17 years ago)
Author:
nanang
Message:

Ticket #461:
Added test for new jitter buffer (JB2).
The test will read text file that contains sequence of characters that simulate JB2 operations (PUT & GET).
This test is useful to analyze JB2 behaviour on jitter, DTX, drift, and packet lost.

Location:
pjproject/branches/projects/jbuf2/pjmedia/src/test
Files:
1 added
2 edited

Legend:

Unmodified
Added
Removed
  • pjproject/branches/projects/jbuf2/pjmedia/src/test/test.c

    r974 r1771  
    3636void app_perror(pj_status_t status, const char *msg) 
    3737{ 
    38     char errbuf[PJMEDIA_ERR_MSG_SIZE]; 
     38    char errbuf[PJ_ERR_MSG_SIZE]; 
    3939     
    4040    pjmedia_strerror(status, errbuf, sizeof(errbuf)); 
     
    5151    pj_caching_pool_init(&caching_pool, &pj_pool_factory_default_policy, 0); 
    5252 
    53     pj_log_set_decor(PJ_LOG_HAS_NEWLINE); 
     53    pj_log_set_decor(PJ_LOG_HAS_NEWLINE | PJ_LOG_HAS_TIME | PJ_LOG_HAS_MICRO_SEC); 
     54    pj_log_set_level(4); 
    5455 
    5556    mem = &caching_pool.factory; 
    5657 
    57     DO_TEST(sdp_neg_test()); 
     58    //DO_TEST(sdp_neg_test()); 
    5859    //sdp_test (&caching_pool.factory); 
    5960    //rtp_test(&caching_pool.factory); 
    6061    //session_test (&caching_pool.factory); 
    6162    //jbuf_main(&caching_pool.factory); 
     63    DO_TEST(jbuf2_main(&caching_pool.factory)); 
    6264 
    6365    PJ_LOG(3,(THIS_FILE," ")); 
  • pjproject/branches/projects/jbuf2/pjmedia/src/test/test.h

    r974 r1771  
    2828int sdp_test(void); 
    2929int jbuf_main(void); 
     30int jbuf2_main(pj_pool_factory *pf); 
    3031int sdp_neg_test(void); 
    3132 
Note: See TracChangeset for help on using the changeset viewer.