diff options
author | Anders Broman <anders.broman@ericsson.com> | 2010-04-14 20:48:37 +0000 |
---|---|---|
committer | Anders Broman <anders.broman@ericsson.com> | 2010-04-14 20:48:37 +0000 |
commit | 83ce037aa9e329b4ee677292dd0be07d7526fa39 (patch) | |
tree | b676e612489495f7831efd0de87fcb0100828c0e /epan/dissectors/packet-rtp.h | |
parent | b09f79f4141b403353c4afb2680739b7670d3045 (diff) |
Use the sample rate from SDP info in RTP stream analysis.
svn path=/trunk/; revision=32466
Diffstat (limited to 'epan/dissectors/packet-rtp.h')
-rw-r--r-- | epan/dissectors/packet-rtp.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/epan/dissectors/packet-rtp.h b/epan/dissectors/packet-rtp.h index be06dacc90..9a0dd73aab 100644 --- a/epan/dissectors/packet-rtp.h +++ b/epan/dissectors/packet-rtp.h @@ -45,6 +45,7 @@ struct _rtp_info { guint32 info_setup_frame_num; /* the frame num of the packet that set this RTP connection */ const guint8* info_data; /* pointer to raw rtp data */ gchar *info_payload_type_str; + gint info_payload_rate; /* * info_data: pointer to raw rtp data = header + payload incl. padding. * That should be safe because the "epan_dissect_t" constructed for the packet @@ -114,6 +115,11 @@ struct _rtp_conversation_info struct srtp_info *srtp_info; /* SRTP context */ }; +typedef struct { + char *encoding_name; + int sample_rate; +} encoding_name_and_rate_t; + /* Add an RTP conversation with the given details */ void rtp_add_address(packet_info *pinfo, address *addr, int port, |