Hi,
Here's a part of my script:
source1=request.queue(id="queue",length=10.0)
source2=input.http(id="source2","http://localhost/mount1
",autostart=false,timeout=3.)
source3=input.http(id="source3","http://localhost/mount2
",autostart=false,timeout=3.)
def the_source
fallback(track_sensitive=false,[get_source_by_order(first),
get_source_by_order(second), get_source_by_order(third)])
end
source=the_source
source=audio_to_stereo(id="source",source)
source=server.insert_metadata(id="source", source)
add_skip_command(source)
source = mksafe(source)
output.icecast(%fdkaac(channels=2,bitrate=32,samplerate=44100,aot="mpeg4_he_aac_v2",transmux="adts",
sbr_mode=true),host="10.111.125.5",port=80, password="password",
mount="mount3",source)
On Fri, Feb 7, 2014 at 3:44 PM, Leonard de Ruijter <[email protected]> wrote:
> Hello,
>
> Could you give a code example? That might help me and others help you
> solve the issue.
>
> Regards,
> Leonard
>
> On 2/7/2014 2:38 PM, JD Buys wrote:
> > Hi,
> >
> > How do I get a http.input source to fallback when it can't connect to
> > the source?
> >
> > I keep getting "Connection failed: Internal http error." in the log, but
> > no fallback.
> >
> > Thanks,
> >
> > JD
> >
> >
> >
> ------------------------------------------------------------------------------
> > Managing the Performance of Cloud-Based Applications
> > Take advantage of what the Cloud has to offer - Avoid Common Pitfalls.
> > Read the Whitepaper.
> >
> http://pubads.g.doubleclick.net/gampad/clk?id=121051231&iu=/4140/ostg.clktrk
> >
> >
> >
> > _______________________________________________
> > Savonet-users mailing list
> > [email protected]
> > https://lists.sourceforge.net/lists/listinfo/savonet-users
> >
>
>
> ------------------------------------------------------------------------------
> Managing the Performance of Cloud-Based Applications
> Take advantage of what the Cloud has to offer - Avoid Common Pitfalls.
> Read the Whitepaper.
>
> http://pubads.g.doubleclick.net/gampad/clk?id=121051231&iu=/4140/ostg.clktrk
> _______________________________________________
> Savonet-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/savonet-users
>
------------------------------------------------------------------------------
Managing the Performance of Cloud-Based Applications
Take advantage of what the Cloud has to offer - Avoid Common Pitfalls.
Read the Whitepaper.
http://pubads.g.doubleclick.net/gampad/clk?id=121051231&iu=/4140/ostg.clktrk
_______________________________________________
Savonet-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/savonet-users