mirror of
https://github.com/vanitasvitae/Smack.git
synced 2024-11-22 20:12:07 +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.
|
// Find out the formats.
|
||||||
RTPControl ctl = (RTPControl) ds.getControl("javax.jmf.rtp.RTPControl");
|
RTPControl ctl = (RTPControl) ds.getControl("javax.jmf.rtp.RTPControl");
|
||||||
jingleMediaSession.mediaReceived(participant!=null?participant.getCNAME():"");
|
|
||||||
if (ctl != null) {
|
if (ctl != null) {
|
||||||
System.err.println(" - Recevied new RTP stream: " + ctl.getFormat());
|
System.err.println(" - Recevied new RTP stream: " + ctl.getFormat());
|
||||||
}
|
}
|
||||||
|
@ -96,6 +95,7 @@ public class AudioReceiver implements ReceiveStreamListener, SessionListener,
|
||||||
|
|
||||||
p.addControllerListener(this);
|
p.addControllerListener(this);
|
||||||
p.realize();
|
p.realize();
|
||||||
|
jingleMediaSession.mediaReceived(participant != null ? participant.getCNAME() : "");
|
||||||
|
|
||||||
// Notify intialize() that a new stream had arrived.
|
// Notify intialize() that a new stream had arrived.
|
||||||
synchronized (dataSync) {
|
synchronized (dataSync) {
|
||||||
|
|
Loading…
Reference in a new issue