Intel® Collaboration Suite for WebRTC
Community support and discussions on the Intel® Collaboration Suite for WebRTC (Intel® CS for WebRTC).

android端音频如何调节音量

张_进_
Beginner
357 Views

目前的安卓移动端有个现象,视频音量无法调节,,调节系统的音量不起作用,请问有什么解决办法吗

0 Kudos
3 Replies
Zhen_L_
Beginner
357 Views
@SystemService
protected AudioManager audioManager;
...

audioManager.setSpeakerphoneOn(true);
audioManager.setMode(AudioManager.STREAM_VOICE_CALL);

 

这个好使

He_Z_Intel
Employee
357 Views
audioManager.setStreamVolume(AudioManager.STREAM_VOICE_CALL, /*volume*/, /*flags*/);

 

张_进_
Beginner
357 Views

thank you very much

Reply