Commit graph

4224 commits

Author SHA1 Message Date
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
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
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
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
Sylvain Berfini
9c7eb70ef8 Fixed all contacts deleted issue when doing many syncs + added test for that 2016-02-02 12:08:43 +01:00
François Grisez
b4452da58d Release the reference on the focus call when thatone fails 2016-02-02 11:34:13 +01:00
Sylvain Berfini
a2b8ff8a6f Added LinphoneFriendList callbacks into JNI layer 2016-02-02 11:23:03 +01:00
Sylvain Berfini
7aedeaacb2 Added missing linphone_friend_list_get_core method 2016-02-01 16:59:46 +01:00
Sylvain Berfini
cb657fffbe Forgot import for LinphoneFriendList symbol 2016-02-01 16:53:48 +01:00
Sylvain Berfini
e29cab555d Updated Java tutorials + fixed typo 2016-02-01 16:49:00 +01:00
Sylvain Berfini
64fc5a9594 Added JNI wrapper for linphone_friend_list_set_uri and linphone_friend_list_synchronize_friends_from_server 2016-02-01 16:30:36 +01:00
Sylvain Berfini
6a2a62008f Added JNI bindings for newly created vtable callbacks 2016-02-01 16:24:27 +01:00
Sylvain Berfini
1d754ddff4 Automatically generate UID on PUT if not yet created + improved some tests 2016-02-01 16:04:58 +01:00
Sylvain Berfini
06f9d69a78 Added vtable callbacks for friend list created / removed + tests 2016-02-01 15:42:02 +01:00
Sylvain Berfini
5fe2c68b44 Added method to import friends from buffer instead of file 2016-02-01 15:41:22 +01:00
Simon Morlat
df4ea94a8e clean a few things around MSFactory usage 2016-02-01 14:48:58 +01:00
Sandrine Avakian
825165d144 Merge branch 'master' of git.linphone.org:linphone into dev_msfactory
# Conflicts:
#	mediastreamer2
2016-02-01 10:58:37 +01:00
Simon Morlat
058c8fdc6b fix bug in last commit 2016-01-29 17:51:00 +01:00
Simon Morlat
2338c94674 fix routing of quality reporting publishes 2016-01-29 17:49:17 +01:00
Sandrine Avakian
df63e006d7 Merge branch 'master' of git.linphone.org:linphone into dev_msfactory
# Conflicts:
#	mediastreamer2
2016-01-29 17:15:35 +01:00
Sandrine Avakian
2f0002f419 Update media streamer. 2016-01-29 17:14:31 +01:00
Sandrine Avakian
4b0e433b43 Merge branch 'master' of git.linphone.org:linphone into dev_msfactory 2016-01-29 14:29:17 +01:00
Jehan Monnier
580310fc74 implement io error handling for list subscription 2016-01-29 14:00:24 +01:00
Sylvain Berfini
82b74a8bb2 Merge branch 'master' into dev_vcard
Conflicts:
	coreapi/friendlist.c
2016-01-29 11:41:57 +01:00
Jehan Monnier
58cb7a3f57 use belle-sip refresher with dialog terminated recovery capability 2016-01-28 17:48:11 +01:00
Sandrine Avakian
9e71f27970 Fixing merge mistake -
reapplying commits 93f7cbd86f
cd3beba1c4
2016-01-28 16:46:30 +01:00
Sylvain Berfini
3c53c02fb7 Fixed macosx stack_chk_fail, turns out can't use sal_generate_uuid with buffer of size 32... 2016-01-28 16:22:49 +01:00
Sandrine Avakian
466437763d small fix in linphone_call_get_video_device 2016-01-28 14:56:43 +01:00
Sandrine Avakian
86d2d9ffc3 Update media streamer and small fix for webcam. 2016-01-28 14:49:20 +01:00
Sandrine Avakian
f19cff2112 Updating media streamer and propagating changes. 2016-01-28 12:19:28 +01:00
Sylvain Berfini
9cfd1404ef Fixed dump mistake... 2016-01-27 15:46:55 +01:00
Sylvain Berfini
5a7d0a0773 Attempt to fix __stack_chk_fail crash on MacOSX 2016-01-27 15:20:46 +01:00
Sandrine Avakian
8177fddcd6 Small fixes and media streamer update. 2016-01-27 14:04:11 +01:00
Sandrine Avakian
bad9aecc65 Update of linphone sound daemon to use MSFactory. 2016-01-27 11:58:07 +01:00
Sandrine Avakian
9b806bc2c3 Update lddc.c (first steps on replacing ms_filter_new ).
Updating mediastreamer2 : use of ms_factory_exit to destroy the factory and set it to NULL, in linphonecore.c as well.
2016-01-27 11:15:24 +01:00
Sandrine Avakian
d8e533b258 Merge branch 'master' of git.linphone.org:linphone into dev_msfactory 2016-01-27 10:21:37 +01:00
Sandrine Avakian
2dc9e19ccb Updating media streamer and linphonecore.c to be consistent with the changes made in media streamer. 2016-01-27 10:20:33 +01:00
Simon Morlat
0a9ab97bd4 keep using periodical updates (even for non-existent streams) at least for tests, because it is convenient to be notified everytime linphonecore updates
bandwidth measurement.
This may change in the future when bandwidth computations will be done in real time (every mediastreamer2 tick).
2016-01-26 21:32:55 +01:00
Simon Morlat
0965d49f7a handle expired client dialogs for p2p presence, and report them for LinphoneEvent.
remove deprecation of LinphoneChatMessageStateCb, since it is already marked as deprecated in all functions using it.
fix a few warnings
2016-01-26 17:26:49 +01:00
Sylvain Berfini
5c0bdf95bd Fixed another leak 2016-01-26 16:54:56 +01:00
Sandrine Avakian
e5a09abcba Updating mediastreamer2 and oRTP.
Removing ms_factory_uninit_plugins which is already called in ms_factory_destroy.
2016-01-26 12:06:56 +01:00
Sandrine Avakian
22e62b660f Merge branch 'master' of git.linphone.org:linphone into dev_msfactory
# Conflicts:
#	gtk/videowindow.c
2016-01-26 09:43:02 +01:00