Commit graph

58 commits

Author SHA1 Message Date
Simon Morlat
bb0d2409bd Fix soundcard usage optimization for iOS: after a conference call the AudioUnit wasn't released, which was causing next call to have no audio. 2018-04-13 09:21:17 +02:00
Ghislain MARY
fdbf787141 Fix audio conference. 2017-12-13 15:53:38 +01:00
Sylvain Berfini
d244864db6 Fixed android build 2017-12-04 15:41:20 +01:00
Ghislain MARY
2f1d16a306 Use c-wrapper for the Core object. 2017-12-04 13:56:32 +01:00
François Grisez
86b626d3fe Migration of Sal and SalOp into C++ classes 2017-09-29 17:19:52 +02:00
Ronan Abhamon
437f43665e feat(c-wrapper): now belle-sip types are declared in this file 2017-09-25 14:18:35 +02:00
Ronan Abhamon
b2a0cd770e fix(core): deal with new cpp flags 2017-09-20 12:45:17 +02:00
Ronan Abhamon
e78064859a feat(Core): use for (var : list) syntax when possible (coreapi) 2017-09-19 10:53:12 +02:00
Ghislain MARY
7588a54016 Convert LinphoneCall to Call C++ class. 2017-09-08 14:15:08 +02:00
Ghislain MARY
d795a30518 Convert LinphoneCallParams to use MediaSessionParams C++ class. 2017-09-07 14:07:47 +02:00
Ghislain MARY
7ceddff0b9 Do not rename files to compile them as C++. 2017-07-24 11:56:50 +02:00
Ghislain MARY
b9b283dcdb Compile source files as C++. 2017-07-21 17:06:41 +02:00
Simon Morlat
a9b93af101 Conference fixes. current call must not be set for conference calls. 2017-06-07 16:03:14 +02:00
Simon Morlat
4fccaf7b8f fix bugs with local conferencing implementation:
- the local participant was not added when the conference is started from scratch
- the conference reINVITE was accidentally turning off implicit avpf.
2017-06-02 16:58:17 +02:00
Simon Morlat
7e52892bf5 fix compilation issue with old g++ 2017-05-31 09:38:01 +02:00
Simon Morlat
3b0a9c0048 add new method to create a conference from a list of participants. 2017-05-15 18:06:47 +02:00
François Grisez
408da4db34 Declared the return type of functions returning an error code as LinphoneStatus 2017-04-13 17:00:23 +02:00
Ghislain MARY
cb0f77fce2 Fix build on Windows. 2017-03-22 15:38:01 +01:00
Ghislain MARY
a4b206aec8 Fix conference. 2017-03-20 11:55:29 +01:00
Ghislain MARY
6a9b199af6 Remove a lot of deprecation warnings. 2017-03-17 17:49:45 +01:00
François Grisez
ac7bf95ea2 Based LinphoneConference and LinphoneConferenceParams on belle_sip_object_t 2017-03-17 16:41:20 +01:00
Ghislain MARY
e53d4cf70d Improve API so that it is more object-oriented. 2017-02-13 16:18:37 +01:00
Ghislain MARY
cd4870d5ad Some refactoring to have a more object-oriented API. 2017-02-07 15:32:42 +01:00
Simon Morlat
656ff43b13 fix most common warnings 2017-01-14 14:13:26 +01:00
François Grisez
85b5ca097a Reworking of Liblinphone API
* Introduction of LinphoneFactory singleton class to create
  core-independent object like LinphoneAddress or LinphoneVcard.
* Make several C structures inherite from belle_sip_object_t class:
	* LinphoneCore
	* LinphoneVcard
	* LinphoneAuthInfo
* Creation of the LinphoneCoreCbs class that enable to store the
  callbacks used by LinphoneCore.
2017-01-12 17:47:01 +01:00
Ghislain MARY
300c8b8737 Fix build for Windows 10. 2016-07-04 15:20:13 +02:00
Ghislain MARY
b535d1f153 Use bctbx_list_t instead of MSList that has been deprecated. 2016-06-16 17:42:33 +02:00
Ghislain MARY
728c6887f1 Fix some compilation warnings. 2016-06-06 17:12:01 +02:00
François Grisez
7559624f53 Fixes many memory issue in the code of the conference feature 2016-05-16 16:28:30 +02:00
François Grisez
129de71fe1 Small reworking of LinphoneConference
* Move calls to Conference::addParticipant()/removeParticipant()
* Delete all calls to linphone_call_ref() and linphone_call_unref()
2016-05-10 15:51:32 +02:00
François Grisez
88d3811871 Fixes memory leak in "Eject from 4 participants conference" tester 2016-05-10 15:51:32 +02:00
Simon Morlat
6077331d03 restrict the creation of additional outgoing calls to avoid conditions of conflicting access to soundcard 2016-02-26 17:24:42 +01:00
François Grisez
4b91e2b029 Add a pre-condition to linphone_conference_remove_participant() 2016-02-26 13:48:36 +01:00
Gautier Pelloux-Prayer
b0c8780281 linphonecore.c: fix linphone_core_mic_enabled which returned opposite value in conference mode 2016-02-18 15:57:18 +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
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
22e62b660f Merge branch 'master' of git.linphone.org:linphone into dev_msfactory
# Conflicts:
#	gtk/videowindow.c
2016-01-26 09:43:02 +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
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
1afed9cd17 Propagating changes from conference and webcam in mediastreamer.
Updating conference as well in linphone.
2016-01-19 10:50:01 +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
François Grisez
fc9dc6093b Add a method to LinphoneCallLog to check whether a call was a call to a conference server 2016-01-14 17:00:06 +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
2e52ca9e8a Prevents Conference.getParticipants() from including the URI of the conference focus 2016-01-11 15:03:26 +01:00
François Grisez
f838206f69 Save a copy of the list of participants in linphone_conference_get_participants() 2016-01-08 14:09:20 +01:00
François Grisez
d7e761b09e Send REFER with BYE in dialog 2016-01-06 10:07:40 +01:00
François Grisez
ca05715af6 Fix crash in JNI concerning the removeListener() function 2016-01-04 16:45:18 +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