javax.media.rtp.rtcp
Class SourceDescription
java.lang.Object
|
+--javax.media.rtp.rtcp.SourceDescription
- public class SourceDescription
- extends java.lang.Object
Class to encapsulate a source description item used in RTCP SDES reports.
Constructor Summary |
SourceDescription(int type,
java.lang.String description,
int frequency,
boolean encrypted)
Constructor. |
Method Summary |
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 |
SOURCE_DESC_CNAME
public static final int SOURCE_DESC_CNAME
SOURCE_DESC_NAME
public static final int SOURCE_DESC_NAME
SOURCE_DESC_EMAIL
public static final int SOURCE_DESC_EMAIL
SOURCE_DESC_PHONE
public static final int SOURCE_DESC_PHONE
SOURCE_DESC_LOC
public static final int SOURCE_DESC_LOC
SOURCE_DESC_TOOL
public static final int SOURCE_DESC_TOOL
SOURCE_DESC_NOTE
public static final int SOURCE_DESC_NOTE
SOURCE_DESC_PRIV
public static final int SOURCE_DESC_PRIV
SourceDescription
public SourceDescription(int type,
java.lang.String description,
int frequency,
boolean encrypted)
- Constructor.
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
getType
public int getType()
- Get the type of source description this is.
getDescription
public java.lang.String getDescription()
- Get the actual source description string.
setDescription
public void setDescription(java.lang.String desc)
getFrequency
public int getFrequency()
- Get the frequency at which RTCP sends this source description.
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.
getEncrypted
public boolean getEncrypted()
- Should this source description be encrypted?.
Currently, we do not support any encryption schemes
Submit a bug or feature
Copyright 1999-2000 Sun Microsystems, Inc. 901 San Antonio Road, Palo Alto, California, 94303, U.S.A. All Rights Reserved. See the Specification License for more details.
Sun, Sun Microsystems, and Java are trademarks or registered trademarks of Sun Microsystems, Inc. in the US and other countries.