startVideo method

  1. @Deprecated('This method is not supported in SDK 3.7 and replaced with the start methods that are available in the [LocalVideo](./../LocalVideo-class.html) and [RemoteVideo](./../RemoteVideo-class.html) models.')
Future<void> startVideo(
  1. Participant participant
)

Notifies the server to either start sending the local participant's video stream to the conference or start sending a remote participant's video stream to the local participant. The behavior depends on the specified participant in participant parameter. The startVideo method does not control the remote participant's video stream; if a remote participant does not transmit any video stream, the local participant cannot change it using the startVideo method.

Implementation

@Deprecated(
    'This method is not supported in SDK 3.7 and replaced with the start methods that are available in the [LocalVideo](./../LocalVideo-class.html) and [RemoteVideo](./../RemoteVideo-class.html) models.')
Future<void> startVideo(Participant participant) async {
  await _methodChannel.invokeMethod<void>("startVideo", participant.toJson());
  return Future.value();
}