Ignore:
Timestamp:
Feb 2, 2008 11:49:35 AM (12 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.

File:
1 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," ")); 
Note: See TracChangeset for help on using the changeset viewer.