Uses of Class
jlibrtp.Participant

Packages that use Participant
jlibrtp The jlibrtp package contains the core classes of jlibrtp. 
jlibrtpDemos The jlibrtpDemos package contains simple demonstration programs for testing jlibrtp and to provide some examples of how the library can be used. 
validateCcrtp ValidateCcrtp is a small package to test compatibility with ccRTP, a popular C++ implementation of the RTP protocol. 
 

Uses of Participant in jlibrtp
 

Fields in jlibrtp declared as Participant
(package private)  Participant PktBuffer.p
          The parent participant
protected  Participant[] RtcpPktSDES.participants
          The participants to create SDES packets for
protected  Participant[] RtcpPktRR.reportees
          Array of participants to send Receiver Reports to
 

Fields in jlibrtp with type parameters of type Participant
(package private)  java.util.LinkedList<Participant> ParticipantDatabase.receivers
          A linked list to hold participants explicitly added by the application In unicast mode this is the list used for RTP and RTCP transmission, in multicast it should not be in use.
(package private)  java.util.concurrent.ConcurrentHashMap<java.lang.Long,Participant> ParticipantDatabase.ssrcTable
          The hashtable holds participants added through received RTP and RTCP packets, as well as participants that have been linked to an SSRC by ip address (in unicast mode).
 

Methods in jlibrtp that return Participant
private  Participant RTCPReceiverThread.findParticipant(long ssrc, java.net.DatagramPacket packet)
          Find out whether a participant with this SSRC is known.
protected  Participant ParticipantDatabase.getParticipant(long ssrc)
          Find a participant based on the ssrc
 

Methods in jlibrtp that return types with arguments of type Participant
 java.util.Enumeration<Participant> RTPSession.getParticipants()
           
protected  java.util.Enumeration<Participant> ParticipantDatabase.getParticipants()
          Enumeration of all the participants with known ssrcs.
 java.util.Iterator<Participant> RTPSession.getUnicastReceivers()
           
protected  java.util.Iterator<Participant> ParticipantDatabase.getUnicastReceivers()
          Iterator for all the unicast receivers.
 

Methods in jlibrtp with parameters of type Participant
protected  int ParticipantDatabase.addParticipant(int cameFrom, Participant p)
           
 int RTPSession.addParticipant(Participant p)
          Add a participant object to the participant database.
private  int ParticipantDatabase.addParticipantMulticast(int cameFrom, Participant p)
          Add a multicast participant to the database
private  int ParticipantDatabase.addParticipantUnicast(int cameFrom, Participant p)
          Add a unicast participant to the database Result will be reported back through tpSession.appIntf.userEvent
 void RTCPAppIntf.APPPktReceived(Participant part, int subtype, byte[] name, byte[] data)
          This function is called whenever an Application (APP) packet is received.
 void RTCPAppIntf.BYEPktReceived(Participant[] relevantParticipants, java.lang.String reason)
          This function is called whenever a Bye (BYE) packet is received.
protected  CompRtcpPkt RTCPSenderThread.preparePacket(Participant part, boolean regular)
          Prepare a packet.
 void RTPAppIntf.receiveData(DataFrame frame, Participant participant)
          The callback method through which the application will receive data from jlibrtp.
 void RTPSession.removeParticipant(Participant p)
          Remove a participant from the database.
protected  void ParticipantDatabase.removeParticipant(Participant p)
          Remove a participant from all tables
 void RTCPAppIntf.SDESPktReceived(Participant[] relevantParticipants)
          This function is called whenever a Source Description (SDES) packet is received.
 void RTPAppIntf.userEvent(int type, Participant[] participant)
          The callback method through which the application will receive notifications about user updates, additions and byes.
 

Constructors in jlibrtp with parameters of type Participant
DataFrame(PktBufNode aBufNode, Participant p, int noPkts)
          The usual way to construct a frame is by giving it a PktBufNode, which contains links to all the other pkts that make it up.
PktBuffer(RTPSession rtpSession, Participant p, RtpPkt aPkt)
          Creates a new PktBuffer, a linked list of PktBufNode
RtcpPktRR(Participant[] reportees, long ssrc)
          Constructor for a packet with receiver reports
RtcpPktSDES(boolean reportThisSession, RTPSession rtpSession, Participant[] additionalParticipants)
          Constructor to create a new SDES packet TODO: Currently the added participants are not actually encoded because the library lacks some support for acting as mixer or relay in other areas.
 

Uses of Participant in jlibrtpDemos
 

Methods in jlibrtpDemos with parameters of type Participant
 void XmlPacketRecorder.APPPktReceived(Participant part, int subtype, byte[] name, byte[] data)
           
 void XmlPacketRecorder.BYEPktReceived(Participant[] relevantParticipants, java.lang.String reason)
           
 void XmlPacketRecorder.receiveData(DataFrame frame, Participant part)
          RTP
 void SoundReceiverDemo.receiveData(DataFrame frame, Participant p)
           
 void SoundSenderDemo.receiveData(DataFrame dummy1, Participant dummy2)
           
 void XmlPacketPlayer.receiveData(DataFrame frame, Participant participant)
          Dummy methods for the RTPAppinterface
 void XmlPacketRecorder.SDESPktReceived(Participant[] relevantParticipants)
           
 void XmlPacketRecorder.userEvent(int type, Participant[] participant)
           
 void SoundReceiverDemo.userEvent(int type, Participant[] participant)
           
 void SoundSenderDemo.userEvent(int type, Participant[] participant)
           
 void XmlPacketPlayer.userEvent(int type, Participant[] participant)
           
 

Uses of Participant in validateCcrtp
 

Methods in validateCcrtp with parameters of type Participant
 void CCRTPReceiver.receiveData(DataFrame frame, Participant p)
           
 void CCRTPSender.receiveData(DataFrame frame, Participant p)
           
 void CCRTPReceiver.userEvent(int type, Participant[] participant)
           
 void CCRTPSender.userEvent(int type, Participant[] participant)