Commit graph

4155 commits

Author SHA1 Message Date
Daniel Gultsch f18ec53233
minor safeguard to ensure call integration ends 2024-03-25 10:58:20 +01:00
Daniel Gultsch 6b5fb6fee6
deliver session-initiate before integrating call
otherwise there could potentially be race conditions with
showIncomingCallUi being called before we have media information
2024-03-25 10:39:31 +01:00
Daniel Gultsch 21732237d4
add safeguards to ringtone playing twice 2024-03-25 08:50:44 +01:00
Daniel Gultsch 400cbd8eee
channel discovery screen code clean up 2024-03-20 07:26:20 +01:00
Daniel Gultsch 3e333eb972
catch exception when checking phone lock state 2024-03-19 18:00:12 +01:00
Daniel Gultsch 3d5d257707
fix system feature detection for call integration 2024-03-16 16:31:32 +01:00
Daniel Gultsch 72d194d8ff
treat delayed destruction call integration as busy 2024-03-16 16:31:32 +01:00
Daniel Gultsch a2c67a6e38
ensure that jingle ft transport is terminated 2024-03-12 19:01:39 +01:00
Daniel Gultsch 0f50f71176
prevent deletion of bookmark w/o also closing conversation 2024-03-12 09:22:26 +01:00
Daniel Gultsch 53029906bc
Merge branch '2.13.x' 2024-03-10 17:41:17 +01:00
Daniel Gultsch 9ad5b68d57
do not attempt unique/exporter channel binding on non conscrypt sockets 2024-03-10 17:40:41 +01:00
Daniel Gultsch e5cffa11be
fix stanza counting error after inline SM enable 2024-03-10 17:38:56 +01:00
Daniel Gultsch 5cca842e66
fix return to call 2024-03-07 13:37:40 +01:00
Daniel Gultsch 71763902f8
do not use call integration on devices w/o telephony support 2024-03-07 11:38:21 +01:00
Daniel Gultsch 20e1f54277
play ringback sound on android 6/7 2024-03-05 13:08:43 +01:00
Daniel Gultsch 29978a0f2a
null check SurfaceTextureHelper 2024-03-04 09:49:34 +01:00
Daniel Gultsch b9a19dc6c7
do not terminate jingle ft session twice (after iq timeout) 2024-03-04 09:49:34 +01:00
Daniel Gultsch 00f52226d8
execute all account state managments on ping thread 2024-03-04 09:49:33 +01:00
Daniel Gultsch 86b733e159
prevent receiving (as share with target) file URIs
as Element (Matrix client) demonstrated again file URIs are unnecessarily dangerous. On Android 7+ there is no good reason to process them anymore
2024-03-04 09:49:33 +01:00
p42ity e1a2d81294 Added Oukitel WP12 Pro and Volla Phone X to the list of AAC sensitive devices (truncated voice messages workaround) 2024-03-02 12:39:22 +01:00
Daniel Gultsch 6f8d8b9330
log reason for SM resume failure 2024-02-28 12:01:18 +01:00
Daniel Gultsch bd2b9b414e
do not enforce main thread for getting audio devices
fixes #206
2024-02-23 18:02:16 +01:00
Daniel Gultsch f1abfbdf35
work around dead system exception when querying active network 2024-02-23 09:54:13 +01:00
Daniel Gultsch 7eaad9842c
remove mic availability check 2024-02-23 09:54:13 +01:00
Daniel Gultsch ca1d8b4d1b
fix race condition accessing rtpSender 2024-02-23 09:54:13 +01:00
Daniel Gultsch e416a6c4eb
maintain phone accounts only for enabled accounts 2024-02-23 09:54:12 +01:00
Daniel Gultsch a04dc6e4ad
show warning when call integration accounts exceed 10 2024-02-23 09:54:12 +01:00
Daniel Gultsch d2d76322b9
show speaker configuration during ACCEPTING 2024-02-23 09:54:12 +01:00
Daniel Gultsch 18dea352b0
send jmi finish alongside session terminate 2024-02-23 09:54:12 +01:00
Daniel Gultsch 21b8bf424a
skip automatic audio device selection when BT is available 2024-02-23 09:54:12 +01:00
Daniel Gultsch a78747eaa2
react to onSilence() and stop ringtone 2024-02-23 09:54:12 +01:00
Daniel Gultsch bfe2aff7a1
show speaker selection during 'ringing' 2024-02-23 09:54:11 +01:00
Daniel Gultsch bff1ac5ebc
do not nofiy UI if UI triggered retract 2024-02-23 09:54:11 +01:00
Daniel Gultsch 5158fc4530
do not process JMI from offline queue as live messages 2024-02-23 09:54:11 +01:00
Daniel Gultsch 32da5853d7
track offline message queue 2024-02-23 09:54:11 +01:00
Daniel Gultsch ef5508e5b1
trigger incoming call integration only for rtp connections 2024-02-23 09:54:11 +01:00
Daniel Gultsch b7da7f3367
add generator for JMI finish message 2024-02-23 09:54:11 +01:00
Daniel Gultsch bcc0c32af3
fix crash when using direct jingle init on offline contacts 2024-02-23 09:54:11 +01:00
Daniel Gultsch 1090b2edd3
add optional strict offline checking for calls 2024-02-23 09:54:11 +01:00
Daniel Gultsch d4225fcf32
fix regression with screen not being put in right state 2024-02-23 09:54:10 +01:00
Daniel Gultsch 7f9d836f1a
play connected sound from sound file 2024-02-23 09:54:10 +01:00
Daniel Gultsch d31b24d05a
get rid of ToneManager and play sounds in CallIntegration instead
CallIntegration takes care of audio routing so it makes sense to play
and sounds here too
2024-02-23 09:54:10 +01:00
Daniel Gultsch 66cd50e163
add permission check to placeCall method 2024-02-23 09:54:10 +01:00
Daniel Gultsch 0ffc295888
provide alternative method to create calls for Android <8 2024-02-23 09:54:10 +01:00
Daniel Gultsch d79fc1bb79
run some AppRTCAudioManager actions on main thread 2024-02-23 09:54:10 +01:00
Daniel Gultsch 6ba9208eea
switch audio device when switching to video 2024-02-23 09:54:09 +01:00
Daniel Gultsch ebb48e9320
set correct video state for calls 2024-02-23 09:54:09 +01:00
Daniel Gultsch 6975299a28
hook into onAnswer/onReject of CallIntegration
the Operating System shows a notification on our behalf if there is currently
a call going on that can not be put on hold (For example a Quicksy call is going
on while a Conversations call is coming on)
2024-02-23 09:54:09 +01:00
Daniel Gultsch f119c36bff
(un)register phone account on xmpp account creation/deletion 2024-02-23 09:54:09 +01:00
Daniel Gultsch b9e4296321
reformat debug info 2024-02-23 09:54:09 +01:00