Streaming with VLC returns socket bind error (Permission den
Posted: 03 Aug 2014 02:19
I'm trying to stream an .mkv file using VLC on Ubuntu 12.04, but keep receiving:
I have the next setting for VLC:
And running vlc with:
As you can see I'm using port 8080, so non-root user should have access to open that port. I have also tried other ports too - no luck. Running cvlc with root doesn't help either (and that is not recommended by the documentation).
Any ideas why I keep receiving this error?
Code: Select all
[http] main interface error: socket bind error (Permission denied)
Code: Select all
new channel1 broadcast enabled
setup channel1 input /tmp/recording40.mkv
setup channel1 output #http{mux=ts,dst=:8080/live1}
setup channel1 option http-reconnect
setup channel1 option no-sout-rtp-sap option no-sout-standard-sap
option ttl=1 option sout-keep
control channel1 play
Code: Select all
nohup cvlc -Ihttp --file-logging --log-verbose=1 --logfile="vlc.log" --vlm-conf vlm.conf & echo $! > vlc.pid
Any ideas why I keep receiving this error?