From leo.currie at gmail.com Tue Mar 1 10:08:10 2011 From: leo.currie at gmail.com (Leo Currie) Date: Tue, 1 Mar 2011 10:08:10 +0000 Subject: [Icecast] Generation of M3U and XSPF In-Reply-To: References: Message-ID: I assume you have already tried setting the section in the config, and that it doesn't work? http://icecast.org/docs/icecast-2.3.2/icecast2_config_file.html#misc In that case, perhaps Icecast is picking up the server name from the http headers. Can you get your proxy to re-write the headers in the request? Otherwise, you could just generate local m3u/xspf files for each stream? - Leo On 28 February 2011 20:21, Sebastien Bordes wrote: > Hello, > > I'm a new user of icecast which is a really cool software. > > I use it with the the http proxy module of apache httpd to do port > forwarding with 2 sub domains. > > On my router i forward all tcp traffic of the port 80 to my server. > > 2 Sub domains are redirected to my server : > > radio.mydomain.com (icecast) > music.mydomain.com (ampache) > > my apache server host the ampache application with a dedicated virtual > host. > and use the proxy module to forward request to the icecast appliaction > withe apropriated port. > > The stream can be correctly listen inside and outside my network > > But the problem is that the content of the m3u and xspf file use local url > => 127.0.0.1 with local port > > How can I change this generation , Is it possible to add a property > (external url, external port) in the configuration file and to apply a patch > on the fserve.c source file > > Here is the code to change : > > * config = config_get_config(); > snprintf (httpclient->refbuf->data, BUFSIZE, > "HTTP/1.0 200 OK\r\n" > "Content-Type: audio/x-mpegurl\r\n\r\n" > > "http://%s:%d%s\r\n", > config->hostname, config->port, > sourceuri > ); > config_release_config();* > > > Or do you know an alternative to hide port to users.. > > Thanks > > > > ------------------------------------------------------------------------------- > sebastien.bordes at gmail.com - http://blog.webeo.fr > > _______________________________________________ > Icecast mailing list > Icecast at xiph.org > http://lists.xiph.org/mailman/listinfo/icecast > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From sebastien.bordes at gmail.com Tue Mar 1 10:40:20 2011 From: sebastien.bordes at gmail.com (Sebastien Bordes) Date: Tue, 1 Mar 2011 11:40:20 +0100 Subject: [Icecast] Generation of M3U and XSPF In-Reply-To: References: Message-ID: Yes I do but the hostname tag is only used for stream information... I tried a lod of proxy configuration and none of them are working, the best I'd done is to have the http://radio.mydomain.com:8000/mystream.ogg url Perhaps I miss something... To achieve what I want I think that it's necessary to override the int fserve_client_create function to smartly manage host and port when the icecast server is proxied by apache httpd with mod_proxy, I will continue to explorer proxying parameters but I didn't see where the host and port is retrieved by the icecast configuration manager... Thx for your reply 2011/3/1 Leo Currie > I assume you have already tried setting the section in the > config, and that it doesn't work? > http://icecast.org/docs/icecast-2.3.2/icecast2_config_file.html#misc > > In that case, perhaps Icecast is picking up the server name from the http > headers. Can you get your proxy to re-write the headers in the request? > > Otherwise, you could just generate local m3u/xspf files for each stream? > > - Leo > > > > On 28 February 2011 20:21, Sebastien Bordes wrote: > >> Hello, >> >> I'm a new user of icecast which is a really cool software. >> >> I use it with the the http proxy module of apache httpd to do port >> forwarding with 2 sub domains. >> >> On my router i forward all tcp traffic of the port 80 to my server. >> >> 2 Sub domains are redirected to my server : >> >> radio.mydomain.com (icecast) >> music.mydomain.com (ampache) >> >> my apache server host the ampache application with a dedicated virtual >> host. >> and use the proxy module to forward request to the icecast appliaction >> withe apropriated port. >> >> The stream can be correctly listen inside and outside my network >> >> But the problem is that the content of the m3u and xspf file use local url >> => 127.0.0.1 with local port >> >> How can I change this generation , Is it possible to add a property >> (external url, external port) in the configuration file and to apply a patch >> on the fserve.c source file >> >> Here is the code to change : >> >> * config = config_get_config(); >> snprintf (httpclient->refbuf->data, BUFSIZE, >> "HTTP/1.0 200 OK\r\n" >> "Content-Type: audio/x-mpegurl\r\n\r\n" >> >> >> "http://%s:%d%s\r\n", >> config->hostname, config->port, >> sourceuri >> ); >> config_release_config();* >> >> >> Or do you know an alternative to hide port to users.. >> >> Thanks >> >> >> >> ------------------------------------------------------------------------------- >> sebastien.bordes at gmail.com - http://blog.webeo.fr >> >> _______________________________________________ >> Icecast mailing list >> Icecast at xiph.org >> http://lists.xiph.org/mailman/listinfo/icecast >> >> > -- ------------------------------------------------------------------------------- sebastien.bordes at gmail.com - http://www.webeo.fr -------------- next part -------------- An HTML attachment was scrubbed... URL: From mynameisbrt at gmail.com Wed Mar 2 10:33:33 2011 From: mynameisbrt at gmail.com (brt prt) Date: Wed, 2 Mar 2011 11:33:33 +0100 Subject: [Icecast] Separate /admin from streaming server Message-ID: Hi all, On my Icecast platform I would like to create the following configuration: - icecast.mydomain.tld - admin.icecast.mydomain.tld I want the admin and status pages only to be available through the admin (Apache) vhost and icecast.mydomain.tld only to be used for serving the streams. Is this possible and has anyone got any experience with a setup like this? Thanks in advance, Bart -------------- next part -------------- An HTML attachment was scrubbed... URL: From getpaid00 at gmail.com Thu Mar 10 09:02:16 2011 From: getpaid00 at gmail.com (Luis Barrett) Date: Thu, 10 Mar 2011 01:02:16 -0800 Subject: [Icecast] Mount point Message-ID: Hi Icecast, Where on our xml file bellow can we plug in the value for a mount point called /stream1.mp3 Thank you, Luis Barrett 100 2 5 524288 30 15 10 65535 hackme hackme admin "icecast.xml" 190L, 6848C -------------- next part -------------- An HTML attachment was scrubbed... URL: From sascha.bieler at radiogong.de Thu Mar 10 09:04:27 2011 From: sascha.bieler at radiogong.de (Sascha Bieler) Date: Thu, 10 Mar 2011 10:04:27 +0100 Subject: [Icecast] Mount point In-Reply-To: References: Message-ID: <7C6D5ADC198F094E989125EF2B78CA9461C8B3E565@srv-mail01.radiogong.local> Hi Luis, have a look here, it's really simple. http://www.icecast.org/docs/icecast-2.2.0/icecast2_config_file.html#mount Best regards Sascha From: icecast-bounces at xiph.org [mailto:icecast-bounces at xiph.org] On Behalf Of Luis Barrett Sent: Thursday, March 10, 2011 10:02 AM To: icecast at xiph.org Subject: [Icecast] Mount point Hi Icecast, Where on our xml file bellow can we plug in the value for a mount point called /stream1.mp3 Thank you, Luis Barrett 100 2 5 524288 30 15 10 65535 hackme hackme admin "icecast.xml" 190L, 6848C *** Email secured by Check Point *** ________________________________ Radio Gong 2000 Programmanbieter GmbH & Co. H?rfunk f?r M?nchen KG Sitz: Franz-Joseph-Stra?e 14, 80801 M?nchen Handelsregister M?nchen HRA 64203 USt-IdNr. DE130253082 Pers?nlich haftende Gesellschafterin: Radio Gong 2000 Programmanbieter GmbH Gesch?ftsf?hrer: Georg Dingler fon 089 - 38 166 0 home http://www.radiogong.de mail info at radiogong.de Diese Information ist ausschlie?lich f?r den Adressaten bestimmt und kann vertraulich oder gesetzlich gesch?tzte Informationen enthalten. Wenn Sie nicht der bestimmungsgem??e Adressat sind, unterrichten Sie bitte den Absender und vernichten Sie diese Mail. Anderen als dem bestimmungsgem??en Adressaten ist es untersagt, diese E-Mail zu lesen, zu speichern, weiterzuleiten oder ihren Inhalt auf welche Weise auch immer zu verwenden. Wir verwenden aktuelle Virenschutzprogramme. F?r Sch?den, die dem Empf?nger gleichwohl durch von uns zugesandte mit Viren befallene E-Mails entstehen, schlie?en wir jede Haftung aus. The information contained in this email is intended only for its addressee and may contain confidential and/or privileged information. If the reader of this email is not the intended recipient, you are hereby notified that reading, saving, distribution or use of the content of this email in any way is prohibited. If you have received this email in error, please notify the sender and delete the email. We use updated antivirus protection software. We do not accept any responsibility for damages caused anyhow by viruses transmitted via email. -------------- next part -------------- An HTML attachment was scrubbed... URL: From contact at junglised.co.uk Sat Mar 12 12:37:13 2011 From: contact at junglised.co.uk (Huw - Junglised) Date: Sat, 12 Mar 2011 12:37:13 +0000 Subject: [Icecast] =?utf-8?q?_Getting_dump_file_to_save_as_date_and_time?= =?utf-8?b?LCBub3QgJWRfJW1fJVktJUglTV8lUy5tcDM=?= In-Reply-To: <60819.98.233.105.137.1297643928.squirrel@neene.webafriqa.net> References: <016686448709fc257fec05a9f7ff39a8@junglised.co.uk> <60819.98.233.105.137.1297643928.squirrel@neene.webafriqa.net> Message-ID: <1bbefcea0984111db3413ab5aa2a5f57@junglised.co.uk> This along with the help of Sascha got me setup in no time so thanks to the both of you! I've updated the subject of this as I have a different minor issue in that the dump file is saving as "%d_%m_%Y-%H%M_%S.mp3" rather than the actual date and time. I remember on my last server I had to complie Icecast from source so this was done with the version i complied and it worked, but the rpm build we've used here obviously doesn't have it included. Is there a simple way of getting this added or will I have to complie it from source again? Thanks again for all your assistance. On Sun, 13 Feb 2011 19:38:48 -0500 (EST), "Tierno S. Bah" wrote: > Thanks Keith for the pointers on icecast and ices-cc installation > how-to. > I followed the instructions and completed the two installations in no > time. > > Once, the two programs are installed on CentOS, what's next. > > Lend a guiding hand to an eager newbie. And keep those straight > guidelines > coming, please. > > TIA > > On Sun, February 13, 2011 17:14, Keith Roberts wrote: >> On Sun, 13 Feb 2011, Huw - Junglised wrote: >> >>> To: Icecast at xiph.org >>> From: Huw - Junglised >>> Subject: [Icecast] Icecast startup script for Centos 5.5 >>> >>> >>> >>> Hi all. me again! >>> >>> I've decided after some good advice from Sascha >>> to go with a CentOS build. I've got icecast installed and running, >>> however I'm having difficulty in finding a script that will start >>> the >>> icecast server on boot. Does anybody have one built, or know where >>> I can >>> find one? >> >> Hi Huw. I'm running Centos 5.5 >> >> You can get icecast for Centos 5.5 from the EPEL repo at: >> >> rpm -ivh >> >> http://download.fedoraproject.org/pub/epel/5/i386/icecast-2.3.2-4.el5.i386.rpm >> >> >> Icecast on Centos 5.5 includes the startup script: >> >> /etc/rc.d/init.d/icecast >> >> Icecast will try to start when you reboot the machine. >> >> However it will not actually start untill you have adapted >> the configuration file for your system, /etc/icecast.xml >> >> I have icecast installed, but have not got it working yet. >> >> # yum info icecast >> Installed Packages >> Name : icecast >> Arch : i386 >> Version : 2.3.2 >> Release : 4.el5 >> Size : 999 k >> Repo : installed >> Summary : ShoutCast compatible streaming media server >> URL : http://www.icecast.org/ >> License : GPLv2 >> Description: Icecast is a streaming media server which >> currently supports >> : Ogg Vorbis and MP3 audio streams. It can be >> used to create an >> : Internet radio station or a privately running >> jukebox and many >> : things in between. It is very versatile in >> that new formats >> : can be added relatively easily and supports >> open standards for >> : commuincation and interaction. >> >> >> [root at karsites init.d]# chkconfig --list icecast >> icecast 0:off 1:off 2:on 3:on 4:on 5:on 6:off >> >> >> For an mp3 ices client, you can install this for Centos >> 5.5 RPM package, from http://www.centova.com/pages/icescc >> >> Installed Packages >> Name : ices-cc >> Arch : i386 >> Version : 0.4.1 >> Release : 1 >> Size : 41 M >> Repo : installed >> Summary : A command line source client for Icecast media >> streaming >> : servers. >> URL : http://www.centova.com >> License : GPL >> Description: ices-cc is used to source ShoutCast/IceCast >> streaming audio >> : servers with MP3 audio streams. It is based on >> ices 0.4-CVS. >> >> HTH >> >> Kind Regards, >> >> Keith >> >> ----------------------------------------------------------------- >> Websites: >> http://www.karsites.net >> http://www.php-debuggers.net >> http://www.raised-from-the-dead.org.uk >> >> All email addresses are challenge-response protected with >> TMDA [http://tmda.net] >> ----------------------------------------------------------------- >> _______________________________________________ >> Icecast mailing list >> Icecast at xiph.org >> http://lists.xiph.org/mailman/listinfo/icecast >> -- Huw Davies (Beatsmith) 07949713698 Junglised.co.uk Facebook Twitter.com/Junglised From timothyclark113 at gmail.com Tue Mar 15 00:51:42 2011 From: timothyclark113 at gmail.com (Timothy Clark) Date: 15 Mar 2011 00:51:42 -0000 Subject: [Icecast] Check out this great Telesummit I found! Message-ID: <20110315005142.19243.qmail@centos64.goldbar.net> An HTML attachment was scrubbed... URL: From raylutz at cognisys.com Thu Mar 17 19:54:07 2011 From: raylutz at cognisys.com (Raymond Lutz) Date: Thu, 17 Mar 2011 12:54:07 -0700 Subject: [Icecast] Can't ./configure ices or ezstream Message-ID: <4D8266DF.1090701@cognisys.com> Hi I've been trying to './configure' for ices and ezstream but both die. In the case of ices, it get this far: checking how to run the C++ preprocessor... /lib/cpp configure: error: C++ preprocessor "/lib/cpp" fails sanity check but /lib/cpp seems to work fine. for example: [root at vps ices-0.4]# /lib/cpp --help Usage: cpp [options] file... Options: -pass-exit-codes Exit with highest error code from a phase ...snip... In the case of ezstream, the test of libshout fails, although libshout is installed. ANY IDEAS? This is linux OS and tends to compile without any real difficulty in most cases. Successfully installed icecast and have successfully streamed from a client on a PC, but I want to install the client on the server host. Thanks in advance. Ray -------------- next part -------------- An HTML attachment was scrubbed... URL: From icecast at webrz.net Sun Mar 20 11:44:37 2011 From: icecast at webrz.net (DJ) Date: Sun, 20 Mar 2011 12:44:37 +0100 Subject: [Icecast] LIST Message-ID: <4D85E8A5.5090005@webrz.net> --- -- thanks, DJ From icecast at webrz.net Sun Mar 20 12:16:34 2011 From: icecast at webrz.net (DJ) Date: Sun, 20 Mar 2011 13:16:34 +0100 Subject: [Icecast] Nicecast (Mac) to Icecast/Icecast2 Message-ID: <4D85F022.4020809@webrz.net> Dear group, I have a problem configuring my NiceCast to work with my IceCast server. Perhaps one of you can tell me how to solve the described issue I currently have. Situation is as follows: I run two gateways in my private network: (a) 10.10.10.100 and (b) 10.10.10.200. My webserver is running on (c) 10.10.10.30 on which I have my internet radio station running. Port from and to (c) redirected to 8000 for .m3u I use Sam4 on a notebook (10.10.10.71) for streaming to (c). So far no problems. Now I have an iMac on which I installed Nicecast (NC). From iTunes I want let Nicecast stream to my web server (c) like I do with my notebook now. The problem I face is that I can't contact with NC to my webserver (c). Instead I can have it stream audio to (b) only. The problem is that I don't use that gateway to redirect to my sites but only (a). Can someone hint me to the right direction to solve this issue? thanks, DJ From timothyclark113 at gmail.com Sun Mar 20 21:47:13 2011 From: timothyclark113 at gmail.com (Timothy Clark) Date: Sun, 20 Mar 2011 17:47:13 -0400 Subject: [Icecast] Nicecast (Mac) to Icecast/Icecast2 In-Reply-To: <4D85F022.4020809@webrz.net> References: <4D85F022.4020809@webrz.net> Message-ID: just an idea. did you set up mount points for the server? if not then you should as it would solve your problem Timothy http://www.timothyclarkmusic.webs.com On Sun, Mar 20, 2011 at 8:16 AM, DJ wrote: > Dear group, > > I have a problem configuring my NiceCast to work with my IceCast > server. Perhaps one of you can tell me how to solve the described issue > I currently have. > > Situation is as follows: > I run two gateways in my private network: (a) 10.10.10.100 and (b) > 10.10.10.200. My webserver is running on (c) 10.10.10.30 on which I have > my internet radio station running. Port from and to (c) redirected to > 8000 for .m3u > > I use Sam4 on a notebook (10.10.10.71) for streaming to (c). So far no > problems. > Now I have an iMac on which I installed Nicecast (NC). From iTunes I > want let Nicecast stream to my web server (c) like I do with my notebook > now. > The problem I face is that I can't contact with NC to my webserver (c). > Instead I can have it stream audio to (b) only. The problem is that I > don't use that gateway to redirect to my sites but only (a). > > Can someone hint me to the right direction to solve this issue? > > thanks, > DJ > _______________________________________________ > Icecast mailing list > Icecast at xiph.org > http://lists.xiph.org/mailman/listinfo/icecast > -- Timothy unsigned independent singer songwriter. http://www.timothyclarkmusic.webs.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From geoff at QuiteLikely.com Mon Mar 21 22:33:21 2011 From: geoff at QuiteLikely.com (Geoff Shang) Date: Tue, 22 Mar 2011 00:33:21 +0200 (IST) Subject: [Icecast] Nicecast (Mac) to Icecast/Icecast2 In-Reply-To: <4D85F022.4020809@webrz.net> References: <4D85F022.4020809@webrz.net> Message-ID: On Sun, 20 Mar 2011, DJ wrote: > I have a problem configuring my NiceCast to work with my IceCast > server. Perhaps one of you can tell me how to solve the described issue > I currently have. This looks like a networking issue of some sort. Unfortunately, you didn't give us the IP address of your iMac, nor did you tell us where gateways A and B send things to. Having two gateways on a network can create for interesting issues, so maybe explain why you have two gateways. On the face of it, every machine has a 10.10.10.x address, so a netmask of 255.255.255.0 for every device should mean that everything should see everything else. But I'm guessing it's not that simple. Geoff. From just.ice at lesve.org Mon Mar 21 23:46:30 2011 From: just.ice at lesve.org (just.ice at lesve.org) Date: Tue, 22 Mar 2011 00:46:30 +0100 Subject: [Icecast] Nicecast (Mac) to Icecast/Icecast2 In-Reply-To: References: <4D85F022.4020809@webrz.net> Message-ID: <4D87E356.6060703@lesve.org> I have a server going using icecast. (MP3) Unfortanly I use an old version of icegenerator I dont know but it works very well on Android AOR player but it will not work on android xiialive lite. I cannot tell the stations url as this maybe is not legal. /Lennart From pm at nowster.me.uk Tue Mar 22 11:37:17 2011 From: pm at nowster.me.uk (Paul Martin) Date: Tue, 22 Mar 2011 11:37:17 +0000 Subject: [Icecast] Nicecast (Mac) to Icecast/Icecast2 In-Reply-To: <4D87E356.6060703@lesve.org> References: <4D85F022.4020809@webrz.net> <4D87E356.6060703@lesve.org> Message-ID: <20110322113717.GC8825@nowster.org.uk> On Tue, Mar 22, 2011 at 12:46:30AM +0100, just.ice at lesve.org wrote: > I have a server going using icecast. (MP3) > Unfortanly I use an old version of icegenerator > > I dont know but it works very well on Android AOR player but it will not work > on android xiialive lite. I'm using darkice with icecast2, and XiaaLive Lite works fine, both on the local network and through SNAT, using Vorbis, MP3 or aac+ as codecs. -- Paul Martin From mynameisbrt at gmail.com Tue Mar 22 15:38:38 2011 From: mynameisbrt at gmail.com (brt prt) Date: Tue, 22 Mar 2011 16:38:38 +0100 Subject: [Icecast] Separate /admin from streaming server In-Reply-To: References: Message-ID: 2011/3/2 brt prt > On my Icecast platform I would like to create the following configuration: > > - icecast.mydomain.tld > - admin.icecast.mydomain.tld > > I want the admin and status pages only to be available through the admin > (Apache) vhost and icecast.mydomain.tld only to be used for serving the > streams. > > Is this possible and has anyone got any experience with a setup like this? > Anyone? The most important property I'm looking for is that the admin interface can be limited on an IP range, while the streams can be listened to by everyone. If there's any other setup besides what I mentioned above that works I would be very interested. If any additional information is needed please let me know. Bart -------------- next part -------------- An HTML attachment was scrubbed... URL: