项目作者: BaReinhard

项目描述 :
Audio Streaming from iOS devices to Google Chromecast/Home Audio Devices.
高级语言: Shell
项目地址: git://github.com/BaReinhard/iOS-Audio-to-ChromeCast.git
创建时间: 2017-03-14T01:52:36Z
项目社区:https://github.com/BaReinhard/iOS-Audio-to-ChromeCast

开源协议:GNU Affero General Public License v3.0

下载


iOS-Audio-to-ChromeCast

Audio Streaming from iOS devices to Google Chromecast Audio Devices.
iOS-Audio-to-ChromeCast

RUNS ON UBUNTU MATE, doesn’t work on Raspbian.

Mainly created for multiroom, but works with only 1 chromecast as well

What’s needed?

  • Raspberry Pi Running Ubuntu MATE(download here)
  • 2+ Chromecast Audio’s, will work with one but then its not really multiroom audio
  • Wifi Network
  • Speakers
  • The iOS Google Home app

What does this do?

This project will setup a Raspberry Pi running Ubuntu MATE as a “middle-man” between the iOS Device and the Google Chromecasts. The Raspberry Pi will be running shairport-sync and pulseaudio-dlna. Shairport-sync allows for iOS devices to stream audio via AirPlay. Pulseaudio-dlna allows for UPnP devices on the network to be recognized and setup as pulseaudio sinks, which are then available to stream audio to.

Install

First setup your chromecasts and create a multi device group via the app Google Home, then move on to the software : (Be sure to follow the prompts, it will ask you to name your device and then after completion will ask your to reboot (it is recommended that you do))

  1. git clone https://github.com/bareinhard/iOS-Audio-to-ChromeCast
  2. cd iOS-Audio-to-ChromeCast
  3. sudo chmod +x ./install.sh
  4. sudo ./install.sh

Usage

Once you have completed the Install, simply open your browser and navigate to whatever ip address your Raspberry Pi is on, on Port 2221, i.e. 192.168.0.26:2221. From there you will be able to control which sink to play to. You will first need to connect to the Raspberry Pi from your iOS device via AirPlay, then you will be able to change the sinks via the Web Browser. To update the browsers you can simply refresh the page or click the ‘refresh sinks’ button.

Web UI Controls
Thats it! Enjoy…