Fix SDP Connection field generation bug (#136)
The signature of sdpFactory#createConnection is (String netType, String addrType, String addr), so IceSdpUtils always generate wrong Connection in SDP
This commit is contained in:
parent
0be8f1aae7
commit
f9a357ec17
@ -177,7 +177,7 @@ public class IceSdpUtils
|
|||||||
: Connection.IP4;
|
: Connection.IP4;
|
||||||
|
|
||||||
mediaDescription.setConnection(sdpFactory.createConnection(
|
mediaDescription.setConnection(sdpFactory.createConnection(
|
||||||
"IN", defaultAddress.getHostAddress(), addressFamily));
|
"IN", addressFamily, defaultAddress.getHostAddress()));
|
||||||
|
|
||||||
//now check if the RTCP port for the default candidate is different
|
//now check if the RTCP port for the default candidate is different
|
||||||
//than RTP.port +1, in which case we need to mention it.
|
//than RTP.port +1, in which case we need to mention it.
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user