I am using the command:
"docker run --rm -e EGRESS_CONFIG_BODY="$(cat config.yaml)" -v /root/record:/out livekit/egress"
However I get the following error:
+ export TMPDIR=/tmp/lkegress
+ TMPDIR=/tmp/lkegress
+ pulseaudio -D --verbose --exit-idle-time=-1 --system --disallow-exit
W: [pulsaudio] main.c: Running in system mode, but --disallow-module-loading not set.
N: [pulsaudio] main.c: Running in system mode, forcibly disabling SHM mode.
I: [pulsaudio] main.c: Daemon startup successful.
+ '[' -z /tmp/lkegress ']'
+ mkdir -p /tmp/lkegress
+ exec egress
{"level":"info","ts":1665045471.3235445,"logger":"egress","caller":"redis/redis.go:53","msg":"connecting to redis","nodeID" :"NE_bjdCZqenEuLW","sentinel":false,"addr":"localhost:6379"}
unable to connect to redis: dial tcp 127.0.0.16379 connect: connection refused
It does not connect to redis-server, I have tested redis with:
redis-cli -h localhost -p 6379 ping
The result is:
PONG
So redis is working perfectly.