Package | Description |
---|---|
org.jlibrtp |
The jlibrtp package contains the core classes of jlibrtp.
|
org.jlibrtp.protocols.rtp |
Modifier and Type | Field and Description |
---|---|
protected Participant[] |
RtcpPktSDES.participants
The participants to create SDES packets for
|
protected Participant[] |
RtcpPktRR.reportees
Array of participants to send Receiver Reports to
|
Modifier and Type | Method and Description |
---|---|
protected Participant |
ParticipantDatabase.getParticipant(long ssrc)
Find a participant based on the ssrc
|
Modifier and Type | Method and Description |
---|---|
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.
|
Modifier and Type | Method and Description |
---|---|
protected int |
ParticipantDatabase.addParticipant(int cameFrom,
Participant p) |
int |
RTPSession.addParticipant(Participant p)
Add a participant object to the participant database.
|
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.
|
Constructor and Description |
---|
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.
|
Modifier and Type | Method and Description |
---|---|
void |
RTPURLConnection.APPPktReceived(Participant part,
int subtype,
byte[] name,
byte[] data) |
void |
RTPURLConnection.BYEPktReceived(Participant[] relevantParticipants,
java.lang.String reason) |
void |
RTPURLConnection.receiveData(DataFrame frame,
Participant p)
TODO PipeOutputStream.write blocks until data is written! work around it
|
void |
RTPURLConnection.SDESPktReceived(Participant[] relevantParticipants) |
void |
RTPURLConnection.userEvent(int type,
Participant[] participant) |