#1952 closed defect (fixed)
Fail to start media due to mismatch address type in SDP connection line
Reported by: | nanang | Owned by: | bennylp |
---|---|---|---|
Priority: | normal | Milestone: | release-2.6 |
Component: | pjsua-lib | Version: | trunk |
Keywords: | Cc: | ||
Backport to 1.x milestone: | Backported: | no |
Description
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.
Change History (2)
comment:1 Changed 8 years ago by nanang
- Resolution set to fixed
- Status changed from new to closed
comment:2 Changed 8 years ago by ming
In 5436:
The video issue was found during Sipit32 test
In 5419: