diff --git a/src/org/ice4j/ice/harvest/MultiplexingTcpHostHarvester.java b/src/org/ice4j/ice/harvest/MultiplexingTcpHostHarvester.java index 7ed72af..1a00f3a 100644 --- a/src/org/ice4j/ice/harvest/MultiplexingTcpHostHarvester.java +++ b/src/org/ice4j/ice/harvest/MultiplexingTcpHostHarvester.java @@ -572,8 +572,9 @@ public class MultiplexingTcpHostHarvester * because we use the local "ufrag" to de-multiplex the accept()-ed * sockets between the known components. */ - throw new IllegalStateException( + logger.info( "More than one Component for an Agent, cannot harvest."); + return new LinkedList(); } List candidates = createLocalCandidates(component); diff --git a/src/org/ice4j/ice/harvest/SinglePortUdpHarvester.java b/src/org/ice4j/ice/harvest/SinglePortUdpHarvester.java index 0119f7c..87b4728 100644 --- a/src/org/ice4j/ice/harvest/SinglePortUdpHarvester.java +++ b/src/org/ice4j/ice/harvest/SinglePortUdpHarvester.java @@ -374,8 +374,9 @@ public class SinglePortUdpHarvester * because we use the local "ufrag" from an incoming STUN packet * to setup de-multiplexing based on remote transport address. */ - throw new IllegalStateException( + logger.info( "More than one Component for an Agent, cannot harvest."); + return new LinkedList(); } MyCandidate candidate = new MyCandidate(component, ufrag);