Commit graph

1133 commits

Author SHA1 Message Date
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
Sandrine Avakian
c0566bbad0 Updating sip_setup_register_all to use ms_factory_load_plugins. 2016-02-03 12:35:48 +01:00
Jehan Monnier
29e0109c53 -Publish are now implemented using LinphoneEvent API. 2016-02-02 18:54:39 +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
4b0e433b43 Merge branch 'master' of git.linphone.org:linphone into dev_msfactory 2016-01-29 14:29:17 +01:00
Jehan Monnier
58cb7a3f57 use belle-sip refresher with dialog terminated recovery capability 2016-01-28 17:48:11 +01:00
Sandrine Avakian
f19cff2112 Updating media streamer and propagating changes. 2016-01-28 12:19:28 +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
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
c329b10669 implement independant controls for media and sip network reachabilities. 2016-01-22 17:52:25 +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
Sandrine Avakian
d961cb08c5 Fixing bug in ms_factory_voip_init. 2016-01-21 14:55:37 +01:00
Sandrine Avakian
b8468a56a1 Attempt on fixing ring stream. 2016-01-21 13:20:19 +01:00
Sandrine Avakian
1f624ada80 Updating echo cancellation and adding MSFactory into Sal structure. 2016-01-20 15:12:12 +01:00
Sandrine Avakian
e5632b3ee3 Merge branch 'master' of git.linphone.org:linphone into dev_msfactory
# Conflicts:
#	mediastreamer2
2016-01-20 09:04:11 +01:00
Simon Morlat
9a8ee6ddf5 update for new ortp logging api 2016-01-19 16:25:43 +01:00
Sandrine Avakian
48b10c1724 Update media streamer2 : text stream, ring stream, audio stream.
Adding declaration of void ms_factory_set_mtu  in factory.h.
Adding a getter linphone_core_get_factory(void *lc) in linphonecore.h.
2016-01-19 13:58:21 +01:00
Sandrine Avakian
bbcbbc38d0 Merge branch 'master' of git.linphone.org:linphone into dev_msfactory 2016-01-18 14:05:37 +01:00
Gautier Pelloux-Prayer
67f9bd2068 linphonecore.c: since log level is a mask, do not compare with == operator but & instead 2016-01-18 13:31:26 +01:00
Sandrine Avakian
570266ea36 First changes to have the LinphoneCore instance own the factory object instead of sharing
it through a static variable.
2016-01-15 16:39:27 +01:00
Jehan Monnier
a1c8d9f99c make sure in case of SRTP DTLS enabled, ice reinvite is disabled & mandatory encryption is activated 2016-01-15 15:36:38 +01:00
François Grisez
523ad425a5 Add a class storing conference parameters 2016-01-13 11:55:30 +01:00
François Grisez
f0d1446f22 Renames LinphoneConference.getParticipantsCount() into getSize() 2016-01-11 15:10:04 +01:00
François Grisez
41545fadbd Fixes conflicts between François and Ghislain's "internal" parameter of vtables 2016-01-07 10:57:32 +01:00
François Grisez
38dfb9ab6f Merge branch 'dev_conference_rfc4579' 2016-01-07 10:13:04 +01:00
Simon Morlat
60708a53ab repair message storage 2016-01-06 17:40:36 +01:00
Simon Morlat
590f80a463 fix build and bad declaration. 2016-01-05 21:25:14 +01:00
Simon Morlat
e4d97e2a51 add release methods for friends and friend list, so that the core can properly shutdown without leaving references. 2016-01-05 21:15:02 +01:00
Gautier Pelloux-Prayer
b711888ac0 ringplayer: add ring player object to play ringtones (CAF on iOS, WAV otherwise) 2016-01-05 10:31:23 +01:00
Ghislain MARY
ce01af18f7 Notify presence list notify events only to the internal vtables. 2016-01-04 17:06:50 +01:00
François Grisez
ca05715af6 Fix crash in JNI concerning the removeListener() function 2016-01-04 16:45:18 +01:00
Simon Morlat
3d791362ee add new rings and enable the ones by default 2015-12-21 16:10:09 +01:00
François Grisez
6e655d7430 Add the ability to remove a participant from a remote conference
That new feature has not been tested yet neither with Telefonica's server nor
in liblinphone tester. That one does not still work because the LinphoneCore
instance simulating the conference server does not handle REFER with BYE requests.
2015-12-18 18:09:31 +01:00
Ghislain MARY
3efa134bed Fix log collection crashes. 2015-12-18 16:41:35 +01:00
Ghislain MARY
fb6d0dd135 Merge branch 'dev_presence_list' 2015-12-18 15:01:10 +01:00
François Grisez
18fde493f7 Rename the two implementations of the Conference interface 2015-12-08 14:30:38 +01:00
Sandrine Avakian
d277ef7517 Merge branch 'master' of git.linphone.org:linphone 2015-12-07 15:19:48 +01:00
Sandrine Avakian
91f63591f7 Added boolean parameter implicit_rtcp_fb in LinphoneCallParams and SalStreamDescription to enable or disable the forcing of AVPF messages feature in AVP.
By default, the feature is enabled and RTCP feedback messages PLI, SLI, RPSI and FIR are supported.
2015-12-07 15:19:29 +01:00
François Grisez
0a4fab5987 Add a method to LinphoneCore to get a pointer to the internal conference object 2015-12-07 11:23:17 +01:00
Simon Morlat
6325178af5 Update ms2 and rely on the new specific codec offer answer logic declaration. 2015-12-04 22:27:57 +01:00
François Grisez
b675b29777 Do not automatically enter the conference when the 'Transport' implementation is used 2015-12-04 14:48:42 +01:00
François Grisez
c526791c63 Conference implementation based on focus server 2015-12-04 13:45:04 +01:00
Sandrine Avakian
3995ab275d Merge branch 'master' of git://git.linphone.org/linphone 2015-12-03 13:46:42 +01:00
Sandrine Avakian
2eb4221917 Update in linphone_core_init_default_params to take into account parameter avpf_enabled instead of always being disabled by default. 2015-12-03 13:45:01 +01:00