Crash after trying to play mono stream
After playing the stream "http://stream.live.vc.bbcmedia.co.uk/bbc_radio_bristol" Liquidsoap 1.4.4. crashes with following message:
2021/07/02 15:30:03 [in_http_0:3] Decoding...
2021/07/02 15:30:04 [in_http_0:3] New metadata chunk: ? -- BBC Radio Bristol.
2021/07/02 15:30:08 [in_http_0:3] Incorrect stream type!
2021/07/02 15:30:08 [clock.wallclock_alsa:2] Source strip_blank failed while streaming: Invalid_argument("index out of bounds")!
2021/07/02 15:30:08 [clock.wallclock_alsa:3] Raised by primitive operation at file "audio.ml", line 884, characters 13-19
2021/07/02 15:30:08 [clock.wallclock_alsa:3] Called from file "stream/aFrame.ml" (inlined), line 86, characters 2-61
2021/07/02 15:30:08 [clock.wallclock_alsa:3] Called from file "operators/mixing_table.ml", line 104, characters 10-34
2021/07/02 15:30:08 [clock.wallclock_alsa:3] Called from file "source.ml", line 531, characters 10-24
2021/07/02 15:30:08 [clock.wallclock_alsa:3] Called from file "operators/noblank.ml", line 144, characters 6-16
2021/07/02 15:30:08 [clock.wallclock_alsa:3] Called from file "clock.ml", line 168, characters 14-22
2021/07/02 15:30:08 [main:3] Shutdown started!
2021/07/02 15:30:08 [main:3] Waiting for main threads to terminate...
2021/07/02 15:30:08 [in_http_0:2] Feeding stopped: the decoded stream was not of the right type. The typical situation is when you expect a stereo stream whereas the stream is mono (in this case the situation can easily be solved by using the audio_to_stereo operator to convert the stream to a stereo one).
2021/07/02 15:30:08 [in_http_1:2] Feeding stopped: source stopped
2021/07/02 15:30:08 [clock.wallclock_alsa:3] Streaming loop stopped.
2021/07/02 15:30:11 [decoder:3] Method "MAD" accepted "audio/mpeg".
2021/07/02 15:30:11 [in_http_0:3] Decoding...
2021/07/02 15:30:11 [in_http_0:2] Feeding stopped: source stopped
2021/07/02 15:30:11 [main:3] Threads terminated.
2021/07/02 15:30:11 [threads:3] Shutting down scheduler...
2021/07/02 15:30:11 [threads:3] Scheduler shut down.