StreamManager is a Python-based application for managing audio streams using DarkIce, FFmpeg, and ALSA. It provides a web-based interface for controlling audio services and configurations, including real-time updates and editable configurations.
- Web-based Management: Control and monitor DarkIce, FFmpeg, and ALSA through a clean and responsive web interface.
- DarkIce Configuration: Edit
darkice.cfgdirectly from the web UI. - ALSA Mixer Integration: Manage audio settings like volume and input sources.
- FFmpeg Service: Start and monitor FFmpeg streams as a systemd service.
Ensure you have the following installed on your system:
- Linux (Debian/Ubuntu).
- Python 3.8+.
- System dependencies:
darkice,ffmpeg,alsa-base,libasound2-dev.
-
Clone the repository:
git clone https://github.com/DylanManiatakes/StreamManager.git cd StreamManager sudo chmod +x setup.sh sudo ./setup.sh -
Access the web interface: Open your browser and navigate to:
http://<server-ip>:5000
Edit the darkice.cfg file:
sudo nano /etc/darkice/darkice.cfgYou can also edit this configuration via the web interface.
FFmpeg is configured as a systemd service. Modify its behavior by editing /etc/systemd/system/ffmpeg-stream.service.
Activate the virtual environment:
source /opt/StreamManager/env/bin/activateRun the web server:
python3 /opt/StreamManager/webserver.pyFeel free to contribute by submitting issues or pull requests to the repository.
This project is licensed under the MIT License.