-
-
Notifications
You must be signed in to change notification settings - Fork 134
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
Icecast ogg/flac output keeps disconnecting when using SRT input [2.2.0 nightly] #2965
Comments
Hi @rmens thanks for reporting. I am looking into this and will get back to you shortly. |
So looking at the script is seems that At any rate, I would suggest to add a
|
As a side note, I'm curious to know if this is working or how you are making it work:
|
Thanks @toots I'll check out if wrapping it in a
This was an optimalisation ChatGPT suggested and I just copy/pasted 🙈 This doesn't seem to work however. |
Did some more experimenting. Adding a buffer didn't solve the problem. However commenting the out the
This doesn't seem to be a problem with SRT at all. I added the |
Booted up Liquidsoap 2.1.4 and the behavior is the same. This wasn't a 2.2.0 problem after all. This whole report is probably invalid. |
Okay. Have you tried testing the ffmpeg encoder in case the issue is coming from our internal ogg/flac encoder? Something like this:
|
Ok this is with
The "Error while sending data" occurs and the ogg/flac streams gets disconnected while switching.
Now with:
Nothing got disconnected.
|
This issue is popping up again in 2.2.4-1 with my Here's my .liq file as reference. This is in the log
|
Describe the bug
I'm testing out replacing a Harbor input with a SRT input. Everything seems to work well, except that one of my three Icecast outputs disconnects when killing the SRT input and falling back to an audio file. There are three outputs to Icecast:
output.icecast(%ogg(%flac)
,output.icecast(%mp3(bitrate=192,samplerate=48000)
andoutput.icecast(%fdkaac(channels=2, samplerate=48000, bitrate=96, afterburner=true, aot='mpeg4_aac_lc', transmux='adts', sbr_mode=true)
. Only the ogg/flac output disconnects when switching from the SRT input to a static file.In the logs there is an entry
Error while sending data: could not write data to host: Unix.Unix_error(Unix.EPIPE, "write", "")!
This happens when transitioning from the SRT source to the fallback source. Not when transitioning from the fallback source to the SRT source.
To Reproduce
The script that I run is found here.
Expected behavior
All streams to Icecast to stay connected.
Version details
Install method
Nightly
.deb
packageThe fallback file is
https://upload.wikimedia.org/wikipedia/commons/6/66/Aaron_Dunn_-_Sonata_No_1_-_Movement_2.ogg
The text was updated successfully, but these errors were encountered: