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
Hardware Output Audio using ALSA breaks stream #2896
Comments
Check the liquidsoap logs to check if it started properly. Failure for the system output will make liquidsoap crash at some point. |
Here is what the logfile for liquidsoap outputs in
I'm guessing this may be the cause of the issue?
I did install alsa-utils and alsamixer to try and see if that fixed the issue but no dice.. |
Does aplay work and play out things? https://www.geeksforgeeks.org/aplay-command-in-linux-with-examples/ has some examples on how to test |
I tried |
Still having issues with this, any other methods I should try to get this working? |
Have you tried with pulseaudio? |
Hi jooola, Yes I did. It seems to print out the same error saying that there is 'No such file or directory'. But I did try playing through the terminal and it seems to play files, but the stream keeps breaking and looping to set up the mount point again.. |
Describe the bug
When enabling Hardware Output Audio in the configuration file, then restarting Libretime services, Liquidsoap seems to have trouble with dealing with any output streams and constantly exits and relaunches. The On Air light is also extinguished when a file should be playing and the local Icecast stream drops out and comes back rapidly.
Trying to output audio to built in 'Line Out' on motherboard and also tried a USB Soundcard, both methods yield same errors. Also, for the record, I did add the 'libretime' user to the 'audio' group! ;-)
To reproduce
/etc/libretime/config.yml
true
and enter kind asalsa
sudo systemctl restart libretime.target
Expected behavior
Audio output to be sent to soundcard/line out and local streams running on local Icecast server
Relevant log output or error messages
LibreTime version
4.0.0
Installation method and OS / Environment
Operating system: Ubuntu Server Focal Fossa 20.04.5
Method: Installer script
Installation details
No response
Client Environment
Operating system: macOS Ventura 13.4
Browser: Google Chrome 120.0.6099.216
Screenshots
The text was updated successfully, but these errors were encountered: