stop method

Future<void> stop(
  1. Participant participant
)

Allows the local participant to stop receiving video from specific remote participants. This method does not impact audio transmission between remote participants and a conference and does not allow the local participant to stop sending remote participants’ streams to the conference.

The stop method requires a few seconds to become effective.

Implementation

Future<void> stop(Participant participant) async {
  return await _methodChannel.invokeMethod<void>(
    "stop",
    participant.toJson(),
  );
}