Advertisement
Guest User

Untitled

a guest
Aug 27th, 2024
85
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.00 KB | None | 0 0
  1. #cat /etc/pipewire/pipewire.conf.d/59-echo-cancel.conf
  2. context.modules = [
  3. # Load the echo cancellation module with virtual sink
  4. {
  5. name = libpipewire-module-echo-cancel
  6. args = {
  7. # Enable monitor mode
  8. monitor.mode = false
  9.  
  10. # Set source properties
  11. source.props = {
  12. node.name = "source.echo_cancel"
  13. node.description = "Echo Cancelled Source"
  14. }
  15.  
  16. # Set sink properties
  17. sink.props = {
  18. node.name = "sink.echo_cancel"
  19. node.description = "Echo Cancelled Sink"
  20. }
  21.  
  22. # WebRTC settings for echo cancellation
  23. aec.args = {
  24. webrtc.gain_control = true
  25. webrtc.extended_filter = true
  26. webrtc.experimental_agc = true
  27. webrtc.noise_suppression = true
  28. webrtc.ns_level = 2 # 0 = low, 3 = high
  29. }
  30. }
  31. }
  32. ]
  33.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement