Fix deprecation warning.

This commit is contained in:
boris 2015-01-22 16:11:59 +00:00
parent 0c30dc7ae6
commit d9e14a6ba7

View File

@ -169,7 +169,7 @@ public class IcePseudoTcp
try try
{ {
localJob = new LocalPseudoTcpJob( localJob = new LocalPseudoTcpJob(
localCandidate.getDatagramSocket()); selectedPair.getDatagramSocket());
} }
catch (UnknownHostException ex) catch (UnknownHostException ex)
{ {
@ -253,7 +253,7 @@ public class IcePseudoTcp
try try
{ {
remoteJob = new RemotePseudoTcpJob( remoteJob = new RemotePseudoTcpJob(
localCandidate.getDatagramSocket(), usedPair.getDatagramSocket(),
remoteCandidate.getTransportAddress()); remoteCandidate.getTransportAddress());
} }
catch (UnknownHostException ex) catch (UnknownHostException ex)