Skip to content

Bug: Voice is too soft when calling or receiving calls on Android #517

@duongnguyennlsoft

Description

@duongnguyennlsoft

Environment

  • Twilio Voice React Native SDK: 1.0.0-rc8
  • Platform: Android
  • Device(s): Samsung S24, Samsung S23 Ultra
  • React Native version: 0.74.5

Description

When using the SDK to make or receive calls, the voice audio is too soft on Android devices. It sounds like the app is not using the proper call audio mode (e.g., AudioManager.MODE_IN_COMMUNICATION), which results in low volume or wrong audio routing.

I checked the SDK source and it seems there is no call to AudioManager.setMode(...) in the Java layer.

Steps to reproduce

  1. Use TwilioVoice SDK to make or receive a call on Android.
  2. Talk normally.
  3. On the receiver’s end, the volume is very low compared to system call volume or other VoIP apps.

Expected Behavior

Voice volume should be at a proper level, using the correct Android audio mode to route and amplify voice properly during the call.

Questions

  1. Does the SDK internally set AudioManager.setMode(MODE_IN_COMMUNICATION)?
  2. If not, is it recommended to set it manually in the app before and after a call?
  3. Is this a known issue? Any suggested workaround?

Thanks for the great work on the SDK!
Attached audio: voip_audio

Metadata

Metadata

Assignees

No one assigned

    Labels

    androidAffects the Android platform.triagingInvestigating but no backlog ticket has been filed.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions