enableVideo method

  1. @override
Future<void> enableVideo()

Enables the video module.

You can call this method either before joining a channel or during a call. If you call this method before joining a channel, the service starts in the video mode. If you call this method during an audio call, the audio mode switches to the video mode.

A successful enableVideo method call triggers the RtcEngineEventHandler.userEnableVideo (true) callback on the remote client.

To disable the video, call the RtcEngine.disableVideo method.

Note

Implementation

@override
Future<void> enableVideo() {
  return _invokeMethod('enableVideo');
}