setMusicPlayoutVolume abstract method

void setMusicPlayoutVolume(
  1. int id,
  2. int volume
)

Setting the Local Playback Volume of a Specific Music Track

This API is used to control the local playback volume (the volume heard by anchors) of a specific music track.

  • Parameters:
    • id(int):
      • Music ID.
    • volume(int):
      • Volume. Value range: 0-100; default: 60.

Note If 100 is still not loud enough for you, you can set the volume to up to 150, but there may be side effects.

Implementation

void setMusicPlayoutVolume(int id, int volume);