mirror of
https://codeberg.org/Mercury-IM/Smack
synced 2024-11-22 22:32:06 +01:00
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:
parent
b695257f76
commit
ca19a1ee57
1 changed files with 1 additions and 1 deletions
|
@ -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) {
|
||||
|
|
Loading…
Reference in a new issue