Changeset 5419
- Timestamp:
- Aug 15, 2016 9:59:09 AM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/trunk/pjmedia/src/pjmedia/stream_info.c
r5239 r5419 477 477 } 478 478 479 /* Local and remote address family must match */ 480 if (local_af != rem_af) 481 return PJ_EAFNOTSUP; 479 /* Local and remote address family must match, except when ICE is used 480 * by both sides (see also ticket #1952). 481 */ 482 if (local_af != rem_af) { 483 const pj_str_t STR_ICE_CAND = { "candidate", 9 }; 484 if (pjmedia_sdp_media_find_attr(rem_m, &STR_ICE_CAND, NULL)==NULL || 485 pjmedia_sdp_media_find_attr(local_m, &STR_ICE_CAND, NULL)==NULL) 486 { 487 return PJ_EAFNOTSUP; 488 } 489 } 482 490 483 491 /* Media direction: */
Note: See TracChangeset
for help on using the changeset viewer.