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