setMediaVolume method
Set media player volume.
set isSync
to be true if you want to sync both the local play volume
and the publish volume, if isSync
is false, that will only adjust the
local play volume.
volume
The range is 0 ~ 100. The default is 30.
Implementation
Future<void> setMediaVolume(
int volume, {
bool isSync = false,
}) async {
return ZegoUIKitCore.shared.setMediaVolume(volume, isSync: isSync);
}