Skip to content

Instantly share code, notes, and snippets.

View milodarling's full-sized avatar

Milo Darling milodarling

View GitHub Profile
@milodarling
milodarling / README.md
Created October 16, 2018 20:17 — forked from mill1000/README.md
Headless A2DP Audio Streaming on Raspbian Stretch

About

This gist will show how to setup Raspbian Stretch as a headless Bluetooth A2DP audio sink. This will allow your phone, laptop or other Bluetooth device to play audio wirelessly through a Rasperry Pi.

Motivation

A quick search will turn up a plethora of tutorials on setting up A2DP on the Raspberry Pi. However, I felt this gist was necessary because this solution is:

  • Automatic & Headless - Once setup, the system is entirely automatic. No user iteration is required to pair, connect or start playback. Therefore the Raspberry Pi can be run headless.
  • Simple - This solution has few dependencies, readily available packages and minimal configuration.
  • Up to date - As of December 2017. Written for Raspbian Stretch & Bluez 5.43

Prerequisites

Keybase proof

I hereby claim:

  • I am milodarling on github.
  • I am milodarling (https://keybase.io/milodarling) on keybase.
  • I have a public key whose fingerprint is 76EA B126 FBB9 DFC3 0228 F105 9809 578F 57DA 49BD

To claim this, I am signing this object: