use a http-input as a primary source (icecast mount with a 128kbps stereo feed) and switch to a live-source with input.harbor (aac+ stereo feed with 48kbps / occasionally mono hence the audio_to_stereo operator in the script).
I have figured that I run into buffer_overrun errors once the transition to harbor.input has been made. also, transition back from live to the http input causes crippled sound. this does not happen when i use a playlist based source. my first thought was that there was a clock/timing issue. so i have tried to optimize things with the 'max' parameter, but it didn't help.
question: how can this setup (http input as primary source) and input.harbor be accomplished in a way that a smooth transition with no errors in the log can be made? would it help to play a jingle before and after the transition? and if, how could this be made?
thanks for any help,
here's the script:
#Metainfo to this channel
channelid = "harbor.input test dmd2"
channelname = "harbortest"
channelurl1 = "hotelradio.com
live = input.harbor("liveinput",port=8080,max=0.,password="foo")
stereolive = audio_to_stereo(live)
# Channel sourcing
#s = playlist (reload=80000, "Y:\50_hotelradio\m3u\softpop_autogenerated\2000gold.m3u")
s = input.http("http://ch-be02-ice:8080/barix_hi
output = fallback(track_sensitive=false,