From 3687d393040a40655d84e3e03417a474032bad86 Mon Sep 17 00:00:00 2001 From: Gerald Combs Date: Fri, 12 Dec 2014 16:51:40 -0800 Subject: Qt: Initial RTP playback. Note the "initial". This is woefully incomplete. See the "to do" lists below and in the code. This differs a bit from the GTK+ version in that you specify one or more streams to be decoded. Instead of showing waveforms in individual widgets, add them all to a single QCustomPlot. This conserves screen real estate and lets us more easily take advantage of the QCP API. It also looks better IMHO. Change a bunch of checks for QtMultimediaWidgets to QtMultimedia. We probably won't use the widgets until we make 5.0 our minimum Qt version and plain old QtMultimedia lets us support Qt 4 more easily (in theory at least). Add resampling code from libspeex. I initially used this to resample each packet to match the preferred rate of our output device, but this resulted in poorer audio quality than expected. Leave it in and use to create visual samples for QCP and to match rates any time the rate changes. The latter is currently untested. Add some debugging macros. Note that both the RTP player and RTP analysis dialogs decode audio data using different code. Note that voip_calls_packet and voip_calls_init_tap appear to be dead code. To do: - Add silence frames where needed. - Implement the jitter buffer. - Implement the playback timing controls. - Tapping / scanning streams might be too slow. Change-Id: I20dd3b66d3df53c9b1f3501262dc01458849f6b4 Bug: 9007 Reviewed-on: https://code.wireshark.org/review/10458 Petri-Dish: Gerald Combs Reviewed-by: Gerald Combs --- vagrant_provision.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'vagrant_provision.sh') diff --git a/vagrant_provision.sh b/vagrant_provision.sh index 3504b7becd..b993d0c2c6 100644 --- a/vagrant_provision.sh +++ b/vagrant_provision.sh @@ -25,5 +25,5 @@ set -e apt-get update apt-get build-dep -y wireshark apt-get install -y cmake valgrind qt5-default \ - libqt5multimedia5 libqt5multimediawidgets5 qtmultimedia5-dev \ + libqt5multimedia5 qtmultimedia5-dev \ qttools5-dev qttools5-dev-tools -- cgit v1.2.3