public interface RTPAppIntf
Modifier and Type | Method and Description |
---|---|
int |
frameSize(int payloadType)
The callback method through which the application can specify
the number of packets that make up a frame for a given payload type.
|
void |
receiveData(DataFrame frame,
Participant participant)
The callback method through which the application will receive
data from jlibrtp.
|
void |
userEvent(int type,
Participant[] participant)
The callback method through which the application will receive
notifications about user updates, additions and byes.
|
void receiveData(DataFrame frame, Participant participant)
frame
- the frame containing the dataparticipant
- the participant from which the data camevoid userEvent(int type, Participant[] participant)
type
- the type of eventparticipant
- the participants in questionint frameSize(int payloadType)
payloadType
- the payload type specified in the RTP packet