Changeset 5571 for pjproject/trunk/pjsip/src/pjsua-lib/pjsua_media.c
- Timestamp:
- Mar 24, 2017 3:00:47 AM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/trunk/pjsip/src/pjsua-lib/pjsua_media.c
r5562 r5571 2550 2550 static void stop_media_stream(pjsua_call *call, unsigned med_idx) 2551 2551 { 2552 pjsua_call_media *call_med = &call->media[med_idx]; 2553 2554 /* Check if stream does not exist */ 2555 if (med_idx >= call->med_cnt) 2556 return; 2552 pjsua_call_media *call_med; 2553 2554 if (pjsua_call_media_is_changing(call)) { 2555 call_med = &call->media_prov[med_idx]; 2556 if (med_idx >= call->med_prov_cnt) 2557 return; 2558 } else { 2559 call_med = &call->media[med_idx]; 2560 if (med_idx >= call->med_cnt) 2561 return; 2562 } 2557 2563 2558 2564 pj_log_push_indent();
Note: See TracChangeset
for help on using the changeset viewer.