I want a very simple setup where i can podcast via studio-link with my headset and stream the whole thing to xenim.
Therefore i have:
- Headset Mic ( alsa_output.CODEC.analog-stereo.monitor )
- Headset Speaker ( alsa_input.CODEC.analog-stereo )
- studio-link recording
- studio-link playback
I need to create an extra streaming audio device and loop what i hear and what i speak into this device:
~ pactl load-module module-null-sink sink_name=stream sink_properties=device.description="Streaming"
22
~ pactl load-module module-loopback source=alsa_output.CODEC.analog-stereo.monitor sink=stream latency_msec=1
23
~ pactl load-module module-loopback source=alsa_input.CODEC.analog-stereo sink=stream latency_msec=1
24
To find all possible device names you can run
pacmd list-sources | grep -e device.string -e 'name:'
Now lets open studio-link, set playback to CODEC Analog Stereo and Recording to CODEC Analog Stereo via pavucontrol.
We start darkice with a configuration like this:
[general]
duration = 0
bufferSecs = 5
reconnect = yes
realtime = no
rtprio = 2
[input]
sampleRate = 44100
bitsPerSample = 16
channel = 2
device = pulseaudio
paSourceName = stream.monitor
[icecast2-0]
format=mp3
channel=2
bitrate=128
bitrateMode=cbr
quality=0.6
server=master.streams.xenim.de
name=Testi test
description=Test test
public=yes
localDumpFile=dump.mp3
Comments