Changeset 5930 for pjproject/trunk/pjsip/src/pjsua-lib/pjsua_call.c
- Timestamp:
- Jan 21, 2019 3:56:53 AM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/trunk/pjsip/src/pjsua-lib/pjsua_call.c
r5928 r5930 1162 1162 if (status != PJ_SUCCESS) 1163 1163 return status; 1164 1165 /* Add connection line, if none */ 1166 if (m->conn == NULL && sdp->conn == NULL) { 1167 m->conn = PJ_POOL_ZALLOC_T(pool, pjmedia_sdp_conn); 1168 m->conn->net_type = pj_str("IN"); 1169 if (med_use_ipv4) { 1170 m->conn->addr_type = pj_str("IP4"); 1171 m->conn->addr = pj_str("127.0.0.1"); 1172 } else { 1173 m->conn->addr_type = pj_str("IP6"); 1174 m->conn->addr = pj_str("::1"); 1175 } 1176 } 1177 1164 1178 sdp->media[sdp->media_count++] = m; 1165 1179 }
Note: See TracChangeset
for help on using the changeset viewer.