CC-4371: input.harbor for rebroadcasting webstreams has hardcoded password.
-fixed
This commit is contained in:
parent
1787be1541
commit
989f040603
2 changed files with 4 additions and 2 deletions
|
@ -393,7 +393,7 @@ end
|
||||||
dyn_out = output.icecast(%wav,
|
dyn_out = output.icecast(%wav,
|
||||||
host="localhost",
|
host="localhost",
|
||||||
port=8999,
|
port=8999,
|
||||||
password="hackme",
|
password=stream_harbor_pass,
|
||||||
mount="test-harbor",
|
mount="test-harbor",
|
||||||
fallible=true)
|
fallible=true)
|
||||||
|
|
||||||
|
|
|
@ -36,9 +36,11 @@ s2_namespace = ref ''
|
||||||
s3_namespace = ref ''
|
s3_namespace = ref ''
|
||||||
just_switched = ref false
|
just_switched = ref false
|
||||||
|
|
||||||
|
stream_harbor_pass = list.hd(get_process_lines('pwgen -s -N 1 -n 20'))
|
||||||
|
|
||||||
%include "ls_lib.liq"
|
%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)
|
web_stream = on_metadata(notify_stream, web_stream)
|
||||||
|
|
||||||
queue = on_metadata(notify, queue)
|
queue = on_metadata(notify, queue)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue