Compare commits
1 Commits
c0e84f1460
...
6bc964d8fa
Author | SHA1 | Date |
---|---|---|
|
6bc964d8fa |
|
@ -6,3 +6,7 @@ internal_icecast_password=environment.get(default="source", "INTERNAL_ICECAST_PA
|
|||
|
||||
rektfm_username=environment.get("REKTNETWORK_USERNAME")
|
||||
rektfm_password=environment.get("REKTNETWORK_PASSWORD")
|
||||
|
||||
streaminginternet_username=environment.get("STREAMINGINTERNET_USERNAME")
|
||||
streaminginternet_password=environment.get("STREAMINGINTERNET_PASSWORD")
|
||||
streaminginternet_channel=environment.get("STREAMINGINTERNET_CHANNEL")
|
||||
|
|
|
@ -164,3 +164,30 @@ if null.defined(rektfm_username) and null.defined(rektfm_password) then
|
|||
# a_vorbis,
|
||||
))
|
||||
end
|
||||
|
||||
# streaminginternet
|
||||
if null.defined(streaminginternet_username) and null.defined(streaminginternet_password) and null.defined(streaminginternet_channel) then
|
||||
setup_harbor_stream_api(output.icecast(
|
||||
id="out_a_streaminginternet",
|
||||
fallible=true,
|
||||
mount="#{null.get(streaminginternet_channel)}/master_signal",
|
||||
port=61120,
|
||||
host="publish.streaminginter.net",
|
||||
user=null.get(streaminginternet_username),
|
||||
name=null.get(stream_name),
|
||||
description=null.get(stream_description),
|
||||
password=null.get(streaminginternet_password),
|
||||
start=true,
|
||||
%ffmpeg(
|
||||
format="ogg",
|
||||
%audio(
|
||||
codec="libvorbis",
|
||||
flags=2, # CODEC_FLAG_QSCALE (enables VBR mode based on qscale aka global_quality)
|
||||
global_quality=1180., # gets divided by FF_QP2LAMBDA=118
|
||||
),
|
||||
),
|
||||
a,
|
||||
# %ffmpeg(format="ogg", %audio.copy),
|
||||
# a_vorbis,
|
||||
))
|
||||
end
|
||||
|
|
Loading…
Reference in New Issue