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

microphone? #147

Open
adamwolf opened this issue Nov 15, 2024 · 7 comments
Open

microphone? #147

adamwolf opened this issue Nov 15, 2024 · 7 comments
Labels
moonlight-protocol Upstream moonlight protocol changes

Comments

@adamwolf
Copy link

hiya folks! Amazing piece of kit here!

My kid is asking about voice chat in Steam. I'm relatively savvy with linux and docker, but there's a lot of pieces here! :)

Is mic input something I can rig up with a custom gstreamer pipeline?

Thanks! I apologize if this is covered somewhere--I looked in the docs, here, and via Google a bit and didn't find anything.

@ABeltramo
Copy link
Member

This is probably one of the top 5 highest requested features missing from Moonlight, see: here

With that said, I guess for desktop clients, there are ways around it.. On smart TVs or consoles, it might be more challenging.
Which client are you using?

@ABeltramo ABeltramo added the moonlight-protocol Upstream moonlight protocol changes label Nov 15, 2024
@adamwolf
Copy link
Author

Whoops!

Right now, a Pi 5.

@ABeltramo
Copy link
Member

Nice, everything being Linux would allow you to use PulseAudio to send your microphone audio from the client straight into the PulseAudio server that we run in Wolf.

Or, if you configure a PulseAudio server on the host where Wolf is running and passthru the pulse socket under XDG_RUNTIME_DIR in the container, Wolf will try to connect to it instead of spinning an additional container with our pre-configured PulseAudio.

I know this might all sound too complex, I'd suggest to start messing around with PulseAudio via the network so that your PI microphone gets picked up by your server. Once that is setup, passing it thru to Wolf should be simple enough.

Sounds like a fun weekend project. I might try to set it up myself if I get some free time!

@adamwolf
Copy link
Author

adamwolf commented Nov 15, 2024 via email

@ABeltramo
Copy link
Member

Once it's there in PulseAudio, it should just appear in the Steam settings page as an available microphone.
There would be no isolation between containers so that microphone could be accessed by other Moonlight clients, but that shouldn't be a problem in your case, right?

@adamwolf
Copy link
Author

If I get to it this weekend, I'll write it up. I haven't rigged up Pulse Audio over the network but it looks pretty straightforward.

@ABeltramo
Copy link
Member

Good luck and have fun!
If you need any help, feel free to ping me here or directly on our Discord server

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
moonlight-protocol Upstream moonlight protocol changes
Projects
None yet
Development

No branches or pull requests

2 participants