Small Consistence Fix

git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@7911 b35dd754-fafc-0310-a699-88a17e54d16e
This commit is contained in:
Thiago Camargo 2007-04-06 16:59:43 +00:00 committed by thiago
parent b695257f76
commit ca19a1ee57
1 changed files with 1 additions and 1 deletions

View File

@ -76,7 +76,6 @@ public class AudioReceiver implements ReceiveStreamListener, SessionListener,
// Find out the formats.
RTPControl ctl = (RTPControl) ds.getControl("javax.jmf.rtp.RTPControl");
jingleMediaSession.mediaReceived(participant!=null?participant.getCNAME():"");
if (ctl != null) {
System.err.println(" - Recevied new RTP stream: " + ctl.getFormat());
}
@ -96,6 +95,7 @@ public class AudioReceiver implements ReceiveStreamListener, SessionListener,
p.addControllerListener(this);
p.realize();
jingleMediaSession.mediaReceived(participant != null ? participant.getCNAME() : "");
// Notify intialize() that a new stream had arrived.
synchronized (dataSync) {