diff options
author | Gerald Combs <gerald@wireshark.org> | 2014-12-12 16:51:40 -0800 |
---|---|---|
committer | Gerald Combs <gerald@wireshark.org> | 2015-10-02 18:26:05 +0000 |
commit | 3687d393040a40655d84e3e03417a474032bad86 (patch) | |
tree | 55f208b60abb59c5812bae2407a9b36dfdd2f09a /configure.ac | |
parent | fd5eafa50a77bc319a240727600be38307e54f86 (diff) |
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 <gerald@wireshark.org>
Reviewed-by: Gerald Combs <gerald@wireshark.org>
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 15 |
1 files changed, 11 insertions, 4 deletions
diff --git a/configure.ac b/configure.ac index d1de15d3ce..81394ee505 100644 --- a/configure.ac +++ b/configure.ac @@ -2462,11 +2462,11 @@ AC_SUBST(LUA_CFLAGS) dnl portaudio check -AC_MSG_CHECKING(whether to use libportaudio for the rtp_player) +AC_MSG_CHECKING(whether to use libportaudio for the GTK+ RTP player) AC_ARG_WITH(portaudio, AC_HELP_STRING( [--with-portaudio@<:@=DIR@:>@], - [use libportaudio (located in directory DIR, if supplied) for the rtp_player @<:@default=yes, if available@:>@]), + [use libportaudio (located in directory DIR, if supplied) for the GTK+ RTP player @<:@default=yes, if available@:>@]), [ if test $withval = no then @@ -2491,7 +2491,7 @@ else AC_MSG_RESULT(yes) AC_WIRESHARK_LIBPORTAUDIO_CHECK if test "x$want_portaudio" = "xno" ; then - AC_MSG_RESULT(libportaudio not found - disabling support for the rtp_player) + AC_MSG_RESULT(libportaudio not found - disabling support for the GTK+ RTP player) fi fi AM_CONDITIONAL(HAVE_LIBPORTAUDIO, test x$want_portaudio = xyes) @@ -3310,6 +3310,12 @@ else lua_message="no" fi +if test "x$have_qt_multimedia_lib" = "xyes" ; then + qt_multimedia_message="yes" +else + qt_multimedia_message="no" +fi + if test "x$want_portaudio" = "xyes" ; then portaudio_message="yes" else @@ -3382,7 +3388,8 @@ echo " Use dumpcap group : $dumpcap_group_message" echo " Use plugins : $have_plugins" echo " Use external capture sources : $have_extcap" echo " Use Lua library : $lua_message" -echo " Build rtp_player : $portaudio_message" +echo " Build Qt RTP player : $qt_multimedia_message" +echo " Build GTK+ RTP player : $portaudio_message" echo " Build profile binaries : $enable_profile_build" echo " Use pcap library : $want_pcap" echo " Use zlib library : $zlib_message" |