- Timestamp:
- Feb 27, 2013 6:44:44 AM (12 years ago)
- Location:
- pjproject/trunk
- Files:
-
- 2 added
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/trunk/pjsip/src/pjsua-lib/pjsua_media.c
r4363 r4373 1458 1458 * by call media. 1459 1459 */ 1460 void pjsua_media_prov_clean_up(pjsua_call_id call_id)1460 static void media_prov_clean_up(pjsua_call_id call_id, int idx) 1461 1461 { 1462 1462 pjsua_call *call = &pjsua_var.calls[call_id]; 1463 1463 unsigned i; 1464 1464 1465 for (i = 0; i < call->med_prov_cnt; ++i) {1465 for (i = idx; i < call->med_prov_cnt; ++i) { 1466 1466 pjsua_call_media *call_med = &call->media_prov[i]; 1467 1467 unsigned j; … … 1488 1488 } 1489 1489 } 1490 } 1491 1492 void pjsua_media_prov_clean_up(pjsua_call_id call_id) 1493 { 1494 media_prov_clean_up(call_id, 0); 1490 1495 } 1491 1496 … … 1903 1908 if (rem_sdp && mi >= rem_sdp->media_count) { 1904 1909 /* Remote might have removed some media lines. */ 1910 media_prov_clean_up(call->index, rem_sdp->media_count); 1911 call->med_prov_cnt = rem_sdp->media_count; 1905 1912 break; 1906 1913 }
Note: See TracChangeset
for help on using the changeset viewer.