Changeset 1886


Ignore:
Timestamp:
Mar 21, 2008 1:46:08 PM (16 years ago)
Author:
bennylp
Message:

Enlarge the buffer for printing call media statistic in pjsua (sometimes the RTT line is cut)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • pjproject/trunk/pjsip-apps/src/pjsua/pjsua_app.c

    r1823 r1886  
    9393static pjsua_call_id    current_call = PJSUA_INVALID_ID; 
    9494static pj_str_t         uri_arg; 
     95 
     96static char some_buf[2048]; 
    9597 
    9698#ifdef STEREO_DEMO 
     
    16721674        /* Dump media state upon disconnected */ 
    16731675        if (1) { 
    1674             char buf[1024]; 
    1675             pjsua_call_dump(call_id, PJ_TRUE, buf,  
    1676                             sizeof(buf), "  "); 
     1676            pjsua_call_dump(call_id, PJ_TRUE, some_buf,  
     1677                            sizeof(some_buf), "  "); 
    16771678            PJ_LOG(5,(THIS_FILE,  
    16781679                      "Call %d disconnected, dumping media stats\n%s",  
    1679                       call_id, buf)); 
     1680                      call_id, some_buf)); 
    16801681        } 
    16811682 
     
    33543355 
    33553356                if (current_call != PJSUA_INVALID_ID) { 
    3356                     char buf[1024]; 
    3357                     pjsua_call_dump(current_call, PJ_TRUE, buf,  
    3358                                     sizeof(buf), "  "); 
    3359                     PJ_LOG(3,(THIS_FILE, "\n%s", buf)); 
     3357                    pjsua_call_dump(current_call, PJ_TRUE, some_buf,  
     3358                                    sizeof(some_buf), "  "); 
     3359                    PJ_LOG(3,(THIS_FILE, "\n%s", some_buf)); 
    33603360                } else { 
    33613361                    PJ_LOG(3,(THIS_FILE, "No current call")); 
Note: See TracChangeset for help on using the changeset viewer.