Intel® Collaboration Suite for WebRTC
Community support and discussions on the Intel® Collaboration Suite for WebRTC (Intel® CS for WebRTC).
Announcements
The Intel sign-in experience has changed to support enhanced security controls. If you sign in, click here for more information.

android端音频如何调节音量

张_进_
Beginner
393 Views

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

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

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

 

这个好使

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

 

张_进_
Beginner
393 Views

thank you very much

Reply