Commit graph

10268 commits

Author SHA1 Message Date
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
Johan Pascal
b504646e58 Move crypto API to bctoolbox
- LIME is yet to be ported, compilation fail with LIME enabled
2016-02-04 23:32:38 +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
Sylvain Berfini
b748b453d6 Merge branch 'master' into dev_vcard
Conflicts:
	tester/presence_tester.c
2016-02-04 16:39:43 +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
Sylvain Berfini
6e38ee18d5 Merge branch 'master' into dev_vcard
Conflicts:
	coreapi/linphonecore.c
	tester/presence_tester.c
2016-02-03 17:16:33 +01:00
Simon Morlat
86d8674d80 fix LINPHONE_DEPRECATED 2016-02-03 16:37:14 +01:00
Sylvain Berfini
2f9f545163 Added test for import vcards from buffer 2016-02-03 15:54:36 +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
Sylvain Berfini
d458258237 Fixed segfault when manipulating friends with vcards without carddav configured 2016-02-03 15:26:07 +01:00
Sylvain Berfini
0676eaf4f1 Removed deprecated methods from vcard tester + updated import/export vCard API 2016-02-03 14:37: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
Sylvain Berfini
f5e86f8f95 Improved a bit the carddav_updated cb in friendlist 2016-02-03 12:05:31 +01:00
Sylvain Berfini
bfa055251c Fixed invalid read in vcard tester 2016-02-03 11:46:25 +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
Sylvain Berfini
522e973553 Added JNI bindings for newly added LinphoneFriendList synchronization callback 2016-02-02 17:42:22 +01:00
Sylvain Berfini
0370aa9e90 Added new callback for synchronization done + fixed small issue: when contact was removed from the server, it was trying to remove it again 2016-02-02 17:09:21 +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
Sylvain Berfini
9cec564138 RFC 6352 stipulates in section 10.3 that addressbook-query must have a filter, even an empty one 2016-02-02 15:59:41 +01:00
Sylvain Berfini
2e62153e1f Also deprecated linphone_core_add_friend and linphone_core_remove_friend 2016-02-02 15:40:09 +01:00
Sylvain Berfini
32ac62bb23 Deprecated linphone_core_get_friends 2016-02-02 15:38:52 +01:00
Sandrine Avakian
0f67bd9695 Update media streamer. 2016-02-02 15:14:45 +01:00
Sylvain Berfini
45bcccf4eb Added methods (and JNI bindings) to get LinphoneFriends from a LinphoneFriendList and LinphoneFriendLists from LinphoneCore 2016-02-02 14:47:15 +01:00
Ghislain MARY
6724016f94 Fix build for Windows 10. 2016-02-02 14:37:23 +01:00
Brieuc Viel
9afc1e1509 fix compilation iOS 2016-02-02 14:30:44 +01:00
Sylvain Berfini
7d03d2e00e Added new method to import a LinphoneFriend into a LinphoneFriendList without flagging it as dirty 2016-02-02 14:17:37 +01:00
Simon Morlat
672838c7a0 fix preview stream 2016-02-02 12:52:01 +01:00
Ghislain MARY
d39a16476f Update ortp and ms2 submodules. 2016-02-02 12:25:57 +01:00
Sylvain Berfini
9c7eb70ef8 Fixed all contacts deleted issue when doing many syncs + added test for that 2016-02-02 12:08:43 +01:00