Changeset 5510
- Timestamp:
- Dec 23, 2016 5:40:59 AM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/trunk/pjsip/src/pjsua-lib/pjsua_media.c
r5490 r5510 2040 2040 } 2041 2041 #endif 2042 } 2043 2044 /* In case of media reinit, 'med_prov_cnt' may be decreased 2045 * because the new call->opt says so. As media count should 2046 * never decrease, we should verify 'med_prov_cnt' to be 2047 * at least equal to 'med_cnt' (see also #1987). 2048 */ 2049 if (reinit && (call->opt.flag & PJSUA_CALL_REINIT_MEDIA) && 2050 call->med_prov_cnt < call->med_cnt) 2051 { 2052 call->med_prov_cnt = call->med_cnt; 2042 2053 } 2043 2054 }
Note: See TracChangeset
for help on using the changeset viewer.