-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #5 from radiofrance/surround-conf
Add surround conf.
- Loading branch information
Showing
19 changed files
with
303 additions
and
112 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,3 @@ | ||
example/audio/* | ||
.*.sw* | ||
.res/.$* |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
radio_name = "myradiosurround" | ||
|
||
# Radio settings | ||
formats_picker = fun (formats) -> formats.surround | ||
aac_encoder = "aac" | ||
harbor_http_port = 7010 | ||
prometheus_server_port = 6011 | ||
liquidsoap_log_level = 3 | ||
|
||
|
||
# SRT inputs configuration | ||
input_list = [ | ||
{name="voieA_caller1", is_autofallback=true, port=10010}, | ||
{name="voieA_caller2", is_autofallback=true, port=10011}, | ||
{name="voieB_caller1", is_autofallback=true, port=10012}, | ||
{name="voieB_caller2", is_autofallback=true, port=10013}, | ||
{name="override_caller1", is_autofallback=false, port=10014}, | ||
{name="override_caller2", is_autofallback=false, port=10015}, | ||
{name="sat_sat1", is_autofallback=true, port=10016}, | ||
] | ||
livesource_state_path = "/state/#{radio_name}.livesourcestate" | ||
|
||
|
||
# HLS output configuration | ||
hls_segments_directory = "/tmp/#{radio_name}" | ||
hls_segments_enable_todo_files = false | ||
hls_state_path = "/state/#{radio_name}.hlsstate" | ||
hls_segments_http_post_enable = false | ||
hls_segments_http_post_origin = "hostname" | ||
hls_segments_http_post_target = "http://segmentforwarder" | ||
hls_formats = [ | ||
"hifi" | ||
] | ||
|
||
# ICECAST output configuration | ||
icecast_host = "icecast" | ||
icecast_port = 8000 | ||
icecast_password = "secret" | ||
icecast_formats = [ | ||
("aac", ["hifi"]) | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,18 @@ | ||
let formats = { | ||
icecast = (), | ||
hls = () | ||
surround = { | ||
icecast = (), | ||
hls = () | ||
}, | ||
stereo = { | ||
icecast = (), | ||
hls = () | ||
} | ||
} | ||
|
||
%include "formats/hls-aac.liq" | ||
%include "formats/hls-libfdk-aac.liq" | ||
%include "formats/icecast-aac.liq" | ||
%include "formats/icecast-libfdk-aac.liq" | ||
%include "formats/icecast-mp3.liq" | ||
|
||
formats = formats_picker(formats) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
# Outputs | ||
|
||
# HLS Output | ||
if hls_formats != [] then | ||
%include "outputs/hls.liq" | ||
mk_hls_output(hls_formats, radio_prod) | ||
end | ||
|
||
# Icecast Output | ||
if icecast_formats != [] then | ||
%include "outputs/icecast.liq" | ||
mk_icecast_outputs(icecast_formats, radio_prod) | ||
end |
Oops, something went wrong.