PacketSizeControl.javaAPI DocJMF 2.1.1e1071Mon May 12 12:20:36 BST


public interface PacketSizeControl implements
This interface is a Control for specifying the parameters for packet size. This control is useful for specifying the MTU of RTP channel.
JMF 2.0

Fields Summary
Constructors Summary
Methods Summary
public intgetPacketSize()
Retrieve the maximum packet size used by this encoder.

Maximum packet size in bytes used by this encoder.

public intsetPacketSize(int numBytes)
Sets the desired maximum data size on the data that is output by this encoder. This parameter is to be used as a means to convey the preferred size of individual data units (packets) that are output by this encoder. Returns the actual packet size that was set.

numBytes The number of bytes the maximum packet size is set to
the actual packet size in bytes set by the encoder