Skip to content

module-protocol-pulse: Add module-roc-sink/source

Sanchayan Maity requested to merge SanchayanMaity/pipewire:roc-pipewire into master

For testing,

On remote machine

pactl load-module module-roc-source source_name=roc-source sess_latency_msec=5000 resampler_profile=high

Note that for smooth playback, the sess_latency_msec will have to be specified depending on network.

On local machine

pactl load-module module-roc-sink remote_ip=192.168.0.144 sink_name=roc-sink
gst-launch-1.0 -v filesrc location=jambi.mp3 ! mpegaudioparse ! mpg123audiodec ! audio/x-raw,format=S32LE,channels=2,rate=44100 ! pipewiresink

Do the necessary change in pavucontrol.

Tested with roc version 0.1.5. On Arch, the package is available in AUR. Note that the PKGBUILD needs to be modified prior to installation, to not depend on PulseAudio/build PulseAudio modules. Instructions for building roc from source are here.

Edited by Sanchayan Maity

Merge request reports