CC-4371: input.harbor for rebroadcasting webstreams has hardcoded password.

-fixed
This commit is contained in:
Martin Konecny 2012-09-07 11:41:20 -04:00
parent 1787be1541
commit 989f040603
2 changed files with 4 additions and 2 deletions

View file

@ -393,7 +393,7 @@ end
dyn_out = output.icecast(%wav,
host="localhost",
port=8999,
password="hackme",
password=stream_harbor_pass,
mount="test-harbor",
fallible=true)

View file

@ -36,9 +36,11 @@ s2_namespace = ref ''
s3_namespace = ref ''
just_switched = ref false
stream_harbor_pass = list.hd(get_process_lines('pwgen -s -N 1 -n 20'))
%include "ls_lib.liq"
web_stream = input.harbor("test-harbor", port=8999, password="hackme")
web_stream = input.harbor("test-harbor", port=8999, password=stream_harbor_pass)
web_stream = on_metadata(notify_stream, web_stream)
queue = on_metadata(notify, queue)