Changeset 2245 for pjproject/trunk


Ignore:
Timestamp:
Aug 26, 2008 6:04:15 PM (16 years ago)
Author:
nanang
Message:

Ticket #602: fixed assertion of invalid stream index supplied to pjmedia_session_get_stream_stat().

File:
1 edited

Legend:

Unmodified
Added
Removed
  • pjproject/trunk/pjsip/src/pjsua-lib/pjsua_media.c

    r2241 r2245  
    11611161        pjmedia_rtcp_stat stat; 
    11621162 
    1163         if (pjmedia_session_get_stream_stat(call->session,  
    1164                                             call->audio_idx,  
    1165                                             &stat) == PJ_SUCCESS) 
     1163        if (pjmedia_session_get_stream_stat(call->session, 0, &stat)  
     1164            == PJ_SUCCESS) 
    11661165        { 
    11671166            /* Save RTP timestamp & sequence, so when media session is  
Note: See TracChangeset for help on using the changeset viewer.