summaryrefslogtreecommitdiff
path: root/ui/qt/rtp_analysis_dialog.h
diff options
context:
space:
mode:
authorGerald Combs <gerald@wireshark.org>2015-10-08 11:31:42 -0700
committerGerald Combs <gerald@wireshark.org>2015-10-08 20:14:35 +0000
commitf274902be581b52db68c66f4864d85b7ea8fefe4 (patch)
treeec178b5a5e9ece6c00d7ea78f8005b085b4cf992 /ui/qt/rtp_analysis_dialog.h
parent03d853400c61f6784e6ccf37fe5a5ba7f7da312a (diff)
downloadwireshark-f274902be581b52db68c66f4864d85b7ea8fefe4.tar.gz
Qt: Add a play button to the RTP Stream Analysis dialog.
Rename the "Play Call" button to "Play Streams". Move the button creation code to a common routine. Use it to add a "Play Streams" button to the RTP Stream Analysis, similar to the GTK+ UI. Don't restrict RTP to IPv[46] as suggested by Michal. I don't have any RTP-over-Bluetooth captures so I can't test this directly. Change-Id: I4703cac1d5bf5b3ff0255d36da2c5164feb0547d Reviewed-on: https://code.wireshark.org/review/10888 Petri-Dish: Gerald Combs <gerald@wireshark.org> Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org> Reviewed-by: Gerald Combs <gerald@wireshark.org>
Diffstat (limited to 'ui/qt/rtp_analysis_dialog.h')
-rw-r--r--ui/qt/rtp_analysis_dialog.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/ui/qt/rtp_analysis_dialog.h b/ui/qt/rtp_analysis_dialog.h
index cd83a6cd2a..68a749ff75 100644
--- a/ui/qt/rtp_analysis_dialog.h
+++ b/ui/qt/rtp_analysis_dialog.h
@@ -73,6 +73,7 @@ private slots:
void on_actionSaveForwardCsv_triggered();
void on_actionSaveReverseCsv_triggered();
void on_actionSaveGraph_triggered();
+ void on_buttonBox_clicked(QAbstractButton *button);
void on_buttonBox_helpRequested();
void showStreamMenu(QPoint pos);
void graphClicked(QMouseEvent *event);
@@ -86,16 +87,21 @@ private:
address dst_fwd_;
guint32 port_dst_fwd_;
guint32 ssrc_fwd_;
+ struct _rtp_stream_info *stream_fwd_;
+
address src_rev_;
guint32 port_src_rev_;
address dst_rev_;
guint32 port_dst_rev_;
guint32 ssrc_rev_;
+ struct _rtp_stream_info *stream_rev_;
int num_streams_;
tap_rtp_stat_t fwd_statinfo_;
tap_rtp_stat_t rev_statinfo_;
+ QPushButton *player_button_;
+
QTemporaryFile *fwd_tempfile_;
QTemporaryFile *rev_tempfile_;
@@ -128,6 +134,8 @@ private:
void updateStatistics();
void updateGraph();
+ void showPlayer();
+
void saveAudio(StreamDirection direction);
void saveCsv(StreamDirection direction);