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

android端音频如何调节音量

张_进_
Beginner
661 Views

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

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

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

 

这个好使

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

 

0 Kudos
张_进_
Beginner
661 Views

thank you very much

0 Kudos
Reply