Commit graph

1290 commits

Author SHA1 Message Date
François Grisez
facab07c40 Creates a new singleton object for logging features in the API of Liblinphone
(cherry picked from commit d61a62de91)
2018-04-04 13:49:25 +02:00
Ghislain MARY
5e98347b31 Add log when we cannot find the selected valid ICE pair in the case where it should be there (retrofit of commit 452234d4). 2018-04-03 17:05:02 +02:00
Mickaël Turnel
3976181afa Removed default bitrate limitation. (retrofit of commit 0d38a7) 2018-04-03 15:12:03 +02:00
Benjamin Reis
e63290b4c7 better reason management 2018-03-30 17:00:52 +02:00
Benjamin Reis
91f5e64e5c do not crash on null reason header 2018-03-30 16:56:50 +02:00
Benjamin Reis
853f442694 fix NULL reason header & missed call when timeout 2018-03-30 16:54:23 +02:00
Sylvain Berfini
8966c2ca77 Started method to get participants in given state for given chat message 2018-03-28 18:20:22 +02:00
Simon Morlat
0945515d6c Fix unreliability with custom header handling. (retrofit of commit 384669 from master branch) 2018-03-26 15:42:43 +02:00
Simon Morlat
b6678d64b6 Fix error messages printed by mediastreamer2 due to empty string instead of null string. 2018-03-26 10:34:18 +02:00
Simon Morlat
dcdb9528e6 Fix memory leaks when sending INFO messages 2018-03-21 18:27:47 +01:00
Simon Morlat
c38a2e0c77 Fix crash when trying to cancel a non-existing INVITE transaction. 2018-03-19 17:53:08 +01:00
Simon Morlat
533f47c7a9 Indicate mediastreamer2 a maximum output bitrate, so that rate control algorithm can use it. 2018-03-19 16:24:20 +01:00
Simon Morlat
6c7c56271a Implement deferred ICE reinvite response when the ICE session isn't yet completed. 2018-03-18 10:44:33 +01:00
Ghislain MARY
3a0bcc675a Some more improvements to Content-Type and Content-Disposition handling. 2018-03-16 16:55:51 +01:00
Ghislain MARY
01394ff75c Use unique_ptr for StunClient and IceAgent objects. 2018-03-16 14:55:55 +01:00
Ghislain MARY
5ec972c98d Improve Content-Type and Content-Disposition handling. 2018-03-16 14:41:12 +01:00
Sylvain Berfini
bcf1baaff1 Wait for file transfer to be downloaded before sending Displayed IMDN 2018-03-16 11:04:08 +01:00
Sylvain Berfini
032f6cd91a When creating a message with no text, create an empty Content so we can use it to store an appData 2018-03-15 15:57:59 +01:00
Sylvain Berfini
f58ba4083e Moved appData from FileContent to any Content 2018-03-15 15:46:45 +01:00
Sylvain Berfini
23287aae21 Forgot ; 2018-03-15 15:25:43 +01:00
Sylvain Berfini
5fb17f6598 Split first line of fake xml in two 2018-03-15 15:06:35 +01:00
Sylvain Berfini
a36a3c55cf Finished fake file transfer xml from external body url 2018-03-15 14:43:53 +01:00
Sylvain Berfini
3fd55c4a2b Fixes + tests for external body URL 2018-03-15 14:31:57 +01:00
Sylvain Berfini
166b0a5d62 Send message with external body url if exists 2018-03-15 14:09:42 +01:00
Sylvain Berfini
1207501da2 Started to restore external body url feature in chat message 2018-03-15 14:01:04 +01:00
Mickaël Turnel
a244da20ff Add a TMMBR callback 2018-03-15 13:58:43 +01:00
Jehan Monnier
7c27d3c9bc fix invalid read in Sal destruction 2018-03-15 08:58:34 +01:00
Ghislain MARY
09025ed3c8 Add chat room callbacks to handle subscription to registration state of participants + add new group chat tester. 2018-03-14 18:18:39 +01:00
Benjamin Reis
12660bea3a do not notify unknown device 2018-03-14 17:26:11 +01:00
Jehan Monnier
261b0f195a fix crash when destroying LinphoneCore during file upload 2018-03-14 08:21:36 +01:00
Ghislain MARY
61c79b43e0 Use C++ instead of C where possible. 2018-03-13 17:29:13 +01:00
Ghislain MARY
94ce0fa252 Fix background task handling on platforms that do not support wakelocks. 2018-03-13 15:16:44 +01:00
Ghislain MARY
ead7221c97 Handle Content-Encoding in C++ Content object. 2018-03-13 14:10:05 +01:00
Ghislain MARY
307e27e635 Allow receiving and parsing of CPIM messages without buggy Content-Type header. 2018-03-12 15:26:00 +01:00
Simon Morlat
18696f2ad2 Fix background task usage when receiving a REFER to join a chatroom.
Add a timeout, because on Android wake locks have no limit in time. The timeout will secure that whatever happens, the wake lock is always released after a reasonable time.
2018-03-09 22:14:05 +01:00
Ghislain MARY
b9eaf0a7e9 Prevent ChatRoom C++ objects from being leaked. 2018-03-09 10:20:20 +01:00
Ronan Abhamon
49e1af1f75 feat(PropertyContainer): increase performance => avoid private allocation if not used in childs 2018-03-07 17:49:13 +01:00
Ronan Abhamon
21a5f1c001 fix(core): remove useless include, virtual... And add required virtual on some classes (add a -Wdelete-non-virtual-dtor warning on clang) 2018-03-07 17:17:23 +01:00
Jehan Monnier
18d0c4ad20 improve message tester for file transfer 2018-03-07 17:16:27 +01:00
Ronan Abhamon
b6496cbfa9 fix(core): remove useless default constructors and avoid memory leak on virtual destructor 2018-03-07 16:58:59 +01:00
Ronan Abhamon
30b270f221 fix(MainDb): avoid old c-style cast 2018-03-07 15:08:09 +01:00
Ronan Abhamon
58e0b47a99 feat(MainDb): clean xml parser 2018-03-07 15:05:47 +01:00
Sylvain Berfini
1b942b3306 Fixed message state if linphone has crashed while sending it 2018-03-07 14:24:20 +01:00
Ronan Abhamon
c0f5d97a8a fix(MainDb): avoid xml copy in extractFileContentType 2018-03-07 13:53:52 +01:00
Ronan Abhamon
f1dbb519ad fix(MainDb): avoid memory leak 2018-03-07 13:48:40 +01:00
Ronan Abhamon
ae9d3012ef fix(MainDb): do not use free on content 2018-03-07 13:44:39 +01:00
Sylvain Berfini
12f0e6c1ed Fixed issue when downloading a file from a chat message loaded from database (and thus locked) 2018-03-07 13:29:15 +01:00
Sylvain Berfini
30380ff39e Fixed file transfer chat messages migration 2018-03-07 13:08:11 +01:00
Sylvain Berfini
0684cedc21 Renamed method as it is also true for uploads 2018-03-06 18:00:05 +01:00
Sylvain Berfini
9092d88775 Added method on chat message to know whether or not a download is in progress 2018-03-06 17:50:28 +01:00