All Projects → nstehr → bobcaygeon

nstehr / bobcaygeon

Licence: MIT license
Multi-room streaming, built on airplay

Programming Languages

go
31211 projects - #10 most used programming language
javascript
184084 projects - #8 most used programming language
shell
77523 projects
HTML
75241 projects

Projects that are alternatives of or similar to bobcaygeon

shairport-sync
AirPlay audio player. Shairport Sync adds multi-room capability with Audio Synchronisation
Stars: ✭ 5,532 (+29015.79%)
Mutual labels:  audio-streaming, airplay
airtunes2mqtt
Multi-Room Audio based on Airplay/Airtunes with MQTT support 🔈
Stars: ✭ 47 (+147.37%)
Mutual labels:  airplay
LMS-to-Raop
LMS to AirPlay bridge
Stars: ✭ 50 (+163.16%)
Mutual labels:  airplay
AirPlayAuth
Since tvOS 10.2 AppleTV is enforcing the "Device verification" for AirPlay, which could be manually enabled/disabled before. This library allows to pair with an AppleTV and can be used in any app supporting streaming/casting to an AppleTV.
Stars: ✭ 82 (+331.58%)
Mutual labels:  airplay
2nfm
Share your screen and computer's audio via WebRTC!
Stars: ✭ 29 (+52.63%)
Mutual labels:  audio-streaming
rAudio-1
Raspberry Pi audio player: AirPlay, Audio CD, Bluetooth, DAB radio, DSP, Internet rafio, Multi-room, Spotify Connect, UPnP
Stars: ✭ 151 (+694.74%)
Mutual labels:  airplay
mumble-discord-bridge
A simple voice bridge between Mumble and Discord.
Stars: ✭ 123 (+547.37%)
Mutual labels:  audio-streaming
libopusenc
Library for encoding .opus audio files and live streams.
Stars: ✭ 92 (+384.21%)
Mutual labels:  audio-streaming
AirConnect-Synology
Updated AirConnect packages for Synology NAS and Synology Router
Stars: ✭ 200 (+952.63%)
Mutual labels:  airplay
airplayreceiver
Open source implementation of AirPlay 2 Mirroring / Audio protocol.
Stars: ✭ 84 (+342.11%)
Mutual labels:  airplay
vlitejs
🦋 vLitejs is a fast and lightweight Javascript library for customizing video and audio player in Javascript with a minimalist theme (HTML5, Youtube, Vimeo, Dailymotion)
Stars: ✭ 162 (+752.63%)
Mutual labels:  airplay
goicy
AAC and MPEG (MP1, MP2, MP3) Icecast/Shoutcast source client written in Go
Stars: ✭ 58 (+205.26%)
Mutual labels:  audio-streaming
avdecc
A set of open source libraries for controlling AVB entities using the AVDECC (IEEE 1722.1) protocol compliant to Avnu Milan Specifications
Stars: ✭ 67 (+252.63%)
Mutual labels:  audio-streaming
iOS-Audio-to-ChromeCast
Audio Streaming from iOS devices to Google Chromecast/Home Audio Devices.
Stars: ✭ 38 (+100%)
Mutual labels:  airplay
WirelessDisplay
support main wireless display protocols of Airplay SDK, Miracast SDK, WiDi SDK, GoogleCast SDK, DLNA SDK, BJCast SDK
Stars: ✭ 72 (+278.95%)
Mutual labels:  airplay
docker-airconnect
This is a dockerized version of AirConnect (https://github.com/philippe44/AirConnect) which bridges AirPlay with Sonos and the Google Cast protocol.
Stars: ✭ 24 (+26.32%)
Mutual labels:  airplay
AirPlay
Small framework that lets users track iOS AirPlay availability and extra features.
Stars: ✭ 46 (+142.11%)
Mutual labels:  airplay
mdns-tunneller
Tunnels two (or more) mDNS domains together
Stars: ✭ 74 (+289.47%)
Mutual labels:  airplay
orcanode
Software for live-streaming and recording lossy or lossless compressed audio (HLS, DASH, FLAC) via AWS S3 buckets. ⭐
Stars: ✭ 23 (+21.05%)
Mutual labels:  audio-streaming
play-on-apple-tv
A command line tool to play any audio/video on an Apple TV.
Stars: ✭ 23 (+21.05%)
Mutual labels:  airplay

Bobcaygeon

Build Status Coverage Status Go Report Card

gord downie

Multi room speaker application.

Overview

Bobcaygeon is a multi-room speaker application. Built on top of Apple airplay, Bobcaygeon is an application (more specifically a set of applications) that will run on a raspberry pi (or similar hardware) capable of playing streamed music on one or many hardware deployments.

Current Status

Full functional airplay server; Basic multi-room functionality. Will stream to multiple clients.
Standalone frontend to provide a basic UI into the running cluster of speakers. High level API to control speakers and build zones.

Currently tested on OSX, raspberry pi and linux x86.

Build

  1. go build cmd/bcg.go
  2. go build cmd/mgmt/bcg-mgmt.go

Frontend build

Install rakyll/statik

export GOBIN=$PWD/bin
export PATH=$GOBIN:$PATH
go install github.com/rakyll/statik
1. cd cmd/frontend/webui
2. npm install && npm run build
3. cd ..
4. go generate
5. cd ../..
6. go build cmd/frontend/bcg-frontend.go

To regenerate the the grpc service: protoc -I api/ --go_out=plugins=grpc:api api/bobcaygeon.proto protoc -I cmd/mgmt/api --go_out=plugins=grpc:cmd/mgmt/api cmd/mgmt/api/management.proto protoc -I=cmd/mgmt/api cmd/mgmt/api/management.proto --js_out=import_style=commonjs:cmd/frontend/webui protoc -I=cmd/mgmt/api cmd/mgmt/api/management.proto --grpc-web_out=import_style=commonjs,mode=grpcwebtext:cmd/frontend/webui

Or use build_protos.sh

Run

-config string
        Config file to run the service, see `bcg.toml` and `bcg-mgmt.toml`
  -verbose
        Verbose logging; logs requests and response

Usage

There are a couple of ways you can run the bobcaygeon system.

  1. Install one or more instances of the bcg application on your pi's/computers. By default, the first instance of a bcg application in the cluster will act as the leader, and every subsequent instance will join in. This is the simplest way to get multi-room streaming, put a pi in each room, load up bcg on each one, and then you can connect over airplay.
  2. The slighly more advanced method of deploying atleast one bcg-mgmt and bcg-frontend instance. This will give you both a management API and a simple frontend web UI. If you want to use the web ui provided by bcg-frontend you'll also need to start an instance of the Envoy proxy. You can use the launch_envoy.sh script for that.

API

There are two layers of API to interact with, if you would like. Both are built on grpc.

  1. Each instance of bcg has a basic GRPC API: https://github.com/nstehr/bobcaygeon/blob/master/api/bobcaygeon.proto
  2. bcg-mgmt has a richer management GRPC API: https://github.com/nstehr/bobcaygeon/blob/master/cmd/mgmt/api/management.proto

Raspberry Pi Notes

You can grab the bcg-arm build and drop it on your raspberry pi. You'll need to make sure you have ALSA setup, with the development headers (libasound2-dev)

You need to enable ipv6 on your raspberry pi. To do this, add ipv6 to your /etc/modules and reboot the pi.

Dev Builds

Dev builds can be found in the google storage bucket here: bcg_artifacts. This will be the most up to date builds, and they should be relatively stable

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].