Juha Heinanen
f4ac3e9936
Minor AudioManager related improvements
2021-07-19 14:47:44 +03:00
Juha Heinanen
99081f06de
Only save/restore STREAM_VOICE_CALL volume
2021-07-01 15:55:48 +03:00
Juha Heinanen
5e9c79b560
Audio improvements:
...
- do not use MODE_NORMAL in order to avoid delay when switching to
MODE_IN_COMMUNICATION
- use volume control stream STREAM_VOICE_CALL instead of STREAM_MUSIC
2021-07-01 15:20:40 +03:00
Juha Heinanen
66d1efa63a
Intent related code cleanups
2021-06-14 14:50:52 +03:00
Juha Heinanen
9f4c8a7fb0
Play auto-answer sound when auto-answering
2021-05-24 15:16:10 +03:00
Juha Heinanen
1961b1259b
Fixed Kotlin lint warnings
2021-05-16 15:32:29 +03:00
Juha Heinanen
6e8190ba01
- In Android 10+ use picker to choose TLS Certificate and TLS CA Files
...
- Ask confirmation to reset settings to factory defaults
- Replaced downloadsPath companion variable with Utils function call
- Fixed several Kotlin lint warnings
2021-05-16 11:45:56 +03:00
Juha Heinanen
5f0d72c7be
Make some external functions private
2021-05-14 20:58:48 +03:00
Juha Heinanen
d21439ffd4
Made some vals constants
2021-05-14 20:25:00 +03:00
Juha Heinanen
dd15f017b3
Introduced Constants.kt for global constants
2021-05-14 11:07:58 +03:00
Juha Heinanen
42cccb0416
Work towards API 30 compatibility
2021-04-28 09:04:47 +03:00
Juha Heinanen
d8a4853bb0
Use numeric SDK version codes
2021-04-03 17:43:41 +03:00
Juha Heinanen
56ee575ce2
Moved constant declarations inside classes
2021-03-26 16:24:41 +02:00
Juha Heinanen
1d95d8f1be
More code laundry
2021-03-21 14:58:19 +02:00
Juha Heinanen
7912e30fb3
One more cleanup
2021-03-20 16:42:19 +02:00
Juha Heinanen
32f61016f2
Cleaned up some code and resources
2021-03-20 16:20:39 +02:00
Juha Heinanen
73498c4f7c
- Added DTMF Mode account setting
...
- Better implementation of Answer Mode account setting
2021-03-11 18:01:57 +02:00
Juha Heinanen
ad66007d58
- Always send "started" event to main activity after baresip is started
...
- No need to send "ua added" events to main activity
2021-01-21 17:10:49 +02:00
Juha Heinanen
31fa509d34
Fixed handling of call action when baresip app was not running
2021-01-21 15:37:33 +02:00
Juha Heinanen
50cde56859
Some camel casing
2021-01-07 14:29:01 +02:00
Juha Heinanen
3f7e48cf6f
Improved incoming call notification
2021-01-01 18:01:11 +02:00
Juha Heinanen
2dbc153fda
Added missed call notification
2021-01-01 15:21:34 +02:00
Juha Heinanen
6ef7c6a058
Improved handling of speakerphone
2020-12-13 11:56:34 +02:00
Juha Heinanen
dbf83e905e
Receive also VPN connectivity callbacks
2020-12-03 10:00:44 +02:00
Juha Heinanen
a35c12204b
Added Setting to turn on/off SIP request/response trace to Logcat
2020-11-18 14:56:20 +02:00
Juha Heinanen
05a228e85d
Reverted previous commit for better reliability
2020-11-16 10:46:36 +02:00
Juha Heinanen
77f65ed1ba
Update link properties only when there is change
2020-11-16 08:48:06 +02:00
Juha Heinanen
6b2b59b620
Small cleanup
2020-11-15 18:32:20 +02:00
Juha Heinanen
7226e5cfe0
Added isNetworkActive utility function
2020-11-15 18:28:01 +02:00
Juha Heinanen
f809e8ac29
Added support for VPNs
2020-11-15 16:55:19 +02:00
Juha Heinanen
12be270013
Use property syntax
2020-11-04 09:45:23 +02:00
Juha Heinanen
797cac0c0f
Call transfer improvements
2020-08-28 18:21:17 +03:00
Juha Heinanen
b1ff3ecc0e
Added call transfer capability.
2020-08-23 15:48:55 +03:00
Juha Heinanen
3558fc0e03
Backported chat crash fixes and code improvements from video branch.
2020-05-31 14:24:50 +03:00
Juha Heinanen
d169991687
- Added Call remove() method.
2020-05-08 09:51:31 +03:00
Juha Heinanen
572c38c0cc
- One more Call add() usage.
2020-05-08 09:48:01 +03:00
Juha Heinanen
590e9caded
- Better names for some UserAgent, Call, and Account functions.
2020-05-05 17:15:58 +03:00
Juha Heinanen
a350d5ac0a
- Simplified proximity sensing control with help of two new call events.
2020-05-05 09:08:37 +03:00
Juha Heinanen
a3d138bafe
- Fixed crash when returning to the previous activity after received call
...
or message.
- Better handling of proximity sensor and speaker phone.
- Use aorSpinner.tag to store aor of the selected account.
2020-05-04 20:04:54 +03:00
Juha Heinanen
d12a9aa2f9
- Moved call_peeruri API function back to Api object, since call object
...
does not exist when peer URI is needed.
2020-05-02 09:58:52 +03:00
Juha Heinanen
2d39c284b7
- Moved call related API functions to Call class.
2020-04-28 17:21:37 +03:00
Juha Heinanen
dc64dbf913
- Specify explicitly which visibility constant is used in each case.
2020-04-22 08:43:58 +03:00
Juha Heinanen
445f510486
- Added locale to toLowerCase calls.
2020-04-12 12:13:17 +03:00
Juha Heinanen
54e1a53075
- Made backup/restore to work also on Android 10 (API level 29)
...
- Suppressed some warnings.
2020-04-12 11:52:14 +03:00
Juha Heinanen
8124c98e76
- Migraded project to AndroidX.
2020-04-09 16:25:57 +03:00
Juha Heinanen
4824593a1e
- Change color of account's notification icon to white when account's Register
...
is unchecked.
2020-03-30 14:13:55 +03:00
Juha Heinanen
0be59ce6d4
- Ask authentication password at baresip start if authentication username is
...
given in account configuration, but password is not.
2020-03-19 07:59:54 +02:00
Juha Heinanen
b587910cb8
- Use usage type instead of stream type when requesting audio focus.
2020-02-23 05:28:02 +02:00
Juha Heinanen
be929c4cb4
- Default call volume now effects both voice call and music streams.
...
- Set audio mode only if needed.
2020-02-21 02:58:49 +02:00
Juha Heinanen
f1c1ea09f7
- Improved log message.
2020-02-21 02:58:49 +02:00