Search Issue Tracker

By Design

Votes

1

Found in

4.1.3f3

Issue ID

545165

Regression

No

Can not change call volume from Unity app

Android

-

In Eclipse project, using the following code allows changing the call volume with the volume buttons:
setVolumeControlStream(AudioManager.STREAM_VOICE_CALL);
Using similar code in Unity changes the media volume:
UnityPlayer.currentActivity.setVolumeControlStream(AudioManager.STREAM_VOICE_CALL);

Tested device:
Samsung Galaxy S II Plus (GT-i9105P) with Android 4.1.2

Unity Versions:
4.1.3f3 (9174d583c97b)
4.1.5f1 (ed5ea3281df6)
4.2.0b4 (9eddd2297465)

Add comment

Log in to post comment