使其他用户对特定用户静音
How to mute other users for a specific player.
阅读时间1 分钟最后更新于 13 天前
可以使用本地静音使其他用户对特定用户静音。
VivoxParticipant.MutePlayerLocallyVivoxParticipant.UnmutePlayerLocallyVivoxServices.Instance.ActiveChannelsvoid MutePlayerLocally(string PlayerId, string ChannelName){ VivoxService.Instance.ActiveChannels[ChannelName].Where(participant => participant.PlayerId == PlayerId).First().MutePlayerLocally();}void UnmutePlayerLocally(string PlayerId, string ChannelName){ VivoxService.Instance.ActiveChannels[ChannelName].Where(participant => participant.PlayerId == PlayerId).First().UnmutePlayerLocally();}