muteAudios method
Silence the targetHostIDs in PK, local host and audience in the live
streaming won't hear the muted host's voice.
If you want to cancel mute, set isMute to false.
Implementation
Future<bool> muteAudios({
required List<String> targetHostIDs,
required bool isMute,
}) async {
ZegoLoggerService.logInfo(
'targetHostIDs:$targetHostIDs, isMute:$isMute, ',
tag: 'live-streaming',
subTag: 'controller.pk, muteAudios',
);
return ZegoUIKitPrebuiltLiveStreamingPK.instance.muteUserAudio(
targetHostIDs: targetHostIDs,
isMute: isMute,
);
}