Add mobile mpd stream
This commit is contained in:
parent
f72994664c
commit
a80f21e57c
3 changed files with 20 additions and 3 deletions
|
|
@ -89,20 +89,35 @@ auto_update "yes"
|
|||
|
||||
# Use a fixed format for the HTTP stream because it cannot switch its audio
|
||||
# format on-the-fly when the song changes.
|
||||
# see https://mpd.readthedocs.io/en/latest/plugins.html#httpd
|
||||
# See https://mpd.readthedocs.io/en/latest/plugins.html#httpd.
|
||||
# See https://wiki.xiph.org/Opus_Recommended_Settings#Recommended_Bitrates for
|
||||
# recommended Opus settings.
|
||||
audio_output {
|
||||
type "httpd"
|
||||
name "HTTP Stream"
|
||||
name "HTTP high quality stream"
|
||||
encoder "opus"
|
||||
port "{{ mpd_http_stream_port }}"
|
||||
bind_to_address "{{ vpn_listen_address }}"
|
||||
bitrate "128000"
|
||||
format "48000:16:1"
|
||||
format "192000:24:2"
|
||||
always_on "yes"
|
||||
tags "yes"
|
||||
max_clients "0"
|
||||
}
|
||||
|
||||
audio_output {
|
||||
type "httpd"
|
||||
name "HTTP mobile stream"
|
||||
encoder "opus"
|
||||
port "{{ mpd_http_mobile_stream_port }}"
|
||||
bind_to_address "{{ vpn_listen_address }}"
|
||||
bitrate "96000"
|
||||
format "44100:16:2"
|
||||
always_on "yes"
|
||||
tags "yes"
|
||||
max_clients "1"
|
||||
}
|
||||
|
||||
|
||||
#
|
||||
# Character Encoding ##########################################################
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue