sendVideo method

Future<void> sendVideo(
  1. bool enable
)

Starts or stops sending video for the call.

Fot the non-conference video call it stops or starts video send (video stream is removed or added).

For the conference call it mutes or un-mutes video send (video stream in the 'muted' state will still consume a small bandwidth).

enable - True if video should be sent, false otherwise

Throws VIException, if an error occurred.

Errors:

Implementation

Future<void> sendVideo(bool enable) async {
  try {
    await _channel.invokeMethod('Call.sendVideoForCall', <String, dynamic>{
      'callId': _callId,
      'enable': enable,
    });
  } on PlatformException catch (e) {
    throw VIException(e.code, e.message);
  }
}