Run the server on one phone, then the app as a client on many devices to play music with Spotify Connect - all at exactly the same time.
SnapCast is a multi-room client-server audio player, where all clients are time synchronized with the server to play perfectly synced audio. It's not a standalone player, but an extension that turns your existing audio player into a Sonos-like multi-room solution.
This app has built-in capability to act as client and/or server. You may need to set the latency for each phone in order to get perfect synchronisation.
The server's audio input is a named pipe /tmp/snapfifo. All data that is fed into this file will be send to the connected clients. One of the most generic ways to use SnapCast is in conjunction with the music player daemon (MPD) or Mopidy, which can be configured to use a named pipe as audio output.
For more information, see the website at https://github.com/badaix/snapcast
一个手机上运行的服务器,然后将应用程序作为在许多设备上一个客户端播放音乐Spotify的连接 - 所有在完全相同的时间。
SnapCast是多室客户端 - 服务器的音频播放器,所有的客户端时间与服务器进行完美播放同步的音频同步。这不是一个独立的播放器,但是,将您现有的音频播放器到类似于SONOS的存储多房间解决方案的扩展。
这个程序有内置的能力,作为客户端和/或服务器。您可能需要为每部手机的延迟,以获得完美的同步。
服务器的音频输入是一个命名管道的/ tmp / snapfifo。被送入该文件中的所有数据将被发送到连接的客户端。其中最通用的方式来使用SnapCast与音乐播放器守护进程(MPD)或Mopidy,它可以配置为使用命名管道作为音频输出相结合。
欲了解更多信息,请参阅网站https://github.com/badaix/snapcast