| 1 | package cz.vutbr.feec.packets.rtcp; |
| 2 | |
| 3 | /** |
| 4 | * This class provides constants associated with RTCP Packets -similar to those |
| 5 | * defined in rtp.h |
| 6 | */ |
| 7 | |
| 8 | public class RTCPConstants extends Object { |
| 9 | /* |
| 10 | * RTCP TYPES |
| 11 | */ |
| 12 | /** RTCP Sender Report Packet (SR) = 200. */ |
| 13 | public static final int RTCP_SR = (int) 200; |
| 14 | |
| 15 | /** RTCP Receiver Report Packet (RR) = 201. */ |
| 16 | public static final int RTCP_RR = (int) 201; |
| 17 | |
| 18 | /** RTCP Source Description Packet (SDES) = 202. */ |
| 19 | public static final int RTCP_SDES = (int) 202; |
| 20 | |
| 21 | /** RTCP BYE Packet = 203. */ |
| 22 | public static final int RTCP_BYE = (int) 203; |
| 23 | |
| 24 | /** RTCP APP Packet = 204. */ |
| 25 | public static final int RTCP_APP = (int) 204; |
| 26 | |
| 27 | /** RTCP APP Packet = 204. */ |
| 28 | public static final int RTCP_RSI = (int) 208; |
| 29 | |
| 30 | /** The Constant RTP_DATA. */ |
| 31 | public static final int RTP_DATA = (int) 0; |
| 32 | |
| 33 | /* |
| 34 | * SDES TYPES |
| 35 | */ |
| 36 | |
| 37 | /** End SDES Item =0. */ |
| 38 | public static final byte RTCP_SDES_END = (byte) 0; |
| 39 | |
| 40 | /** Canonical end - point identifier SDES Item =1. */ |
| 41 | public static final byte RTCP_SDES_CNAME = (byte) 1; |
| 42 | |
| 43 | /** User Name SDES Item = 2. */ |
| 44 | public static final byte RTCP_SDES_NAME = (byte) 2; |
| 45 | |
| 46 | /** Electronic mail address SDES Item =3. */ |
| 47 | public static final byte RTCP_SDES_EMAIL = (byte) 3; |
| 48 | |
| 49 | /** Phone number SDES Item = 4. */ |
| 50 | public static final byte RTCP_SDES_PHONE = (byte) 4; |
| 51 | |
| 52 | /** Geographic user location SDES Item = 5. */ |
| 53 | public static final byte RTCP_SDES_LOC = (byte) 5; |
| 54 | |
| 55 | /** Application or tool name SDES Item = 6. */ |
| 56 | public static final byte RTCP_SDES_TOOL = (byte) 6; |
| 57 | |
| 58 | /** Notice or status SDES Item = 7. */ |
| 59 | public static final byte RTCP_SDES_NOTE = (byte) 7; |
| 60 | |
| 61 | /** Private extensions SDES Item = 8. */ |
| 62 | public static final byte RTCP_SDES_PRIV = (byte) 8; |
| 63 | } |