Skip to content
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

Add documentation on using the source:tcp, especially with 'desktop' setups (e.g. pulse/pipe wire) #1222

Open
oliv3r opened this issue Apr 19, 2024 · 3 comments

Comments

@oliv3r
Copy link

oliv3r commented Apr 19, 2024

Running snapcast on a server in the closet is great. I can do everything as it says on the box. However I sometimes also want to stream whats on my desktop. E.g. youtube, movie (audio only of course), whatever.

For this case, I'd need to use some 'tcp' (or udp) based connection. One barbaric way of doing so could be:

audio player software -> PulseAudio -> PulseAudio pipe sink -> socat remote:port snapfifo -> socat --server --port port snapfifo -> snapfifo -> snapserver -> network -> snapclient -> Alsa

(socat arguments are made up and for illustration purposes only.)

While it certainly may be possible to eliminate the server socat and directly connect to port 4593, it's an exersize left to the reader, as nothing is described here, just that snapserver can act as a server and client.

In that light, it could even be the case it would be possible to

audio player software -> PulseAudio -> PulseAudio pipe sink -> snaptcp-client -> snaptcp-server -> snapserver -> network -> snapclient -> Alsa

I suppose that doesn't require hard documentation per-say; but would be convenient.

Come to think of it, would it not be possible to directly output tcp data out of pulseaudio (or pipewire) directly to snapserver-tcp? I suppose it may require a special pulse/pipe plugin, we do want to be able to 'select' a specific output, to switch from local speakers to remote speakers; though I suppose that's a feature request on its own?

@sixtyfive
Copy link

Modern pipewire setups: #821 (comment)

@oliv3r
Copy link
Author

oliv3r commented May 6, 2024

Not sure that #821 is what I actually mean ;)

#1195 seems on one side more related though...

@sixtyfive
Copy link

A piece of documentation on how to have Linux + Mac + Windows + (modern) Linux + Android all stream/redirect their default audio outputs to the same Snapcast server would be great to have in any case!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants