aboutsummaryrefslogtreecommitdiffstats
path: root/gtk/rtp_player.c
AgeCommit message (Collapse)AuthorFilesLines
2010-01-29Fix various gcc -Wshadow warnings.Bill Meier1-25/+25
svn path=/trunk/; revision=31731
2009-12-29Use gtk_progress_bar_set_fraction instead of the deprecated ↵Bill Meier1-2/+2
gtk_progress_bar_update; svn path=/trunk/; revision=31384
2009-12-18PortAudio doesn't make sure that a default device is even available on the ↵Jaap Keuter1-40/+130
default Host API (go figure). Therefore opening the default stream may fail in the precense of usable devices, on other Host API's. If the default stream fails to open iterate among the Host API's to find one with a default device. svn path=/trunk/; revision=31318
2009-12-17Squelch GTK warnings on the RTP player progress bar when resizeing the window.Jaap Keuter1-1/+2
svn path=/trunk/; revision=31298
2009-12-17Squelch a GTK warning on the RTP player spinner control.Jaap Keuter1-1/+1
svn path=/trunk/; revision=31297
2009-11-15From Alejandro Vaquero:Anders Broman1-22/+37
Add RTP player to "RTP Stream Analysis" and makeover of VoIP flow https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=4240 svn path=/trunk/; revision=30967
2009-08-18Properly handle closing/destruction of RTP player window.Jaap Keuter1-1/+2
svn path=/trunk/; revision=29468
2009-06-22Change window_new() to dlg_window_new() and destroy the window with the top ↵Anders Broman1-3/+3
level window. svn path=/trunk/; revision=28810
2009-05-22From Nick Lewis via bug 3319:Gerald Combs1-9/+32
When audio samples have to be dropped or silence samples inserted to reflect the timestamp there is no indication of these problems on the display. I propose that such problems be indicated on the waveform display by the use of amber coloration and that the number of incorrect timestamps be listed svn path=/trunk/; revision=28451
2009-05-14Extend error reporting from PortAudio library.Jaap Keuter1-0/+69
svn path=/trunk/; revision=28358
2008-12-21When destroying the RTP player make sure to terminate the use of PortAudio ↵Jaap Keuter1-0/+12
library. At least that is what the documentation says. svn path=/trunk/; revision=27073
2008-12-19Correct language.Jaap Keuter1-13/+13
svn path=/trunk/; revision=27060
2008-11-28Plug memory leak.Jaap Keuter1-0/+2
svn path=/trunk/; revision=26873
2008-07-08Fix some simple cases of GTK2 deprecated API usage by using a renamed or ↵Bill Meier1-1/+1
equivalent API gtk_button_box_set_spacing() ==> gtk_box_set_spacing() svn path=/trunk/; revision=25673
2008-06-29Fix some simple cases of GTK2 deprecated API usage by using a renamed or ↵Bill Meier1-1/+1
equivalent API gtk_container_border_width() ==> gtk_container_set_border_width() gtk_container_children() ==> gtk_container_get_children() gtk_entry_new_with_max_length() ==> gtk_entry_new(); gtk_entry_set_max_length() gtk_menu_append() ==> gtk_menu_shell_append() gtk_menu_prepend() ==> gtk_menu_shell_prepend() gtk_notebook_set_page() ==> gtk_notebook_set_current_page() gtk_paned_gutter_size() ==> gtk_paned_set_gutter_size() gtk_radio_button_group() ==> gtk_radio_button_get_group() gtk_signal_connect() ==> g_signal_connect() gtk_signal_disconnect() ==> g_signal_handler_disconnect() gtk_signal_emit_by_name() ==> g_signal_emit_by_name() gtk_signal_handler_block_by_data() ==> g_signal_handlers_block_matched() gtk_signal_handler_block_by_func() ==> g_signal_handlers_block_by_func() gtk_signal_handler_unblock_by_data() ==> g_signal-handlers_unblock_matched() gtk_signal_handler_unblock_by_func() ==> g_signal-handlers_unblock_by_func() gtk_spin_button_get_value_as_float() ==> gtk_spin_button_get_value() gtk_toggle_button_set_state() ==> gtk_toggle_button_set_active() svn path=/trunk/; revision=25634
2008-05-14From Alejandro Vaquero:Tomas Kukosa1-4/+36
Added a new checkbox for the RTP player to use the RTP timing instead of the arriving time of the packets. This is useful when the RTP is being tunneled (e.g. EtherIP), so the original timing is missing. In some cases when encapsulating the original IP/RTP over EtherIP, the encapsulated data comes in chunks of 1sec, so it is useful to use the RTP timing to play it. In these cases we can not simulate jitter buffer, so this is disabled when checking the new "Use RTP timestamp" option. svn path=/trunk/; revision=25293
2008-04-13sort #includes by directoriesUlf Lamping1-20/+18
svn path=/trunk/; revision=24969
2008-04-12where it's not necessary, remove #include "compat_macros.h"Ulf Lamping1-1/+0
svn path=/trunk/; revision=24922
2008-04-11last round to replace SIGNAL_CONNECT with g_signal_connectUlf Lamping1-16/+16
svn path=/trunk/; revision=24918
2008-04-11replace SIGNAL_DISCONNECT_BY_FUNC with g_signal_handlers_disconnect_by_funcUlf Lamping1-4/+4
svn path=/trunk/; revision=24911
2008-04-11replace WIDGET_SET_SIZE with gtk_widget_set_size_requestUlf Lamping1-3/+3
svn path=/trunk/; revision=24910
2008-04-11replace all appearances of BUTTON_NEW_FROM_STOCK with GTK2's ↵Ulf Lamping1-1/+1
gtk_button_new_from_stock svn path=/trunk/; revision=24904
2008-04-11OBJECT_..._DATA --> g_object_..._dataBill Meier1-4/+4
svn path=/trunk/; revision=24896
2008-04-07remove GTK1 codeUlf Lamping1-3/+0
svn path=/trunk/; revision=24823
2008-01-16From Jim Young:Jaap Keuter1-2/+7
This patch provides a new RTP Player preferences dialog. It allows one to select the maximum number of visable channels in the RTP Player window. The default is four (4) channels which is the maximum number of usable channels that the RTP Player can display and still have access to the bottom row buttons on a 1024*768 resolution display. Specifying a value less than 1 or greater than 10 will be result in the RTP Player displaying the default 4 channels. svn path=/trunk/; revision=24112
2008-01-09To ease troubleshooting of bug #2017 and for code clarity in the future, useStephen Fisher1-1/+1
two different variables for types voip_rtp_stream_info_t (strinfo) and voip_calls_info_t (callsinfo) instead of using strinfo for both. svn path=/trunk/; revision=24038
2008-01-08Make RTP player G.729 Annex B compatible.Jaap Keuter1-3/+9
svn path=/trunk/; revision=24032
2007-10-31Avoid casting directly from int to pointers. (It doesn't work on 64-bit linux)Mike Duigou1-2/+2
svn path=/trunk/; revision=23322
2007-10-25new codec table for registering codecs by nameTomas Kukosa1-8/+60
new codec plugin type search registered codecs in rtp player fix memory leak in rtp player svn path=/trunk/; revision=23270
2007-10-22From Jim Young: Simple one line patch resolves compiler warning.: Bug #1929Bill Meier1-1/+1
svn path=/trunk/; revision=23240
2007-10-08VoIP Calls changes: Add the file name to the title window in VoIP calls, ↵Alejandro Vaquero1-2/+8
Voip graph and RTP player windows. Make the calls selection using standard multiple selection using the GTK buildin functions. Add a 'Select All' buttom to the VoIP calls window. svn path=/trunk/; revision=23089
2007-08-18Add #include needed to get defs for PT_PCMU & etcBill Meier1-0/+1
svn path=/trunk/; revision=22549
2007-08-18Use #defines, rather than raw numbers, for RTP payload types.Guy Harris1-5/+15
Note that we should return an error for payload types we don't support, so the user knows we can't handle the audio. svn path=/trunk/; revision=22547
2007-08-11Fixing the GTK1 build shouldn't break the GTK2 build.Jaap Keuter1-1/+1
svn path=/trunk/; revision=22485
2007-08-09Fix GTK1 compilation.Jaap Keuter1-3/+2
svn path=/trunk/; revision=22479
2007-04-16Unused parameterJaap Keuter1-2/+1
svn path=/trunk/; revision=21444
2007-04-14uninitialized warning fixSebastien Tandel1-0/+1
svn path=/trunk/; revision=21439
2007-04-14unused variableSebastien Tandel1-4/+4
svn path=/trunk/; revision=21436
2007-03-21fix all warnings in gtk dir & set the "treat all warnings as errors" MSVC flagUlf Lamping1-1/+1
svn path=/trunk/; revision=21080
2006-10-25Unreffing rci->cursor_pixbuf should cause the pixbuf to be released, soGuy Harris1-0/+1
null out the pointer to it. This prevents a freed pixbuf from being used. svn path=/trunk/; revision=19687
2006-10-20Clean up indentation.Guy Harris1-41/+42
Fix typos. Null out "pa_stream" when the stream is closed; this appears to prevent some crashes. svn path=/trunk/; revision=19633
2006-10-20Don't destroy something if it doesn't exist.Guy Harris1-1/+2
svn path=/trunk/; revision=19632
2006-10-20Don't pass an uninitialized string to gtk_widget_create_pango_layout();Guy Harris1-1/+1
it supports NULL for "no text". svn path=/trunk/; revision=19631
2006-10-20Don't do things with the RTP channels hash table if it hasn't beenGuy Harris1-10/+15
created yet. svn path=/trunk/; revision=19630
2006-10-20Fix the progress bars.Guy Harris1-7/+18
svn path=/trunk/; revision=19629
2006-10-17from Stephen Fisher:Ulf Lamping1-2/+2
Here is a patch for spelling typos in comments and strings in the gtk/ directories. svn path=/trunk/; revision=19568
2006-10-07Alejandro Vaquero:Jörg Mayer1-53/+46
Add portaudio v19 support in addition to v18: Here is a patch using the API 2 (v19). I tested it only in Windows. Attached also the Windows v19 zip file used. I did not modify the Makefile.nmake to download this new version (when running the "setup"), because Windows v18 it is still good. svn path=/trunk/; revision=19446
2006-09-21Include "rtp_player.h" in "voip_calls.c" if we're supporting the RTPGuy Harris1-1/+1
player, so that we get declartions of rtp_player_init() and add_rtp_packet(). Constify the first argument to add_rtp_packet(), as it's passed a pointer to a const value. svn path=/trunk/; revision=19272
2006-09-05rtp_player.c will now compile with the new API, although it will notJörg Mayer1-3/+72
actually do something useful except to print that the new API is not supported. Adapt acinclude.m4 to provide PORTAUDIO_API_1 and add back the check_message to indicate *why* we are checking for the type. svn path=/trunk/; revision=19148
2006-09-04Comment #endifs so you can tell what they match.Guy Harris1-2/+2
svn path=/trunk/; revision=19144