Commit graph

341 commits

Author SHA1 Message Date
Benjamin Reis
0fe857bfca fix build 2018-03-21 14:37:15 +01:00
Benjamin Reis
a351f6c03c precise wether or not the chat room is one to one 2018-03-21 11:05:18 +01:00
Benjamin Reis
aa6498b6c9 map with string instead of address 2018-03-21 10:43:47 +01:00
Benjamin Reis
42ab9978e6 easier logs 2018-03-21 10:14:58 +01:00
Benjamin Reis
0bc8499bbb handle simple notify when subcribe was made for list 2018-03-20 16:39:47 +01:00
Sylvain Berfini
c001364b39 Merge branch 'dev_refactor_cpp' into dev_content_cpp 2018-03-20 15:39:47 +01:00
Benjamin Reis
177dd8778c Merge remote-tracking branch 'origin/dev_content_cpp' into dev_chatroom_list_subscription 2018-03-20 15:02:18 +01:00
Benjamin Reis
12fb92ec0b fix body of notify 2018-03-20 13:57:28 +01:00
Benjamin Reis
561c5dd757 only accept subscription if there is something to send 2018-03-20 12:18:30 +01:00
Benjamin Reis
55d7e53da0 accept/deny chatroom list subscription 2018-03-20 12:16:43 +01:00
Benjamin Reis
8cc040065e fix crash on server 2018-03-20 12:12:53 +01:00
Benjamin Reis
1394899408 Merge branch 'dev_refactor_cpp' into dev_chatroom_list_subscription 2018-03-20 10:40:25 +01:00
Sylvain Berfini
fa37a0cd50 Merge branch 'dev_refactor_cpp' into dev_content_cpp 2018-03-19 17:58:53 +01:00
Simon Morlat
c38a2e0c77 Fix crash when trying to cancel a non-existing INVITE transaction. 2018-03-19 17:53:08 +01:00
Sylvain Berfini
bca906e399 Merge branch 'dev_refactor_cpp' into dev_content_cpp 2018-03-19 17:01:05 +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
Benjamin Reis
fe3bf89ccc Revert "add friend class"
This reverts commit 2dabaf6f47.
2018-03-19 16:10:00 +01:00
Benjamin Reis
2dabaf6f47 add friend class 2018-03-19 16:07:47 +01:00
Benjamin Reis
63b08b7ebf fix crash on core destruction 2018-03-19 16:00:01 +01:00
Benjamin Reis
980b440e88 fix crashes 2018-03-19 14:43:25 +01:00
Benjamin Reis
198ea9fbac add header to discriminate chat room list subscription 2018-03-19 13:47:48 +01:00
Benjamin Reis
8edcc9f71f call localListEventHandler when necessary + use subscribeReceived instead of subscriptionStateChanged 2018-03-19 12:21:09 +01:00
Benjamin Reis
f983662df8 set device event of a server chat room when receiving a list subscription 2018-03-19 10:25:38 +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
Benjamin Reis
9366856ee9 generate rlmi content for notify body 2018-03-17 12:15:52 +01:00
Benjamin Reis
df28cf9469 generate random token for identifying a part in the notify body 2018-03-17 11:51:16 +01:00
Benjamin Reis
477e5f698c better generation of the notify body 2018-03-16 20:38:26 +01:00
Benjamin Reis
cb720429fa sarting to generate notify body 2018-03-16 20:24:57 +01:00
Benjamin Reis
ca7dd265fc get notify body for each entry of the subscribe 2018-03-16 20:08:08 +01:00
Benjamin Reis
040ecf2448 start parsing of subscribe to generate notify body 2018-03-16 17:43:02 +01:00
Benjamin Reis
164075f4f5 start server side of list chat room subscription 2018-03-16 17:14:29 +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
Benjamin Reis
dc05b6821f avoir memory leak 2018-03-16 11:32:16 +01:00
Benjamin Reis
3728262f9a integration of chatroom list subscription on client side 2018-03-16 11:27:24 +01:00
Benjamin Reis
8f653ab4bf now it compiles 2018-03-15 15:48:59 +01:00
Mickaël Turnel
a244da20ff Add a TMMBR callback 2018-03-15 13:58:43 +01:00
Benjamin Reis
1f4df0b4d8 start of implementing list subscription 2018-03-15 11:55:54 +01:00
Benjamin Reis
12660bea3a do not notify unknown device 2018-03-14 17:26:11 +01:00
Ghislain MARY
61c79b43e0 Use C++ instead of C where possible. 2018-03-13 17:29:13 +01:00
Ghislain MARY
ead7221c97 Handle Content-Encoding in C++ Content object. 2018-03-13 14:10:05 +01:00
Ghislain MARY
b9eaf0a7e9 Prevent ChatRoom C++ objects from being leaked. 2018-03-09 10:20:20 +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
Ronan Abhamon
b6496cbfa9 fix(core): remove useless default constructors and avoid memory leak on virtual destructor 2018-03-07 16:58:59 +01:00
Simon Morlat
204e218bb0 Fix : move Cpu lock and so on into the Call object. There are not needed for INVITE sessions without media (like group chat), and they cause important battery drain because the phone will stay awake all the time since the INVITE session never BYEs. 2018-03-02 20:51:54 +01:00
Ghislain MARY
587e951845 Ooopppsss... Forgot one file in last commit. 2018-02-28 11:48:43 +01:00
Ghislain MARY
3ec59a1239 Allow not sending SIP RINGING message. 2018-02-28 11:47:01 +01:00
Ghislain MARY
c8823c1023 Add CallSession::getPreviousState() method. 2018-02-28 10:43:33 +01:00
Benjamin Reis
0a0ff95237 refactor code 2018-02-22 11:35:17 +01:00
Benjamin Reis
fbdca469c7 refactor code 2018-02-22 10:45:58 +01:00