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:
Wanjohi
2024-04-03 21:32:17 +00:00
committed by GitHub
parent 5492f2201f
commit b381e44b96
3 changed files with 17 additions and 51 deletions

4
.scripts/entrypoint.sh Normal file
View 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