receiveVideo method

Future<void> receiveVideo()

Starts to receive video if video receive was disabled before.

Stop receiving video during the call is not supported.

Throws VIException, if an error occurred.

Errors:

Implementation

Future<void> receiveVideo() async {
  try {
    await _channel.invokeMethod('Call.receiveVideoForCall', <String, String>{
      'callId': callId,
    });
  } on PlatformException catch (e) {
    throw VIException(e.code, e.message);
  }
}