Commit graph

3701 commits

Author SHA1 Message Date
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
Jehan Monnier
37d4a14532 -no longer decline calls if local presence status is closed 2016-02-09 11:02:57 +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
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
947d39f9ba fix too short timeouts for redirect test 2016-02-07 11:18:47 +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
8e3c881836 Fix build on Windows. 2016-02-05 17:50:14 +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
4c2de4f59a Disable dummy STUN packets sending when ICE is activated. 2016-02-05 11:30:10 +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
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
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
Brieuc Viel
9afc1e1509 fix compilation iOS 2016-02-02 14:30:44 +01:00
Simon Morlat
672838c7a0 fix preview stream 2016-02-02 12:52:01 +01:00
François Grisez
b4452da58d Release the reference on the focus call when thatone fails 2016-02-02 11:34:13 +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
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
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
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
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