getLocalMediaState method
Responds with your local media state (states of your video, audio, screen sharing)
Implementation
Future<Either<ScreenMeetError, MediaState>> getLocalMediaState() async {
final Map result = await _channel.invokeMethod(_pm.kGetMediaStateCommand);
if (_pm.isSuccess(result)) { return Right(_pm.mediaState(result));}
return Left(_pm.error(result));
}