mirror of
https://github.com/vel21ripn/nDPI.git
synced 2026-05-04 01:40:19 +00:00
STUN: tell RTP from RTCP while in monitoring state (#2027)
This commit is contained in:
parent
2c7fb91794
commit
86e89b4e23
5 changed files with 73 additions and 24 deletions
|
|
@ -31,12 +31,6 @@
|
|||
#define RTP_MIN_HEADER 12
|
||||
#define RTCP_MIN_HEADER 8
|
||||
|
||||
enum {
|
||||
NO_RTP_RTCP = 0,
|
||||
IS_RTP = 1,
|
||||
IS_RTCP = 2,
|
||||
};
|
||||
|
||||
/* https://www.iana.org/assignments/rtp-parameters/rtp-parameters.xhtml */
|
||||
int is_valid_rtp_payload_type(uint8_t type)
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue