isVideoMute method

Future<bool> isVideoMute({
  1. HMSPeer? peer,
})

To check the video status of a peer is mute/unmute Pass in the peer object for the peer whose video status you want to check

Implementation

Future<bool> isVideoMute({HMSPeer? peer}) async {
  return await PlatformService.invokeMethod(PlatformMethod.isVideoMute,
      arguments: {"peer_id": peer != null ? peer.peerId : "null"});
}