aboutsummaryrefslogtreecommitdiff
path: root/src/include
diff options
context:
space:
mode:
authorIvan Nardi <12729895+IvanNardi@users.noreply.github.com>2024-11-19 16:38:14 +0100
committerGitHub <noreply@github.com>2024-11-19 16:38:14 +0100
commitc5bd9d8bffb86f07a2479eed9ad9b3da6bda4d46 (patch)
tree29bd87a2c763202ee840963324b8d9a3b8fac58a /src/include
parentc228502cb4d06de42a01e4c451f6b1acd750ce71 (diff)
RTP, STUN: improve detection of multimedia flow type (#2620)
Let's see if we are able to tell audio from video calls only looking at RTP Payload Type field...
Diffstat (limited to 'src/include')
-rw-r--r--src/include/ndpi_private.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/include/ndpi_private.h b/src/include/ndpi_private.h
index a0af2bcac..cf557ae34 100644
--- a/src/include/ndpi_private.h
+++ b/src/include/ndpi_private.h
@@ -691,7 +691,7 @@ const uint8_t *get_crypto_data(struct ndpi_detection_module_struct *ndpi_struct,
int is_valid_rtp_payload_type(uint8_t type);
int is_rtp_or_rtcp(struct ndpi_detection_module_struct *ndpi_struct,
const u_int8_t *payload, u_int16_t payload_len, u_int16_t *seq);
-u_int8_t rtp_get_stream_type(u_int8_t payloadType, ndpi_multimedia_flow_type *s_type);
+u_int8_t rtp_get_stream_type(u_int8_t payloadType, ndpi_multimedia_flow_type *s_type, u_int16_t sub_proto);
/* Bittorrent */
u_int64_t make_bittorrent_host_key(struct ndpi_flow_struct *flow, int client, int offset);