Skip to content
Snippets Groups Projects
in_stream.liq 1.5 KiB
Newer Older
  • Learn to ignore specific revisions
  • #
    # Aura Engine (https://gitlab.servus.at/aura/engine)
    #
    # Copyright (C) 2017-2020 - The Aura Engine Team.
    #
    # This program is free software: you can redistribute it and/or modify
    # it under the terms of the GNU Affero General Public License as published by
    # the Free Software Foundation, either version 3 of the License, or
    # (at your option) any later version.
    #
    # This program is distributed in the hope that it will be useful,
    # but WITHOUT ANY WARRANTY; without even the implied warranty of
    # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    # GNU Affero General Public License for more details.
    #
    # You should have received a copy of the GNU Affero General Public License
    # along with this program.  If not, see <http://www.gnu.org/licenses/>.
    
    
    # Pre-population of stream input sources, as Liquidsoap needs it to initialize this input.
    # This is overwritten as soon as some other Stream is scheduled.
    
    # #TODO Check if this is still required for Liquidsoap 2
    
    http_starturl = "https://securestream.o94.at/live.mp3"
    
    # http_starturl = "http://stream01.kapper.net:8001/live.mp3"
    
    # http_starturl = "https://live.helsinki.at:8088/live160.ogg"
    # http_starturl = "https://stream.fro.at/fro-128.ogg"
    
    # http_starturl = "http://212.89.182.114:8008/frf"
    
    
    input_http_0 = input.http(id="in_http_0", max_buffer=input_stream_max_buffer, timeout=input_stream_timeout, start=false, http_starturl)
    input_http_1 = input.http(id="in_http_1", max_buffer=input_stream_max_buffer, timeout=input_stream_timeout, start=false, http_starturl)