mirror of
https://github.com/captn3m0/dotfiles.git
synced 2024-08-16 06:36:06 +00:00
6ce5147f1b
- Using pulseaudio + darkice + icecast. - icecast is proxied via apache - The admin url is restricted via apache, so I can commit the password
36 lines
1.9 KiB
INI
36 lines
1.9 KiB
INI
# this section describes general aspects of the live streaming session
|
|
[general]
|
|
duration = 0 # duration of encoding, in seconds. 0 means forever
|
|
bufferSecs = 15 # size of internal slip buffer, in seconds
|
|
reconnect = yes # reconnect to the server(s) if disconnected
|
|
realtime = yes # run the encoder with POSIX realtime priority
|
|
rtprio = 3 # scheduling priority for the realtime threads
|
|
|
|
# this section describes the audio input that will be streamed
|
|
[input]
|
|
device = pulse # OSS DSP soundcard device for the audio input
|
|
sampleRate = 44100 # sample rate in Hz. try 11025, 22050 or 44100
|
|
bitsPerSample = 16 # bits per sample. try 16
|
|
channel = 2 # channels. 1 = mono, 2 = stereo
|
|
|
|
# this section describes a streaming connection to an IceCast2 server
|
|
# there may be up to 8 of these sections, named [icecast2-0] ... [icecast2-7]
|
|
# these can be mixed with [icecast-x] and [shoutcast-x] sections
|
|
[icecast2-0]
|
|
bitrateMode = cbr # average bit rate
|
|
format = mp3 # format of the stream: ogg vorbis
|
|
bitrate = 320 # bitrate of the stream sent to the server
|
|
server = 127.0.0.1
|
|
# host name of the server
|
|
port = 8000 # port of the IceCast2 server, usually 8000
|
|
password = nautilus_music # source password to the IceCast2 server
|
|
mountPoint = listen.mp3 # mount point of this stream on the IceCast2 server
|
|
name = Music from Nautilus
|
|
# name of the stream
|
|
description = Live broadcast of what nemo is listening to
|
|
# description of the stream
|
|
url = http://me.captnemo.in
|
|
# URL related to the stream
|
|
genre = music # genre of the stream
|
|
public = no # advertise this stream?
|
|
localDumpFile = dump.mp3 # local dump file |