|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface RTPAppIntf
This is the callback interface for RTP packets. It is mandatory, but you can inore the data if you like.
Method Summary | |
---|---|
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. |
Method Detail |
---|
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
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |