Diffusion audio à partir d’un téléphone mobile Android vers le Raspberry Pi en Airplay par sans-fil. Le Raspberry Pi est branché sur une “boite internet” par le réseau filaire. La connexion sans-fil est activé sur “boite internet”. 1) Répertoire de travail :
1 2 3 |
pi@raspberrypi ~ $ mkdir AIRPLAY pi@raspberrypi ~ $ cd AIRPLAY/ pi@raspberrypi ~/AIRPLAY $ |
2) Paquetages à installer
1 |
pi@raspberrypi ~/AIRPLAY $ sudo apt-get install libao-dev libssl-dev libcrypt-openssl-rsa-perl libio-socket-inet6-perl libwww-perl avahi-utils |
3) Installation de module Perl :
1 2 3 4 5 6 |
pi@raspberrypi ~/AIRPLAY $ git clone https://github.com/njh/perl-net-sdp.git perl-net-sdp pi@raspberrypi ~/AIRPLAY $ cd perl-net-sdp/ pi@raspberrypi ~/AIRPLAY/perl-net-sdp $ perl Build.PL pi@raspberrypi ~/AIRPLAY/perl-net-sdp $ ./Build pi@raspberrypi ~/AIRPLAY/perl-net-sdp $ ./Build test pi@raspberrypi ~/AIRPLAY/perl-net-sdp $ sudo ./Build install |
[…]