mirror of
https://github.com/nestriness/nestri.git
synced 2025-12-12 08:45:38 +02:00
✨ feat(server): Add pulseaudio to capture sound (#10)
## Description **What(what issue does this code solve/what feature does it add):** We do not have a way to capture sound inside the container. **How(how does it solve it):** 1. Install pulseaudio inside the container 2. Add an entrypoint.sh where we start the pulseaudio ## Required Checklist: - [ ] I have added any necessary documentation and comments in my code (where appropriate) - [ ] I have added tests to make sure my code runs in all contexts ## Further comments
This commit is contained in:
4
.scripts/entrypoint.sh
Normal file
4
.scripts/entrypoint.sh
Normal file
@@ -0,0 +1,4 @@
|
||||
#!/bin/bash
|
||||
|
||||
#Start pulseaudio
|
||||
/usr/bin/pulseaudio --system --verbose --log-target=stderr --realtime=true --disallow-exit -F /etc/pulse/default.pa
|
||||
Reference in New Issue
Block a user