Commit e39f8ef9 authored by Sylvain Berfini's avatar Sylvain Berfini 🎩
Browse files

Moved AAudio volume hack to ms2

parent 920ee2a6
......@@ -13,15 +13,22 @@ This changelog file was started on October 2019. Previous changes were more or l
### Added
- RTP bundle mode feature according to .
- EnterForeground and enterBackground automatically for ios and anroid.
- Audio routes API to choose which device use to capture & play audio on Android & iOS.
- Handling push notifications, activity monitor and Core iterate automatically in Core for Android.
- Auto acquire and release of audio focus for Android.
- Added API to play user's ringtone instead of default ringtone for Android.
### Changed
- Big internal refactoring of how streams are managed within offer/answer exchanges.
- ICE now uses all IP addresses detected on the host.
- Better handling of parameter changes in streams during the session, which avoids unecessary restarts.
- Improved Android network manager.
### Fixed
- Internal refactoring of management of locally played tones, in order to fix race conditions.
- Magic search bar not looking in all friends lists.
- Error IMDN in LIME chat rooms not properly sent.
- Chat message lost during attachment auto download if Core stopped during the process.
## [4.3.0] - 2019-10-14
......@@ -227,14 +227,6 @@ public class AudioHelper implements OnAudioFocusChangeListener {
public void hackVolume() {
mAudioManager.adjustSuggestedStreamVolume(AudioManager.ADJUST_MUTE, AudioManager.STREAM_VOICE_CALL, 0);
mAudioManager.adjustSuggestedStreamVolume(AudioManager.ADJUST_UNMUTE, AudioManager.STREAM_VOICE_CALL, 0);
mAudioManager.adjustSuggestedStreamVolume(AudioManager.ADJUST_LOWER, AudioManager.STREAM_VOICE_CALL, 0);
mAudioManager.adjustSuggestedStreamVolume(AudioManager.ADJUST_RAISE, AudioManager.STREAM_VOICE_CALL, 0);
private void routeAudioToEarpiece() {
// Let's restore the default output device before the echo calibration or test
Core core = CoreManager.instance().getCore();
......@@ -174,13 +174,6 @@ public class CoreManager {
public void onAudioDeviceChanged(Core core, AudioDevice device) {
// This is required on some devices with AAudio sound card if media volume is set to 0,
// otherwise they won't head any sound until they either increase or decrease the volume.
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment