public class ParticipantDatabase
extends java.lang.Object
| Modifier | Constructor and Description |
|---|---|
protected |
ParticipantDatabase(RTPSession parent)
Simple constructor
|
| Modifier and Type | Method and Description |
|---|---|
protected int |
addParticipant(int cameFrom,
Participant p) |
protected void |
debugPrint() |
protected Participant |
getParticipant(long ssrc)
Find a participant based on the ssrc
|
protected java.util.Enumeration<Participant> |
getParticipants()
Enumeration of all the participants with known ssrcs.
|
protected java.util.Iterator<Participant> |
getUnicastReceivers()
Iterator for all the unicast receivers.
|
protected void |
removeParticipant(Participant p)
Remove a participant from all tables
|
protected ParticipantDatabase(RTPSession parent)
parent - parent RTPSessionprotected int addParticipant(int cameFrom,
Participant p)
cameFrom - 0: Application, 1: RTP packet, 2: RTCPp - the participantprotected void removeParticipant(Participant p)
p - the participant to be removedprotected Participant getParticipant(long ssrc)
ssrc - of the participant to be foundprotected java.util.Iterator<Participant> getUnicastReceivers()
protected java.util.Enumeration<Participant> getParticipants()
protected void debugPrint()