use of javax.media.rtp.event.NewParticipantEvent in project Smack by igniterealtime.
the class AudioReceiver method update.
/**
* JingleSessionListener.
*/
@Override
public synchronized void update(SessionEvent evt) {
if (evt instanceof NewParticipantEvent) {
Participant p = ((NewParticipantEvent) evt).getParticipant();
LOGGER.fine(" - A new participant had just joined: " + p.getCNAME());
}
}
use of javax.media.rtp.event.NewParticipantEvent in project Spark by igniterealtime.
the class VideoReceiver method update.
/**
* JingleSessionListener.
*/
public synchronized void update(SessionEvent evt) {
if (evt instanceof NewParticipantEvent) {
Participant p = ((NewParticipantEvent) evt).getParticipant();
System.err.println(" - A new participant had just joined: " + p.getCNAME());
}
}
Aggregations