|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object net.sf.fmj.media.rtp.RTPParticipant
public class RTPParticipant
Represents an RTP participant
Field Summary | |
---|---|
protected java.util.HashMap |
sourceDescriptions
|
Constructor Summary | |
---|---|
RTPParticipant(java.lang.String cName)
Creates a new RTPParticipant |
Method Summary | |
---|---|
void |
addReport(Report report)
Adds an RTCP Report for this participant |
protected void |
addSourceDescription(SourceDescription sdes)
Adds a source description item to the participant |
protected void |
addStream(RTPStream stream)
Adds a stream to the participant |
java.lang.String |
getCNAME()
|
java.util.Vector |
getReports()
|
int |
getSdesSize()
Returns the number of bytes of sdes that this participant requires |
java.util.Vector |
getSourceDescription()
|
java.util.Vector |
getStreams()
|
boolean |
isActive()
Returns true if the participant is active |
protected void |
removeStream(RTPStream stream)
|
protected void |
setActive(boolean active)
Sets the participant active or inactive |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected java.util.HashMap sourceDescriptions
Constructor Detail |
---|
public RTPParticipant(java.lang.String cName)
Method Detail |
---|
public java.util.Vector getStreams()
getStreams
in interface Participant
public java.util.Vector getReports()
getReports
in interface Participant
public java.lang.String getCNAME()
getCNAME
in interface Participant
public java.util.Vector getSourceDescription()
getSourceDescription
in interface Participant
public boolean isActive()
protected void setActive(boolean active)
protected void addStream(RTPStream stream)
protected void removeStream(RTPStream stream)
protected void addSourceDescription(SourceDescription sdes)
sdes
- The SDES item to addpublic int getSdesSize()
public void addReport(Report report)
report
- The report to add
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |