Ticket #1952 (closed defect: fixed)
Fail to start media due to mismatch address type in SDP connection line
|Reported by:||nanang||Owned by:||bennylp|
|Backport to 1.x milestone:||Backported:||no|
When ICE is used, there is possibility that one side gathers IPv4+IPv6 candidates with the default address (to be put into SDP connection line) using IPv4, while the other side gathers IPv6 only, so the address types (or IP address families) in their SDP connection lines will mismatch and it causes media fail to start:
pjmedia_stream_info_from_sdp() failed for call_id 0 media 0: Unsupported address family (PJ_EAFNOTSUP)
When ICE is used by both sides, ICE transport will generate checklist which will perform address type matching, so we can safely skip address type matching in pjmedia_stream_info_from_sdp().
Thanks Nadia Lapkovskaya for the report.