detach method

void detach()

Detaches a MediaStream and a Participant from the VideoView to stop displaying the MediaStream.

Implementation

void detach() async {
  _participant = null;
  _mediaStream = null;
  _state?._detach();
}