Hey, looks like the problem only happens with this situation bellow:
1. SSL is activated on icecast and protocol `https` is set for
`output.icecast`
2. All `request.dynamic` retrieves `every` audio(s) `with less than 20 seconds`
_(everything is OK with http protocol)_
I tried into different servers and different SSL certfificates and in all tests
the problem persist.
I made this simple script if you want to `reproduce the problem`:
```
#!/usr/bin/liquidsoap
# Callback
def get_request() =
uri = list.hd(default="",get_process_lines("ls
/home/streaming/web/masculino_16_50.mp3 | sort -n | head -1"))
# Create a request
request.create(uri,persistent=true)
end
# AutoDj
inputAuto =
mksafe(cue_cut(request.dynamic(id="autoplaylist",conservative=false,get_request)))
autodj = audio_to_stereo(inputAuto)
radio = mksafe(autodj)
output.icecast(
fallible=true,
%fdkaac(samplerate=44100, bitrate=128, aot="mpeg4_aac_lc"),
id="radio_8060",
description="Default Playlist",
protocol="https",
genre="rock",
mount="/autodj",
host="xxxxxxxxxx",
port=8060,
password="xxxx",
encoding = "UTF-8",
radio)
```
I used the follow `audio` (It's just an audio that tells the time [16:50] in
pt-BR) :
[masculino_16_50.zip](https://github.com/savonet/liquidsoap/files/2948937/masculino_16_50.zip)
And that is my current `icecast 2.4.0-kh11` XML configuration:
[8060.zip](https://github.com/savonet/liquidsoap/files/2948947/8060.zip)
As you suggested, used `liquidsoap` with `log level[4]`:
[liquid_level4.log](https://gist.github.com/rafaelbaiolim/c183491a8a8e4beb312e4d03b07377f5)
I'll keep using this solution on my final code, a normal playlist seems to
reproduces
everything alright.
I made a playlist with too short audios cause normally I need to install my
radio station into different servers. And all process uses a auto install
script. The final step of script is a automated tests to verify If everything
was successfully installed.
So, do you think that is really a problem?
--
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/savonet/liquidsoap/issues/716#issuecomment-471234750
_______________________________________________
Savonet-users mailing list
Savonet-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/savonet-users