|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--javax.media.rtp.rtcp.SourceDescription
Class to encapsulate a source description item used in RTCP SDES reports.
Field Summary | |
static int |
SOURCE_DESC_CNAME
|
static int |
SOURCE_DESC_EMAIL
|
static int |
SOURCE_DESC_LOC
|
static int |
SOURCE_DESC_NAME
|
static int |
SOURCE_DESC_NOTE
|
static int |
SOURCE_DESC_PHONE
|
static int |
SOURCE_DESC_PRIV
|
static int |
SOURCE_DESC_TOOL
|
Constructor Summary | |
SourceDescription(int type,
java.lang.String description,
int frequency,
boolean encrypted)
Constructor. |
Method Summary | |
static java.lang.String |
generateCNAME()
This function can be used to generate a CNAME using the scheme described in RFC1889. |
java.lang.String |
getDescription()
Get the actual source description string. |
boolean |
getEncrypted()
Should this source description be encrypted?. |
int |
getFrequency()
Get the frequency at which RTCP sends this source description. |
int |
getType()
Get the type of source description this is. |
void |
setDescription(java.lang.String desc)
|
Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
Field Detail |
public static final int SOURCE_DESC_CNAME
public static final int SOURCE_DESC_NAME
public static final int SOURCE_DESC_EMAIL
public static final int SOURCE_DESC_PHONE
public static final int SOURCE_DESC_LOC
public static final int SOURCE_DESC_TOOL
public static final int SOURCE_DESC_NOTE
public static final int SOURCE_DESC_PRIV
Constructor Detail |
public SourceDescription(int type, java.lang.String description, int frequency, boolean encrypted)
the type of source description this is description the actual source description string frequency the frequency at which RTCP sends this source description encrypted set to true if this SDES item is to be encrypted. Please see individual variable description for current implementation status
Method Detail |
public int getType()
public java.lang.String getDescription()
public void setDescription(java.lang.String desc)
public int getFrequency()
Currently, this frequency parameter will be ignored by the implementation and SDES items are sent according to the following algorithm... The CNAME is sent every RTCP reporting interval. All other SDES items are sent once every 3 RTCP report intervals.
public boolean getEncrypted()
public static java.lang.String generateCNAME()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |