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

RemotePayloadChangeEvent

public class RemotePayloadChangeEvent extends ReceiveStreamEvent
Informs the RTP listener that a remote RTP sender has changed the payload type of a data stream.

Fields Summary
private int
oldpayload
The old payload type.
private int
newpayload
The new payload type
Constructors Summary
public RemotePayloadChangeEvent(SessionManager from, ReceiveStream recvStream, int oldpayload, int newpayload)

	super(from, recvStream, null);
	this.oldpayload = oldpayload;
	this.newpayload = newpayload;
    
Methods Summary
public intgetNewPayload()
The new payload type

	return newpayload;