Play audio through "call volume" instead of "media volume" in android

When I play audio through the app, it emits the audio using “media volume”. How can I change this so that it plays the audio through “call volume”. Essentially, I’m facing the same problem as mentioned in this post here: react native - How can I set expo-av to use in-call volume instead of media volume (Android) - Stack Overflow

Basically I’m trying to implement a calling over VOIP feature similar to Whatsapp, Messenger etc.

I’m using:

  1. SDK Version: 46
  2. Platforms(Android/iOS/web/all): Android

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.