removeAudio method

Peer removeAudio({
  1. Consumer? video,
  2. RTCVideoRenderer? renderer,
  3. PeerDevice? device,
  4. String? displayName,
  5. 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,
  );
}