removeVideo method
Peer
removeVideo({
- Consumer? audio,
- RTCVideoRenderer? renderer,
- PeerDevice? device,
- String? displayName,
- String? id,
Implementation
Peer removeVideo({
Consumer? audio,
RTCVideoRenderer? renderer,
PeerDevice? device,
String? displayName,
String? id,
}) {
return Peer(
audio: audio ?? this.audio,
video: null,
renderer: renderer ?? this.renderer,
displayName: displayName ?? this.displayName,
// device: device ?? this.device,
id: id ?? this.id,
);
}