- This sub-project is deprecated as cast_sender and cast_receiver can operate without it.PACC enables you to use your Chromecast as an output device in Pulseaudio. This allows you to play music from your favorite player directly to your TV.
This is the PulseAudio module. It creates a virtual loudspeaker where you then can send all your music to.
First, you need to install the PulseAudio module. This has to be done only once and is described in the next section. Now, you can open your PulseAudio settings and choose the "PACC bridge" as your output device. Finally, you need to point Chrome to https://pa2cc.github.io/cast_receiver/ and start casting to your Chromecast. Enjoy!
Currently, we do not have any pre-compiled versions available. Therefore, you need to build PACC by yourself:
- Download the PACC source to
$PACC_ROOT. - Get the PulseAudio source from
http://freedesktop.org/software/pulseaudio/releases into
$PACC_ROOT/third_party/pulseaudio-X.Y/.- Check how your distro built the library.
cd $PACC_ROOT/third_party/pulseaudio-X.Y/./configure [...]
- Check out http://www.webrtc.org/native-code/development for how to get and
build the WebRTC source.
cd $PACC_ROOT/third_party/webrtc/fetch webrtc
- Generate your local PACC certificate.
make -C $PACC_ROOT/pa_module/res certs
- Build the PulseAudio module
cd $PACC_ROOT/pa_module/qmake pa_module_subdir.promakesudo mv libpa_module.so /usr/lib/pulse-X.Y/modules/module-pacc-sink.so
- Ensure that the PACC PulseAudio module is automatically loaded.
sudo echo "load-module module-pacc-sink" >> /etc/pulse/default.pasudo pactl load-module module-pacc-sink