attach method
- Participant participant,
- MediaStream? mediaStream
Attaches a Participant and a MediaStream to the VideoView. This allows the VideoView to display the provided MediaStream if the media stream object belongs to the provided Participant.
Implementation
void attach(Participant participant, MediaStream? mediaStream) {
_participant = participant;
_mediaStream = mediaStream;
_state?._attach(participant, mediaStream);
}