Bryce Allen [Wed, 20 Nov 2013 21:46:06 +0000 (16:46 -0500)]
agent: Add API to retrieve the selected GSocket
This should be used only when the protocol has it's own keepalive mechanism
Olivier Crête [Wed, 30 Oct 2013 13:45:55 +0000 (09:45 -0400)]
agent: Getting the local candidates returns a copy, fix the doc
Tim Mooney [Tue, 29 Oct 2013 16:52:12 +0000 (16:52 +0000)]
Add special case to make it compile on Solaris
Olivier Crête [Tue, 29 Oct 2013 16:51:13 +0000 (16:51 +0000)]
Silence aclocal warning by changing the order of the macros
Philip Withnall [Mon, 28 Oct 2013 17:53:29 +0000 (17:53 +0000)]
build: Add GUPnP libraries to Libs.private in pkg-config file
They’re private dependencies which are needed on the linker command line when
linking statically against libnice.
https://bugs.freedesktop.org/show_bug.cgi?id=70965
Philip Withnall [Mon, 28 Oct 2013 13:33:57 +0000 (13:33 +0000)]
build: Update configure.ac according to autoupdate
https://bugs.freedesktop.org/show_bug.cgi?id=70965
Philip Withnall [Mon, 28 Oct 2013 13:30:26 +0000 (13:30 +0000)]
build: Add AM_PROG_AR to configure.ac
This shuts up an automake warning about needing it when using a non-POSIX
archiver.
https://bugs.freedesktop.org/show_bug.cgi?id=70965
Philip Withnall [Mon, 28 Oct 2013 13:29:52 +0000 (13:29 +0000)]
build: Add ‘-I m4’ to ACLOCAL_AMFLAGS
This shuts up an automake warning and ensures that in-tree m4 macros are found
by aclocal.
https://bugs.freedesktop.org/show_bug.cgi?id=70965
Colin Walters [Wed, 4 Sep 2013 13:12:33 +0000 (09:12 -0400)]
autogen.sh: Honor NOCONFIGURE=1
This is adapted from telepathy-logger's autogen.sh. See
http://people.gnome.org/~walters/docs/build-api.txt
for rationale behind NOCONFIGURE=1.
Thammi [Fri, 19 Jul 2013 17:10:21 +0000 (19:10 +0200)]
Fix unitialized variable in nice_agent_parse_remote_candidate_sdp
Livio Madaro [Wed, 3 Apr 2013 12:53:39 +0000 (14:53 +0200)]
Refresh TURN CreatePermission at receiving data in case TURN path is asymetrical.
Rohan Garg [Fri, 22 Mar 2013 05:53:31 +0000 (11:23 +0530)]
Set the minimum GLib version to 2.30 to disable deprecated warnings on newer GLib versions and make sure the maximum allowed GLib version is 2.32
Also actually require 2.30
Livio Madaro [Thu, 7 Mar 2013 16:46:34 +0000 (17:46 +0100)]
Open socket with random port. Use random port to avoid TURN error 437 Allocation Mismatch
Youness Alaoui [Wed, 20 Mar 2013 19:43:51 +0000 (15:43 -0400)]
win32: Add new 0.1.4 symbols to the win32 .def file as well
Youness Alaoui [Sat, 23 Feb 2013 00:56:51 +0000 (19:56 -0500)]
version 0.1.4.1
Youness Alaoui [Sat, 23 Feb 2013 00:28:44 +0000 (19:28 -0500)]
Version 0.1.4
Youness Alaoui [Sat, 23 Feb 2013 00:28:27 +0000 (19:28 -0500)]
Fix documentation
Youness Alaoui [Sat, 23 Feb 2013 00:05:47 +0000 (19:05 -0500)]
Add build instructions to the README
Youness Alaoui [Fri, 22 Feb 2013 23:54:18 +0000 (18:54 -0500)]
Remove debugging print
Youness Alaoui [Thu, 7 Feb 2013 01:27:32 +0000 (20:27 -0500)]
examples: Make input non blocking to allow exit when remote hangs up
Youness Alaoui [Thu, 7 Feb 2013 00:44:02 +0000 (19:44 -0500)]
Do not unref the mainloop until the thread has joined since it could be still using it
Youness Alaoui [Thu, 7 Feb 2013 00:41:38 +0000 (19:41 -0500)]
Export the new nice_agent_get_selected_pair API
Bryce Allen [Thu, 7 Feb 2013 00:40:59 +0000 (19:40 -0500)]
Do not unref the GThread since g_thread_join takes the reference. Also rename the variable.
Youness Alaoui [Tue, 5 Feb 2013 23:28:39 +0000 (18:28 -0500)]
Change the m= line in the SDP to use ICE/SDP dummy type instead of RTP/AVP
Youness Alaoui [Tue, 5 Feb 2013 23:21:39 +0000 (18:21 -0500)]
Add new parsing API, for stream and candidates
Youness Alaoui [Tue, 5 Feb 2013 04:21:55 +0000 (23:21 -0500)]
Add example that uses the new SDP parsing API
Youness Alaoui [Tue, 5 Feb 2013 04:15:00 +0000 (23:15 -0500)]
Adding new SDP parsing and generation API.
This adds nice_agent_set_stream_name, nice_agent_get_stream_name,
nice_agent_generate_local_sdp, nice_agent_parse_remote_sdp.
Youness Alaoui [Tue, 5 Feb 2013 03:14:06 +0000 (22:14 -0500)]
Fix/clean threaded-example
Youness Alaoui [Tue, 5 Feb 2013 03:00:02 +0000 (22:00 -0500)]
Refactor nice_agent_set_stream_tos to use agent_find_stream internal API
Youness Alaoui [Tue, 5 Feb 2013 01:37:54 +0000 (20:37 -0500)]
Add a similar simple example using threads
Youness Alaoui [Tue, 5 Feb 2013 01:07:14 +0000 (20:07 -0500)]
example: Exit on Ctrl-D and send EOS signal to the other end
Youness Alaoui [Mon, 4 Feb 2013 23:42:38 +0000 (18:42 -0500)]
Change license for simple-example
Youness Alaoui [Sat, 2 Feb 2013 00:22:08 +0000 (19:22 -0500)]
Add a simple example to showcase the API thanks to Bryce Allen
Youness Alaoui [Sat, 2 Feb 2013 00:19:23 +0000 (19:19 -0500)]
Cleanup documentation
Youness Alaoui [Sat, 2 Feb 2013 00:18:39 +0000 (19:18 -0500)]
Add nice_agent_get_selected_pair API to NiceAgent
Youness Alaoui [Sat, 2 Feb 2013 00:17:59 +0000 (19:17 -0500)]
Add nice_address_ip_version API to NiceAddress
Jakub Adam [Thu, 6 Dec 2012 21:03:08 +0000 (22:03 +0100)]
Fix username validation in OC2007 mode
Wrong 'inbound' argument was passed into priv_validate_username()
Youness Alaoui [Thu, 6 Dec 2012 21:48:00 +0000 (16:48 -0500)]
Add win32 directory to EXTRA_DIST
Youness Alaoui [Mon, 3 Dec 2012 17:45:01 +0000 (12:45 -0500)]
Add nice_agent_set_port_range to the list of exported API functions
Livio Madaro [Mon, 19 Nov 2012 23:18:49 +0000 (18:18 -0500)]
Manage multiple TURN CreatePermission in parallel
Guillaume Desmottes [Fri, 27 Apr 2012 12:36:03 +0000 (14:36 +0200)]
agent: display NiceComponentState as strings in debug message
https://bugs.freedesktop.org/show_bug.cgi?id=49219
Askar Safin [Mon, 1 Oct 2012 18:36:41 +0000 (14:36 -0400)]
Fix C preprocessor bug
Rohan Garg [Wed, 19 Sep 2012 21:14:54 +0000 (02:44 +0530)]
Fix a minor bug in the dribble mode test
If for some reason the opening of the socket is delayed, or simply takes
too much time, the test will fail. This patch ensures that the test will
only proceed once the socket is open.
Olivier Crête [Fri, 14 Sep 2012 16:54:01 +0000 (12:54 -0400)]
version 0.1.3.1
Olivier Crête [Fri, 14 Sep 2012 01:31:18 +0000 (21:31 -0400)]
version 0.1.3
Olivier Crête [Fri, 14 Sep 2012 01:26:29 +0000 (21:26 -0400)]
Compile the plugin for both GStreamer 0.10 and 1.0
Revert this patch to drop GStreamer 0.10 support
Olivier Crête [Fri, 14 Sep 2012 01:25:42 +0000 (21:25 -0400)]
nicesrc: Use gst_buffer_fill
Olivier Crête [Tue, 7 Aug 2012 00:28:15 +0000 (17:28 -0700)]
The plugin name is not a string anymore
Sjoerd Simons [Sun, 29 Jul 2012 16:33:33 +0000 (18:33 +0200)]
Check gstreamer 1.0 not 0.11
Sjoerd Simons [Sun, 29 Jul 2012 16:31:37 +0000 (18:31 +0200)]
GST_FLOW_WRONG_STATE -> GST_FLOW_FLUSHING
Olivier Crête [Fri, 27 Jan 2012 17:55:09 +0000 (18:55 +0100)]
Use GstPushSrc as a base class
Olivier Crête [Fri, 27 Jan 2012 17:54:31 +0000 (18:54 +0100)]
Port GStreamer src/sink to 0.11
Livio Madaro [Fri, 3 Aug 2012 13:17:08 +0000 (15:17 +0200)]
Fix gaddr initialization
Olivier Crête [Wed, 6 Jun 2012 20:50:39 +0000 (16:50 -0400)]
Only define _FORTIFY_SOURCE if optimisation is enabled
Youness Alaoui [Mon, 16 Jul 2012 19:44:42 +0000 (15:44 -0400)]
Merge remote-tracking branch 'shadeslayer/dribble_mode'
Rohan Garg [Fri, 29 Jun 2012 19:33:34 +0000 (01:03 +0530)]
Also free the GCond and the GMutex
Rohan Garg [Thu, 21 Jun 2012 19:22:44 +0000 (00:52 +0530)]
Allocate memory to stun_mutex_ptr and stun_signal_ptr
Olivier Crête [Tue, 29 May 2012 01:02:31 +0000 (21:02 -0400)]
Cache GSocketAddress in UdpBsdSocket
Creating a GSocketAddress takes a measurable amount of time, so let's cache it
as it doesn't change once a socket is created.
Rohan Garg [Mon, 7 May 2012 18:31:48 +0000 (00:01 +0530)]
Multiple fixes for new test
* Make STUN thread drop STUN packets using a global variable
* Completely refactor the way the STUN thread exits
- Now exit by setting exit_stun_thread as TRUE and sending
dummy data
- Remove the old signal mechanism
* Don't set unnecessary socket options
* Lock stun_mutex_ptr before signalling STUN response
Rohan Garg [Thu, 3 May 2012 20:53:21 +0000 (02:23 +0530)]
Fixes to dribble mode test as per suggestions
- Use LEFT_AGENT and RIGHT_AGENT instead of calling GINT_TO_POINTER everytime
- Add padding (0's in our case) before the actual payload and make sure the
reciever checks for this padding. This ensures no STUN packets got through
- Free GSList's properly in cb_agent_new_candidate
- Use proper calls to g_signal_handlers_disconnect_by_func
Rohan Garg [Thu, 3 May 2012 17:47:20 +0000 (23:17 +0530)]
Minor bug fixes and enhancements to the test
Rohan Garg [Mon, 30 Apr 2012 21:50:49 +0000 (03:20 +0530)]
Update .gitignore for new test
Rohan Garg [Tue, 17 Apr 2012 16:04:00 +0000 (21:34 +0530)]
Use %lu for long unsigned int when calling printf
Rohan Garg [Wed, 4 Apr 2012 14:42:38 +0000 (20:12 +0530)]
Fix test-dribble
The ragent state can be either NICE_COMPONENT_CONNECTED or NICE_COMPONENT_READY
Rohan Garg [Mon, 2 Apr 2012 14:36:28 +0000 (20:06 +0530)]
Update documentation to reflect the dribble mode feature
Rohan Garg [Fri, 16 Mar 2012 19:22:00 +0000 (00:52 +0530)]
Added new tests for dribble mode in libnice
4 tests in total :
* Common to all :
- Gather lagent and ragent candidates
- Delay STUN response for lagent
- Make sure connchecks succeed and data is sent across
to lagent
* standard_test :
- Set remote candidates for lagent while lagent is still
gathering it's own candidates
* bad_credentials_test :
- Set incorrect credentials for both lagent and ragent
- Make sure connchecks fail
- Signal STUN response and set correct credentials
* bad_candidate_test :
- Set a bad remote candidate for lagent
- Make sure connchecks fail
- Signal STUN response and set correct remote candidates
* new_candidate_test :
- As soon as a new local candidate is found set it as
the remote candidate for the other agent
Rohan Garg [Sat, 10 Mar 2012 13:13:41 +0000 (18:43 +0530)]
Add conn_check_add_for_local_candidate to add the newly found local candidate to the conncheck list
conn_check_add_for_local_candidate works exactly like conn_check_add_for_candidate
except that it starts connchecks for newly found local candidates with existing
remote candidates
Refactor priv_add_local_candidate_pruned to accept a NiceAgent and a stream_id
in order to call conn_check_add_for_local_candidate for newly gathered local candidate
Rohan Garg [Sat, 10 Mar 2012 12:44:21 +0000 (18:14 +0530)]
Dribble Mode : Do not check whether we are still gathering our own candidates
Youness Alaoui [Tue, 3 Apr 2012 20:40:45 +0000 (16:40 -0400)]
version 0.1.2.1
Youness Alaoui [Tue, 3 Apr 2012 20:37:38 +0000 (16:37 -0400)]
version 0.1.2
Youness Alaoui [Tue, 3 Apr 2012 20:11:19 +0000 (16:11 -0400)]
Recognize a matching check if it's an INVALID message (error with no error-code)
Youness Alaoui [Tue, 3 Apr 2012 20:09:23 +0000 (16:09 -0400)]
Reinitiate a FAILED conncheck pair on a triggered check
Rohan Garg [Fri, 23 Mar 2012 08:02:23 +0000 (13:32 +0530)]
Use len instead of buf_len to check whether or not data was received properly
Rohan Garg [Sat, 10 Mar 2012 13:03:49 +0000 (18:33 +0530)]
Properly ifdef windows headers in order to get compiles working on linux again
Filippo Della Betta [Thu, 8 Mar 2012 21:19:02 +0000 (16:19 -0500)]
Added more tests on Visual Studio platform
Filippo Della Betta [Mon, 5 Mar 2012 16:55:59 +0000 (17:55 +0100)]
Fixed size of memcpy
Filippo Della Betta [Mon, 5 Mar 2012 17:07:08 +0000 (18:07 +0100)]
unistd.h is not present on Visual Studio. Replaced usleep with g_usleep to support win32 platform as well. Added WSAStartup/WSACleanup on win32
Filippo Della Betta [Mon, 5 Mar 2012 17:04:57 +0000 (18:04 +0100)]
Fixed mingw/msys compilation. Definition for intptr_t was missing. Added WSAStartup/WSACleanup on win32
Filippo Della Betta [Mon, 5 Mar 2012 17:04:12 +0000 (18:04 +0100)]
Fixed mingw/msys compilation. Definition for intptr_t was missing. Added WSAStartup/WSACleanup on win32
Filippo Della Betta [Mon, 5 Mar 2012 17:03:21 +0000 (18:03 +0100)]
Added WSAStartup/WSACleanup on win32
Filippo Della Betta [Mon, 5 Mar 2012 17:02:30 +0000 (18:02 +0100)]
Fixed mingw/msys compilation. Definition for intptr_t was missing
Filippo Della Betta [Mon, 5 Mar 2012 17:00:40 +0000 (18:00 +0100)]
Fixed compiling on Visual Studio and removed getsockname before bind. Added WSAStartup/WSACleanup on win32
Filippo Della Betta [Mon, 5 Mar 2012 16:57:53 +0000 (17:57 +0100)]
Fixed compile on mingw/msys platform
Filippo Della Betta [Mon, 5 Mar 2012 16:54:52 +0000 (17:54 +0100)]
Added win32 section to .gitignore
Filippo Della Betta [Mon, 5 Mar 2012 11:33:32 +0000 (12:33 +0100)]
Added support for compiling when gtk-doc is not installed
Filippo Della Betta [Mon, 5 Mar 2012 11:28:27 +0000 (12:28 +0100)]
Added gio dependency
Youness Alaoui [Fri, 2 Mar 2012 02:33:17 +0000 (21:33 -0500)]
Fix test-bsd by calling g_type_init
Youness Alaoui [Fri, 2 Mar 2012 02:33:06 +0000 (21:33 -0500)]
Fix tcp-bsd/udp-bsd coding style, add robustness and remove use of name_len
Youness Alaoui [Fri, 2 Mar 2012 02:31:52 +0000 (21:31 -0500)]
Fix memory leak with udp-bsd
Youness Alaoui [Fri, 2 Mar 2012 02:27:48 +0000 (21:27 -0500)]
Callback now takes a GSocket * as argument
Youness Alaoui [Fri, 2 Mar 2012 02:25:32 +0000 (21:25 -0500)]
Fix coding style
Livio Madaro [Wed, 29 Feb 2012 13:24:58 +0000 (14:24 +0100)]
Replace sockets with GSocket
Use GSocket for better Windows compatibility
Livio Madaro [Thu, 23 Feb 2012 15:39:08 +0000 (16:39 +0100)]
set nonblocking mode for socket on Windows
Filippo Della Betta [Thu, 23 Feb 2012 16:04:02 +0000 (17:04 +0100)]
Changed EOL to libnice.sln and added config.h
Filippo Della Betta [Mon, 20 Feb 2012 10:47:09 +0000 (11:47 +0100)]
Added Microsoft Visual Studio 2008 (v9.0) support
Rohan Garg [Sat, 18 Feb 2012 20:12:32 +0000 (01:42 +0530)]
Remove redundant code from tests
Filippo Della Betta [Wed, 15 Feb 2012 11:02:13 +0000 (12:02 +0100)]
WSAStartup/WSACleanup added on WIN32 platform
Filippo Della Betta [Fri, 17 Feb 2012 10:49:26 +0000 (11:49 +0100)]
Fixed warnings on Visual Studio platform
Filippo Della Betta [Fri, 17 Feb 2012 10:47:35 +0000 (11:47 +0100)]
Added fix for Visual Studio platform
Filippo Della Betta [Wed, 15 Feb 2012 11:02:13 +0000 (12:02 +0100)]
Replaced __func__ macro with G_STRFUNC in the unit tests