rafael2k / darkice

DarkIce is a live audio streamer. It records audio from an audio interface (e.g. sound card), encodes it and sends it to a streaming server. This is the official development repository of Darkice.
http://www.darkice.org
198 stars 46 forks source link

Unable to use with airtime pro #129

Open apdel opened 6 years ago

apdel commented 6 years ago

Currently running darkice on a Rasp. Pi under Raspberrian , compiled with mp3 support.

Any attempt to run darkice results in : " DarkIce: DarkIce.cpp:1187: can't open connector [0] "

Spending most of the night reading google search results I came across a note from a developer saying that this error can appear when you are unable to connect to the streaming server.

I tested the server with multiple encoders, and I believe I found the problem.

Airtime Pro requires a login id ( default : "source" ) in order for a connection to successfully work. The darkice config file does not have a variable for this, and I believe this is causing it to fail.

I tested this by using a knows good streaming program , Mixxx , which has a field for the login id. With the login ID of ' source ' it was able to connect and stream, without it it failed to connect.

I reviewed the man page but did not see any entry in the darkice config file to set a user name / login.

Is there something I'm missing, or is airtime not supported by darkice ?