1
0
Fork 0
mirror of https://codeberg.org/Mercury-IM/Smack synced 2024-11-23 06:42:05 +01:00

Remove Echo

git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@7051 b35dd754-fafc-0310-a699-88a17e54d16e
This commit is contained in:
Thiago Camargo 2007-02-08 22:38:46 +00:00 committed by thiago
parent 8f0b41d8b1
commit 754d47fedf

View file

@ -865,7 +865,6 @@ public abstract class JingleSession extends JingleNegotiator {
public boolean accept(Packet packet) { public boolean accept(Packet packet) {
final int cc = ccc++; final int cc = ccc++;
System.out.println("filter:" + cc);
if (packet instanceof IQ) { if (packet instanceof IQ) {
IQ iq = (IQ) packet; IQ iq = (IQ) packet;
@ -1020,8 +1019,6 @@ public abstract class JingleSession extends JingleNegotiator {
sli.sessionEstablished(pt, rc, lc, this); sli.sessionEstablished(pt, rc, lc, this);
} }
} }
if (lc.getCandidateEcho() != null)
lc.removeCandidateEcho();
if (jingleMediaManager != null) { if (jingleMediaManager != null) {
jingleMediaSession = jingleMediaManager.createMediaSession(pt, rc, lc); jingleMediaSession = jingleMediaManager.createMediaSession(pt, rc, lc);
if (jingleMediaSession != null) { if (jingleMediaSession != null) {