Closed Pelican104 closed 3 months ago
This looks like an issue with your SSL configuration, most likely the SSL certificate.
But the SSL connection works in so far as the live audio feed kicks in and appears on air, it just doesn't get recorded
Hi @Pelican104,
2024/07/30 13:09:42 [input.harbor:2] Error while reading from client: SSL read() error: error:00:000000:lib(0)::reason(0)
The error is caused by input.harbor
, but I can't see it.
What client are you using to stream?
filename = "/log/stream1-%d-%m-%Y-%H:%M:%S.mp3" output.file(%mp3(bitrate=128, samplerate=44100, id3v2=true),fallible=true,filename,live)
You probably missed the migration guide for output.file
, here it is time.string.
ARCHIVE_ENCODER = %mp3(bitrate=128, samplerate=44100, id3v2=true)
ARCHIVE_FILENAME = "/log/stream1-%d-%m-%Y-%H:%M:%S.mp3"
output.file(
ARCHIVE_ENCODER,
{time.string(ARCHIVE_FILENAME)},
live,
fallible=true,
)
file called "stream1-%d-%m-%Y-%H:%M:%S.mp3" of zero length
Should not be zero length...
Thank you @vitoyucepi it was completely the output.file migration changes that were causing the problem.
Once I altered those everything started working as expected.
Thanks
Description
I've recently updated one of my players to v2.25 (I may also have changed from Intel to AMD at the same time)
Since the update the following lines no longer work
It used to be that when a user connected on the input harbor (live) a date-stamped recording would be created. Since the update all I get in the output folder is a file called "stream1-%d-%m-%Y-%H:%M:%S.mp3" of zero length. Note that the output filename does not contain a rendered timestamp, just the place holder characters.
In the log I get
2024/07/30 13:09:34 [input.harbor:3] Decoding... 2024/07/30 13:09:42 [input.harbor:2] Error while reading from client: SSL read() error: error:00:000000:lib(0)::reason(0) 2024/07/30 13:09:42 [input.harbor:2] Feeding stopped: Failure("relaying stopped").
However the live feed appears correctly in the main streaming audio output just not in the recording.
Any thoughts on what is going on here?
Thanks.
Steps to reproduce
Attempt to record a harbor input when it is connected using output.file
Expected behavior
An audio recording to commence when a live feed is connected to the input harbor
Liquidsoap version
Liquidsoap build config
Installation method
From distribution packages
Additional Info
No response