Commit graph

60 commits

Author SHA1 Message Date
Christophe Deschamps
e8a348ada2 - Notify LinphoneCallUpdate on call back thread
- Fix "no more call" detection to dismiss call views within call call back itself.
2021-09-16 10:27:52 +02:00
Christophe Deschamps
b9f8a7f025 - Use the new conference call API
- Displays participants when joining a conference call as a guest
2021-09-15 16:43:33 +02:00
QuentinArguillere
96787efe4c Move the currentCallContextBeforeGoingBackground from LinphoneManager to CallManager. When answering a callkit call, if app is not on foreground, disable the camera and save the call context in the CallManager to re-enable it when we return to foreground. 2021-07-02 15:33:25 +02:00
Danmei Chen
ed0fe3bb69 fix not end callkit when registration failed due to network reason 2021-06-29 15:16:25 +02:00
QuentinArguillere
7bafd37081 When enabling the video in a call, we only redirect the sound to speaker if there is not other output device connected 2021-06-25 15:52:15 +02:00
QuentinArguillere
1153a0a0e8 Fix onCallStateChanged callback that could use a nil address when searching for a contact name 2021-05-27 12:09:44 +02:00
QuentinArguillere
fe8e29542c Remove displayIncomingCall(string) 2021-05-25 13:40:59 +02:00
QuentinArguillere
88970c0e04 Replace bluetoothEnabled and speakerEnabled flags in the CallManager by isBluetoothEnabled and isSpeakerEnabled function, which will give real time state of the API based on what the linphone core getAudioDevice functions returns 2021-05-24 11:45:08 +02:00
QuentinArguillere
636e4cd67b Use the linphone functions for audio route management rather than IOS specific ones. Also removed redundant triggers on Speaker and Bluetooth buttons. 2021-05-24 11:45:08 +02:00
QuentinArguillere
7ea46b5aab Replace all proxy configs with account, and include the new push notification features from the 5.0 SDK 2021-05-24 11:45:08 +02:00
Danmei Chen
eee2ae66f3 use auto iteration 2021-04-08 15:38:08 +02:00
Danmei Chen
01bb34843d update callid for callkit 2021-03-29 10:26:30 +02:00
Danmei Chen
f5aeea9c96 fix conference issue 2021-03-25 20:21:03 +01:00
Danmei Chen
b5df5110d3 use new api configure audio session 2021-03-23 12:36:59 +01:00
Danmei Chen
dc60be7eda core is stopped when call is released 2021-02-15 20:20:05 +01:00
Danmei Chen
f8dda2f1a7 fix switch video 2021-01-05 14:51:37 +01:00
Danmei Chen
7e6a0f9e75 fix build 2021-01-04 17:41:17 +01:00
Danmei Chen
9f01c08aa4 fix build 2021-01-04 17:21:53 +01:00
Danmei Chen
894367f33b use new delegates 2021-01-04 17:21:21 +01:00
Danmei Chen
98449ef104 update api 2021-01-04 17:19:52 +01:00
Christophe Deschamps
43f303fa43 This commit modifies the way Linphone reports the calls to CallKit :
- Instead of reporting the Display name inside the remoteHandle of CXCallUpdate it now reports the SIP URI
- The display name is now inserted into localizedCallerName

The benefit of doing this is that is that it enables calling from the Phone Call History, and it is required if tel URI are activated (unless calls are not reported in phone history)

This commit also enables the ability to place calls using Linphone by long pressing tel URIs.
2020-12-02 01:18:18 +01:00
Danmei Chen
537cda59aa improve callkit 2020-11-25 22:50:00 +01:00
Danmei Chen
1ff46fe25f terminate callkit when register failed or cleared 2020-10-30 16:37:50 +01:00
Danmei Chen
bd29182dd2 decline call with busy reason 2020-09-22 18:59:27 +02:00
Danmei Chen
caadaa0958 fix outgoing call not connected for callkit 2020-07-24 10:15:51 +02:00
Danmei Chen
2e386351e1 fix can not hold call for OutgoingEarlyMedia 2020-07-21 12:47:01 +02:00
Danmei Chen
7d14a35da5 fix Incoming call with pushkit 2020-07-01 17:42:47 +02:00
Danmei Chen
eb687a0520 fix Incoming Call 2020-06-30 21:56:56 +02:00
Danmei Chen
b48704b59d fix change route audio 2020-06-17 13:48:30 +02:00
Danmei Chen
466db3ef07 update copyright 2020-06-17 09:57:37 +02:00
Danmei Chen
ecd80706bc fix speaker enabled 2020-06-16 20:01:36 +02:00
Danmei Chen
9eb004469a fix refer call 2020-06-16 12:30:24 +02:00
Danmei Chen
bbd4ad16c5 fix notification 'Missed call' 2020-06-15 10:36:46 +02:00
Danmei Chen
21fbc51405 fix not display IncomingCall when pushnotification is disabled 2020-06-12 11:34:54 +02:00
Danmei Chen
dd762b6714 fix lost of sons 2020-06-04 18:29:51 +02:00
Danmei Chen
a35eaf8217 remove useless code 2020-04-17 11:54:43 +02:00
Danmei Chen
7b4427e785 fix end call 2020-04-17 09:32:19 +02:00
Danmei Chen
a0b7dd0dda terminate early failed calls 2020-04-16 19:29:20 +02:00
Danmei Chen
44354f4f5e fix calls 2020-04-15 15:09:32 +02:00
Danmei Chen
a9952c479d fix repeat outgoing call connected 2020-04-14 20:40:46 +02:00
Danmei Chen
f43ad2d447 fix display anme for calls 2020-04-14 17:37:51 +02:00
Danmei Chen
10432eb1ca try to ensure registered for notification 2020-03-31 13:59:09 +02:00
Danmei Chen
0ca42b5d18 use alreadyRegisteredForNotification instead of defaultProxyConfig?.pushNotificationAllowed to fix double calls 2020-03-30 10:01:02 +02:00
Danmei Chen
43d31c1cdb display incoming call when push is disabled 2020-03-27 13:28:37 +01:00
Danmei Chen
8352b7a37f fix double calls 2020-03-27 11:49:41 +01:00
Danmei Chen
b0e83b970a remove useless code 2020-03-24 09:17:08 +01:00
Paul Cartier
ca38aaa90a update call terminate 2020-03-20 16:13:44 +01:00
Danmei Chen
7fdfe63632 fix speaker of call 2020-03-19 14:54:08 +01:00
Paul Cartier
e0e8d35a19 Move iterate timer to swift file 2020-03-17 10:26:05 +01:00
Danmei Chen
13535fa2c4 fix call not be ended 2020-03-10 13:54:59 +01:00