Skip to content

bluez5: don't set unnecessary socket options

P V requested to merge pvir/pipewire:bt-sockbuf into master

In media-sink, there's no need to set RCVBUF.

In media-source, we don't need to set NONBLOCK, as reads are done with DONTWAIT. Don't set SNDBUF as it's not needed there. Don't set RCVBUF, but use the (big) kernel default value: decode-buffer will handle any overruns. Small values of RCVBUF might cause problems if kernel is sending packets in a burst faster than we wake up.

Merge request reports