Commit graph

8284 commits

Author SHA1 Message Date
Simon Morlat
d08bd4a4fe update ms2 to fix crash with pulseaudio 2016-02-12 18:40:54 +01:00
Gautier Pelloux-Prayer
35f2f5081a commands.c: disable files usage if we are using "soundcard use <index>" 2016-02-12 15:42:46 +01:00
Gautier Pelloux-Prayer
da9c8393fc linphonecall.c: fix crash in zrtp 2016-02-11 16:44:16 +01:00
Simon Morlat
1b7f53849d improve soundcard management 2016-02-11 15:51:06 +01:00
Jehan Monnier
4b1cfa3ddf make sure even linphone friends created with legacy constructor do not lead to a crash if used in friend-list 2016-02-10 18:13:38 +01:00
Simon Morlat
2c929a08c7 add java method to configure user certificates 2016-02-10 17:00:22 +01:00
Gautier Pelloux-Prayer
2ccfd093d3 sal_impl.c: fix 200 OK header, proposed by Christian Spielberger 2016-02-10 14:02:28 +01:00
Simon Morlat
3df1f98d88 fix make distcheck 2016-02-09 12:14:18 +01:00
Jehan Monnier
37d4a14532 -no longer decline calls if local presence status is closed 2016-02-09 11:02:57 +01:00
Sylvain Berfini
cda8dc6b46 Updated ms2 2016-02-08 17:01:54 +01:00
Jehan Monnier
b655775220 -enable ice message integrity check by default.
-Can be disabled for backward compatibility with Linphone prior to December 2014
2016-02-08 14:04:52 +01:00
Ghislain MARY
df758a5f1f Force STUN server resolution for ICE tests. 2016-02-08 11:01:23 +01:00
Gautier Pelloux-Prayer
9c4bdf946a account_creator.c: apply transport 2016-02-08 10:44:28 +01:00
Simon Morlat
4fe85734d4 add JNI implementation for LinphoneCore.setDnsServers() 2016-02-07 23:02:48 +01:00
Simon Morlat
a0646a0f9d add method to configure dns servers 2016-02-07 22:35:36 +01:00
Simon Morlat
db89a5c665 fix android test 2016-02-07 11:20:42 +01:00
Simon Morlat
947d39f9ba fix too short timeouts for redirect test 2016-02-07 11:18:47 +01:00
Simon Morlat
285af5570a fix crash on android 2016-02-07 11:10:54 +01:00
Simon Morlat
d3e3740a64 fix crashes around presence and publish.
Documentation was not consistent with actual code was doing. LinphoneEvent becomes a true belle_sip_object_t, which now evidences memory leaks.
update ms2
2016-02-06 11:51:06 +01:00
Ghislain MARY
20ce36c6c7 Update ms2 submodule. 2016-02-05 18:04:58 +01:00
Ghislain MARY
8e3c881836 Fix build on Windows. 2016-02-05 17:50:14 +01:00
Jehan Monnier
a110765526 update test certificates with 2048bits rosa key 2016-02-05 17:11:45 +01:00
Jehan Monnier
7fca3be419 On invalidate, only notify friend with an already known presence model 2016-02-05 17:11:45 +01:00
Ghislain MARY
79b104fbbc Update ms2 submodule. 2016-02-05 16:35:33 +01:00
Ghislain MARY
4c2de4f59a Disable dummy STUN packets sending when ICE is activated. 2016-02-05 11:30:10 +01:00
Jehan Monnier
74c255f360 add test with tcp disabled 2016-02-05 10:55:32 +01:00
Ghislain MARY
f207747e7f Fix loading of ms2 plugins in Python module. 2016-02-05 10:44:30 +01:00
Gautier Pelloux-Prayer
45207ae94f submodules: update ms2 [Outgrade submodule] 2016-02-05 10:28:48 +01:00
Sylvain Berfini
1ae61a909d Updated ms2 2016-02-05 10:06:08 +01:00
Simon Morlat
230e9d9fbb remove meaningless assert 2016-02-05 08:42:26 +01:00
Simon Morlat
1980323a8e link against webrtc's ilbc codec 2016-02-04 23:02:06 +01:00
Simon Morlat
dc52e150b7 adapt android jni to MSFactory usage, and add linphone_core_reload_ms_plugins() as a new way of loading plugins after LinphoneCore has been created.
This can be used on platforms where dynamic loading of plugins is not permitted, by doing things in this sequence:
1) Create the LinphoneCore as usual
2) call the libms*_init() routines of the plugins by passing them the MSFactory obtained via linphone_core_get_ms_factory()
3) call linphone_core_reload_ms_plugins()
2016-02-04 22:01:00 +01:00
Ghislain MARY
d61fe35f48 Add API to force the use of relay when using ICE (for tests purpose) + add test that does just that. 2016-02-04 16:52:59 +01:00
Jehan Monnier
89e977998f start long running task during tunnel udp link probing 2016-02-04 16:11:43 +01:00
Jehan Monnier
2f3c2491e0 fix crash when notification timeout is received 2016-02-04 13:41:58 +01:00
Gautier Pelloux-Prayer
72ff7c9354 tester: fix crash in presence 2016-02-04 12:22:31 +01:00
Ghislain MARY
8246df5cd4 Fix Python module build. 2016-02-04 12:14:28 +01:00
Ghislain MARY
5644d8332f Fix build on Windows. 2016-02-04 11:22:16 +01:00
Simon Morlat
86d8674d80 fix LINPHONE_DEPRECATED 2016-02-03 16:37:14 +01:00
Jehan Monnier
d678615e26 make sure LinphoneFriend created on core always have core back pointer set 2016-02-03 15:49:34 +01:00
Sandrine Avakian
c0566bbad0 Updating sip_setup_register_all to use ms_factory_load_plugins. 2016-02-03 12:35:48 +01:00
Sandrine Avakian
439b2a93e3 Update ms2. 2016-02-03 12:20:14 +01:00
Simon Morlat
1db3b9a297 update ms2 2016-02-03 09:34:19 +01:00
Simon Morlat
bea1b58e30 fix crash
Valgrind backtrace:
2016-02-02 21:08:50:540 ortp-warning-Audio conference MSTicker: We are late of 846 miliseconds.
==42557== Invalid write of size 1
==42557==    at 0x4E9253D: Linphone::RemoteConference::terminate() (conference.cc:729)
==42557==    by 0x4EADA34: linphone_core_terminate_conference (linphonecore.c:7533)
==42557==    by 0x5171B20: simple_conference_base (multi_call_tester.c:282)
==42557==    by 0x5172468: simple_remote_conference (multi_call_tester.c:801)
==42557==    by 0x80C76B5: run_single_test (in /usr/local/lib/libcunit.so.1.0.1)
==42557==    by 0x80C52F7: CU_run_test (in /usr/local/lib/libcunit.so.1.0.1)
==42557==    by 0x5194E7B: bc_tester_run_tests (bc_tester_utils.c:331)
==42557==    by 0x400F4A: main (liblinphone_tester.c:245)
==42557==  Address 0x1e0a5cc0 is 128 bytes inside a block of size 136 free'd
==42557==    at 0x4C2C2BC: operator delete(void*) (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==42557==    by 0x4EA45BB: linphone_core_conference_state_changed (linphonecore.c:7468)
==42557==    by 0x4E9253C: Linphone::RemoteConference::terminate() (conference.cc:723)
==42557==    by 0x4EADA34: linphone_core_terminate_conference (linphonecore.c:7533)
==42557==    by 0x5171B20: simple_conference_base (multi_call_tester.c:282)
==42557==    by 0x5172468: simple_remote_conference (multi_call_tester.c:801)
==42557==    by 0x80C76B5: run_single_test (in /usr/local/lib/libcunit.so.1.0.1)
==42557==    by 0x80C52F7: CU_run_test (in /usr/local/lib/libcunit.so.1.0.1)
==42557==    by 0x5194E7B: bc_tester_run_tests (bc_tester_utils.c:331)
==42557==    by 0x400F4A: main (liblinphone_tester.c:245)
==42557==
2016-02-02 21:13:29 +01:00
Simon Morlat
2f02f39756 fix build 2016-02-02 21:07:38 +01:00
Jehan Monnier
29e0109c53 -Publish are now implemented using LinphoneEvent API. 2016-02-02 18:54:39 +01:00
Sandrine Avakian
2ebbc1aae4 Update media streamer. 2016-02-02 16:15:42 +01:00
Sandrine Avakian
b74d95e464 Use ms_factory_get_cpu_count instead of deprecated ms_get_cpu_count in call_tester. 2016-02-02 16:14:01 +01:00
Sandrine Avakian
0f67bd9695 Update media streamer. 2016-02-02 15:14:45 +01:00
Ghislain MARY
6724016f94 Fix build for Windows 10. 2016-02-02 14:37:23 +01:00