- Timestamp:
- Apr 10, 2011 11:52:05 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/branches/projects/2.0-dev/pjsip/src/pjsua-lib/pjsua_call.c
r3508 r3515 2554 2554 2555 2555 2556 do { 2556 if (call_med->type == PJMEDIA_TYPE_AUDIO) { 2557 pjmedia_stream_info info; 2558 char last_update[64]; 2557 2559 char loss[16], dup[16]; 2558 2560 char jitter[80]; … … 2563 2565 pjmedia_rtcp_xr_stat xr_stat; 2564 2566 unsigned clock_rate; 2565 2566 if (pjmedia_session_get_stream_stat_xr(session, i, &xr_stat) != 2567 PJ_SUCCESS) 2567 pj_time_val now; 2568 2569 if (pjmedia_stream_get_stat_xr(call_med->strm.a.stream, 2570 &xr_stat) != PJ_SUCCESS) 2568 2571 { 2569 break;2572 continue; 2570 2573 } 2571 2574 2575 if (pjmedia_stream_get_info(call_med->strm.a.stream, &info) 2576 != PJ_SUCCESS) 2577 { 2578 continue; 2579 } 2580 2572 2581 clock_rate = info.fmt.clock_rate; 2582 pj_gettimeofday(&now); 2573 2583 2574 2584 len = pj_ansi_snprintf(p, end-p, "\n%s Extended reports:", indent); … … 2930 2940 ); 2931 2941 VALIDATE_PRINT_BUF(); 2932 } while(0);2942 } /* if audio */; 2933 2943 #endif 2934 2944
Note: See TracChangeset
for help on using the changeset viewer.