|
|
|
@ -156,7 +156,7 @@ makeCMD() {
@@ -156,7 +156,7 @@ makeCMD() {
|
|
|
|
|
# enableOption output_format -c %% |
|
|
|
|
|
|
|
|
|
#ICECAST |
|
|
|
|
enableOption input_channel -map %% |
|
|
|
|
enableOption input_channel -map 0:%% |
|
|
|
|
enableOption channel_name \ |
|
|
|
|
-legacy_icecast 1 \ |
|
|
|
|
-content_type audio/mpeg \ |
|
|
|
@ -169,7 +169,7 @@ makeCMD() {
@@ -169,7 +169,7 @@ makeCMD() {
|
|
|
|
|
icecast://source:${config[password]}@${config[icecast]}/${config[mountpoint]} |
|
|
|
|
|
|
|
|
|
# АРХИВ |
|
|
|
|
enableOption input_channel -map %% |
|
|
|
|
enableOption input_channel -map 0:%% |
|
|
|
|
enableOption archive_log \ |
|
|
|
|
-segment_list %% \ |
|
|
|
|
-segment_list_entry_prefix "${config[archive_dir]}" \ |
|
|
|
@ -186,7 +186,7 @@ makeCMD() {
@@ -186,7 +186,7 @@ makeCMD() {
|
|
|
|
|
-strftime 1 "${config[archive_dir]}/$FILE_NAME" |
|
|
|
|
|
|
|
|
|
# АНАЛИЗ |
|
|
|
|
enableOption input_channel -map %% |
|
|
|
|
enableOption input_channel -map 0:%% |
|
|
|
|
enableOption slices_log \ |
|
|
|
|
-segment_list %% \ |
|
|
|
|
-segment_list_entry_prefix "${config[slices_dir]}" \ |
|
|
|
|