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

LocalPayloadChangeEvent

public class LocalPayloadChangeEvent extends SendStreamEvent
Informs the RTP listener that a local 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 LocalPayloadChangeEvent(SessionManager from, SendStream sendStream, int oldpayload, int newpayload)

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

	return newpayload;