javax.media.rtp.event
Class RemoteCollisionEvent

java.lang.Object
  |
  +--java.util.EventObject
        |
        +--javax.media.MediaEvent
              |
              +--javax.media.rtp.event.RTPEvent
                    |
                    +--javax.media.rtp.event.RemoteEvent
                          |
                          +--javax.media.rtp.event.RemoteCollisionEvent

public class RemoteCollisionEvent
extends RemoteEvent

Informs the RTP listener that two remote participants were using the same SSRC simultaneously. Since participants are obligated to detect collisions, the remote parties should eventually start sending data or control packets with new SSRCs. Thus, this callback will usually precede two newReceiveStream() callbacks; these new ReceiveStreams will (eventually) be associated with the existing Participants. The old ReceiveStreams associated with those participants will be discarded and no longer returned by their respective getStreams() methods.

See Also:
Serialized Form

Fields inherited from class java.util.EventObject
source
 
Constructor Summary
RemoteCollisionEvent(SessionManager from, long ssrc)
           
 
Method Summary
 long getSSRC()
          collidingSSRC The remote SSRC
 
Methods inherited from class javax.media.rtp.event.RTPEvent
getSessionManager, getSource, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

RemoteCollisionEvent

public RemoteCollisionEvent(SessionManager from,
                            long ssrc)
Method Detail

getSSRC

public long getSSRC()
collidingSSRC The remote SSRC


Submit a bug or feature
Copyright 1994-2004 Sun Microsystems, Inc. 901 San Antonio Road, Palo Alto, California, 94303, U.S.A. All Rights Reserved. See the Specification License for more details.
Sun, Sun Microsystems, and Java are trademarks or registered trademarks of Sun Microsystems, Inc. in the US and other countries.