aboutsummaryrefslogtreecommitdiffstats
path: root/ui/rtp_stream.h
diff options
context:
space:
mode:
authorJiri Novak <j.novak@netsystem.cz>2018-06-25 00:19:29 +0200
committerPascal Quantin <pascal.quantin@gmail.com>2018-06-28 00:46:39 +0000
commit3937f65e67e6dda38297a0e3648d3e22a7e7963b (patch)
tree265c203817a3d5582f2f8a67e5495c0c770d2ebe /ui/rtp_stream.h
parent234ff77e41b26f855d3d68c52514d2e6e8e415db (diff)
RTP: If multiple codecs are used in RTP stream flow, all are shown in codecs column
Change-Id: Ica8b3bc2b6b59790805764ec88c6f4e3f8689a85 Reviewed-on: https://code.wireshark.org/review/28435 Petri-Dish: Pascal Quantin <pascal.quantin@gmail.com> Tested-by: Petri Dish Buildbot Reviewed-by: Pascal Quantin <pascal.quantin@gmail.com>
Diffstat (limited to 'ui/rtp_stream.h')
-rw-r--r--ui/rtp_stream.h10
1 files changed, 6 insertions, 4 deletions
diff --git a/ui/rtp_stream.h b/ui/rtp_stream.h
index 7298c94d31..11c45d9fdf 100644
--- a/ui/rtp_stream.h
+++ b/ui/rtp_stream.h
@@ -38,10 +38,12 @@ extern "C" {
typedef struct _rtpstream_info {
rtpstream_id_t id;
- guint8 payload_type; /**< Numeric payload type */
- gchar *payload_type_name; /**< Payload type name */
- gboolean is_srtp;
+ guint8 first_payload_type; /**< Numeric payload type */
+ const gchar *first_payload_type_name; /**< Payload type name */
+ const gchar *payload_type_names[256]; /**< Seen payload type names. Array index is payload type (byte), filled only during TAP_ANALYSE */
+ gchar *all_payload_type_names; /**< All seen payload names for a stream in one string */
+ gboolean is_srtp;
guint32 packet_count;
gboolean end_stream; /**< Used to track streams across payload types */
int rtp_event;
@@ -59,7 +61,7 @@ typedef struct _rtpstream_info {
tap_rtp_stat_t rtp_stats; /**< here goes the RTP statistics info */
gboolean problem; /**< if the streams had wrong sequence numbers or wrong timestamps */
- gchar *ed137_info;
+ const gchar *ed137_info; /** pointer to static text, no freeing is required */
} rtpstream_info_t;
/** tapping modes */