|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--javax.media.rtp.RTPHeader
This class describes the RTP header of the RTP packet coming in from the network. This class defines fields as defined in the RTP Header of the RTP Internet draft
Field Summary | |
static int |
VALUE_NOT_SET
|
Constructor Summary | |
RTPHeader()
|
|
RTPHeader(boolean extensionPresent,
int extensionType,
byte[] extension)
Constructor for RTPHeader |
|
RTPHeader(int marker)
|
Method Summary | |
byte[] |
getExtension()
|
int |
getExtensionType()
If the extensionPresent bit was set, this is reserved for the type of extension present or a identification number for the extension. |
boolean |
isExtensionPresent()
Returns true if there is an extension header present after the main 12 byte RTP header. |
void |
setExtension(byte[] e)
|
void |
setExtensionPresent(boolean p)
|
void |
setExtensionType(int t)
If the extensionPresent bit was set, this is reserved for the type of extension present or a identification number for the extension. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final int VALUE_NOT_SET
Constructor Detail |
public RTPHeader()
public RTPHeader(int marker)
public RTPHeader(boolean extensionPresent, int extensionType, byte[] extension)
Method Detail |
public boolean isExtensionPresent()
public int getExtensionType()
public byte[] getExtension()
public void setExtensionPresent(boolean p)
public void setExtensionType(int t)
public void setExtension(byte[] e)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |