FileDocCategorySizeDatePackage
TimeoutEvent.javaAPI DocJMF 2.1.1e1995Mon May 12 12:20:40 BST 2003javax.media.rtp.event

TimeoutEvent

public class TimeoutEvent extends ReceiveStreamEvent
Informs the RTP listener that a certain SSRC has not sent packets in a long while and can be considered timed-out. This call has the exact same semantics as the 'bye()' callback, in that the SSRC may refer to a participant as a whole or just one of several of a participant's ReceiveStreams. In other words, RTPSM treats an SSRC timing out the same as it treats a BYE from that SSRC. See the documentation for bye() (below) for more information.

For obvious reasons, there is no 'reason' string to hand back to the listener.

The timeout event is sent in case of RTP/RTCP packets not being received from active senders as well as passive receivers. In case of passive receivers, the ReceiveStream parameter is null. Currently, the timeout is set to 30 mins

Fields Summary
private boolean
participantBye
True if the participant is leaving the session; after this call returns the given participant object is invalid. False if the timed-out SSRC is not the only SSRC owned by the participant so the participant is remaining in the session.

Constructors Summary
public TimeoutEvent(SessionManager from, Participant participant, ReceiveStream recvStream, boolean participantBye)

	super(from, recvStream, participant);
	this.participantBye = participantBye;
    
Methods Summary
public booleanparticipantLeaving()
True if the participant is leaving the session; after this call returns the given participant object is invalid. False if the timed-out SSRC is not the only SSRC owned by the participant so the participant is remaining in the session.

	return participantBye;