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