From 5e51e6f934588cc86c246f850a2268f4b2e6d7ed Mon Sep 17 00:00:00 2001 From: sante85 Date: Wed, 9 Aug 2017 09:15:02 +0200 Subject: [PATCH] exchange parameters as rfc --- src/main/java/org/ice4j/ice/sdp/IceSdpUtils.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/org/ice4j/ice/sdp/IceSdpUtils.java b/src/main/java/org/ice4j/ice/sdp/IceSdpUtils.java index a472b32d..7efe91e3 100644 --- a/src/main/java/org/ice4j/ice/sdp/IceSdpUtils.java +++ b/src/main/java/org/ice4j/ice/sdp/IceSdpUtils.java @@ -177,7 +177,7 @@ public static void initMediaDescription(MediaDescription mediaDescription, : Connection.IP4; mediaDescription.setConnection(sdpFactory.createConnection( - "IN", defaultAddress.getHostAddress(), addressFamily)); + "IN", addressFamily, defaultAddress.getHostAddress())); //now check if the RTCP port for the default candidate is different //than RTP.port +1, in which case we need to mention it.