[icecast-dev] Why doesn't yp.icecast.org show my stream?
Dave Hayes
dave at jetcafe.org
Tue Feb 19 16:08:15 PST 2002
Dave Hayes <dave at jetcafe.org> writes:
> Darkice has:
> public = yes
> So I check darkice:
> Icecast.cpp:
> ...
> str = "\nx-audiocast-public: ";
> sink->write( str, strlen( str));
> str = getIsPublic() ? "yes" : "no";
> sink->write( str, strlen( str));
> and then icecast:
> ....
> else if (ice_strncmp(command, "x-audiocast-public", 18) == 0)
> source->audiocast.public = atoi (arg);
> So icecast expects "1" or "0" while darkice writes "yes" or "no".
> I'll patch darkice right quick to verify.
Thank god! This works, I'm now on yp.icecast.org. Thanks very much
Jack for your help.
Patch included btw:
*** IceCast.cpp 2002/02/20 00:03:09 1.1
--- IceCast.cpp 2002/02/20 00:03:21
***************
*** 146,152 ****
str = "\nx-audiocast-public: ";
sink->write( str, strlen( str));
! str = getIsPublic() ? "yes" : "no";
sink->write( str, strlen( str));
if ( getName() ) {
--- 146,152 ----
str = "\nx-audiocast-public: ";
sink->write( str, strlen( str));
! str = getIsPublic() ? "1" : "0";
sink->write( str, strlen( str));
if ( getName() ) {
------
Dave Hayes - Consultant - Altadena CA, USA - dave at jetcafe.org
>>> The opinions expressed above are entirely my own <<<
A man was claiming to be a Prophet. He was taken before the
Church. "Prophets reveal miracles," said the Minister.
"What is yours?" The man replied: "I have the ability to
read thoughts. Right now you are all thinking that I am
lying."
<p><p><p><p>--- >8 ----
List archives: http://www.xiph.org/archives/
icecast project homepage: http://www.icecast.org/
To unsubscribe from this list, send a message to 'icecast-dev-request at xiph.org'
containing only the word 'unsubscribe' in the body. No subject is needed.
Unsubscribe messages sent to the list will be ignored/filtered.
More information about the Icecast-dev
mailing list