ApplicationEventpublic class ApplicationEvent extends ReceiveStreamEvent Event which informs the RTP listener that an RTCP 'APP' packet has
been received. |
Fields Summary |
---|
private int | appSubtypeappSubtype The "subtype" value found in the APP packet
header. | private String | appStringThe 4-character string found in the APP packet.
May be empty but not null. | private byte[] | appDataThe application-specific data. May be a
zero-length array but not null. |
Constructors Summary |
---|
public ApplicationEvent(SessionManager from, Participant participant, ReceiveStream recvStream, int appSubtype, String appString, byte[] appData)
super(from, recvStream, participant);
this.appSubtype = appSubtype;
this.appString = appString;
this.appData = appData;
|
Methods Summary |
---|
public byte[] | getAppData()The application-specific data. May be a
zero-length array but not null.
return appData;
| public java.lang.String | getAppString()The 4-character string found in the APP packet.
May be empty but not null.
return appString;
| public int | getAppSubType()appSubtype The "subtype" value found in the APP packet
header.
return appSubtype;
|
|