diff options
author | Luca Deri <deri@ntop.org> | 2025-02-20 22:59:23 +0100 |
---|---|---|
committer | Luca Deri <deri@ntop.org> | 2025-02-20 22:59:23 +0100 |
commit | 30c3613f2fae705a284284794b5367ad7c7374ae (patch) | |
tree | 6c1dde2ffe84ed942608cfa44208316c3c89d946 /example/reader_util.c | |
parent | 9ee24d5bc110307b988554d83d1a88a6ad63490e (diff) |
Improved RTP dissection with EVS and other mobile voice codecs
Diffstat (limited to 'example/reader_util.c')
-rw-r--r-- | example/reader_util.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/example/reader_util.c b/example/reader_util.c index 6656143f6..7362321aa 100644 --- a/example/reader_util.c +++ b/example/reader_util.c @@ -1216,7 +1216,6 @@ static void serialize_monitoring_metadata(struct ndpi_flow_info *flow) case NDPI_PROTOCOL_STUN: case NDPI_PROTOCOL_DTLS: case NDPI_PROTOCOL_SRTP: - ndpi_serialize_start_of_block(&flow->ndpi_flow_serializer, "stun"); if(flow->stun.mapped_address.num_aps > 0) { @@ -1638,7 +1637,7 @@ void process_ndpi_collected_info(struct ndpi_workflow * workflow, struct ndpi_fl } if(is_ndpi_proto(flow, NDPI_PROTOCOL_RTP)) - flow->rtp.payload_type = flow->ndpi_flow->protos.rtp.payload_type; + memcpy(&flow->rtp, &flow->ndpi_flow->protos.rtp, sizeof(flow->rtp)); ndpi_snprintf(flow->http.user_agent, sizeof(flow->http.user_agent), |