Intel® Collaboration Suite for WebRTC
Community support and discussions on the Intel® Collaboration Suite for WebRTC (Intel® CS for WebRTC).
Announcements
Welcome to the Intel Community. If you get an answer you like, please mark it as an Accepted Solution to help others. Thank you!
For the latest information on Intel’s response to the Log4j/Log4Shell vulnerability, please see Intel-SA-00646

android端音频如何调节音量

张_进_
Beginner
260 Views

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

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

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

 

这个好使

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

 

张_进_
Beginner
260 Views

thank you very much

Reply