Commit graph

3687 commits

Author SHA1 Message Date
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
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
Simon Morlat
2ce9d4ecc0 fix bug in stats update JNI upcall, since introduction of text stream 2016-01-25 21:53:06 +01:00
Simon Morlat
f5a8a0c803 don't notify periodical updates for non-established streams. 2016-01-25 21:49:02 +01:00
Simon Morlat
cd3beba1c4 fix crash in handle_stream_events() where the MediaStream object is destroyed and recreated during the loop of event processing (typicall with ice events). 2016-01-25 20:32:41 +01:00
Simon Morlat
93f7cbd86f fix ice restart tests 2016-01-25 17:13:48 +01:00
Simon Morlat
f8a1eeff37 fix uninstalled ringtoneplayer.h 2016-01-25 14:47:38 +01:00
Simon Morlat
cd6dfcabe4 add java wrappers for new reachability methods 2016-01-22 18:22:43 +01:00
Simon Morlat
c329b10669 implement independant controls for media and sip network reachabilities. 2016-01-22 17:52:25 +01:00
François Grisez
b689c4bc4e Unref calls after removing them from a conference or after conference termination 2016-01-22 16:21:39 +01:00
trevora
f2fe6b766f Hold file loops for paused calls.
Sets the amount of time to pause before replaying the hold music file.
2016-01-22 15:30:59 +01:00
Ghislain MARY
28b029c9bc Fix automatic wrapper generation. 2016-01-22 15:06:43 +01:00
Sandrine Avakian
29f51d8d27 linphone_player_open prototype change: adding MSFactory * as parameter. 2016-01-22 14:14:39 +01:00
François Grisez
66cc5b3fc3 Fixes bad function name in linphnonecore_jni.cc 2016-01-22 11:21:07 +01:00
François Grisez
b44b872e1c Prevents the conference server to be added to the list of participants 2016-01-22 11:21:07 +01:00