Changeset 5960 for pjproject/trunk/pjsip/src/pjsua-lib/pjsua_vid.c
- Timestamp:
- Mar 27, 2019 1:53:57 AM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/trunk/pjsip/src/pjsua-lib/pjsua_vid.c
r5945 r5960 1158 1158 call_med->strm.v.cap_win_id = wid; 1159 1159 pj_log_pop_indent(); 1160 1161 } else if (si->dir & PJMEDIA_DIR_ENCODING && call->local_hold) { 1162 /* This is similar as above, but we are on local hold. So 1163 * we just get the stream encoding port and add it to the 1164 * video conference, in order for the stream to be able to 1165 * keep sending keep-alive. 1166 */ 1167 PJ_LOG(4,(THIS_FILE, "Setting up TX..")); 1168 1169 status = pjmedia_vid_stream_get_port(call_med->strm.v.stream, 1170 PJMEDIA_DIR_ENCODING, 1171 &media_port); 1172 if (status != PJ_SUCCESS) 1173 goto on_error; 1174 1175 status = pjsua_vid_conf_add_port(tmp_pool, media_port, NULL, 1176 &call_med->strm.v.strm_enc_slot); 1177 if (status != PJ_SUCCESS) 1178 goto on_error; 1160 1179 } 1161 1180
Note: See TracChangeset
for help on using the changeset viewer.