开发者

Is it possible to keep music playing normally when in a voice call on Android?

开发者 https://www.devze.com 2022-12-07 18:46 出处:网络
I\'m using Unity\'s Vivox voice chat library in a game. The library\'s documentation says that it uses MODE_IN_COMMUNICATION on Android. When on speaker, during a voice session the volume of the game

I'm using Unity's Vivox voice chat library in a game. The library's documentation says that it uses MODE_IN_COMMUNICATION on Android. When on speaker, during a voice session the volume of the game music becomes lower, and 3D sound effects seem to be weakened too. I'm not familar with Android programming. Is this an expected behaviour of Android or is the开发者_如何学Cre a way to prevent voice call from affecting music play?

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号