-
Notifications
You must be signed in to change notification settings - Fork 27
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
compile snapcast server #46
Comments
+1 Then, I tried to cross compile v13 snapcast client/server for android on Arch, got the NDK, compiled the tools and the submodules (had to find myself). but i get stuck with the boost submodule, probably is not exactly as it was prepared for snapcast use. I downloaded boost_asio_1_10_8.zip from sourceforge and boost_1_63_0.zip from boost . org trying to get 2016 code, and tried to stitch all the hpp that compiler was asking. But get errors like: server among others errors and warnings, but i guess they originate from same mistake. I'm doing something wrong, definitely obvious for the experienced eye, but I cant see it. Its because I'm learning how to compile with snapcast xD, never done this before. I'm writing this to bring the topic into motion once more, and show that I'm trying as best as I can. Yes, that good is snapcast, and that bad I want to be able to run snapserver from android. I've taken the jump into compiling. Thanks for reading. |
The develop branch can compile the server for Android. To build the App, I recommend to use the latest Android Studio with the latest NDK and SDK and copy the required libraries to
As you can see, this server will fail to create a directory for it's settings and exit. |
The settings directory is now configurable. You can start the server from the App in a similar way as the client is started and configure a data dir and a stream source like this: |
Thanks a lot, I will work on it and update. Sweet! |
The build was successful, apk installed ok. Configured settings and took off
What a great satisfaction it feels, its alive! Muchas gracias Johannes |
Hello there, Do we still need to have the device rooted to run the Snapcast server on android ? Kind regards, |
And bonus question : wouldn't it be nice to have an APK published for Snapcast server ? |
Hello,
thank you for this nice project. I would love, if it would be possible, to compile snapcast server for android.
Idea/Background:
For University, I have to build an open source android project which uses Wifi-Direct/Bluetooth. My Idea:
Create an app, where you can connect multiple phones together (using Wifi Direct) and play music together.
How it works:
Phone A receives audio via a TCP Stream and acting as a server. Phone A is at the same time a client and connect to itself. Phone B (connected via Wifi) should work fine with snapdroid as it is now.
Problem:
When compiling snapdroid with BUILD_SERVER=ON. I get the Info: snapserver not yet supported for Android.
Question:
Is snapserver not supported because this app current does not make use of them? Or does snapcast in general not supported/compile on android?
If snapcast can be compiled for android, build instructions would be great. In the snapcast build documentation, it's only linked to this project. Therefore, I hope it correct asking here.
Thank you for any help.
The text was updated successfully, but these errors were encountered: