setMusicPublishVolume method
Set the remote volume of background music. The anchor can use this API to set the volume of background music heard by the remote audience.
Parameters:
id
Music track ID
volume
Volume. 100
is the normal volume. Value range: 0
–100
. Default value: 100
Implementation
Future<void> setMusicPublishVolume(int id, int volume) {
return _channel
.invokeMethod('setMusicPublishVolume', {"id": id, "volume": volume});
}