From lion at lion.leolix.org Mon Dec 1 22:25:21 2014 From: lion at lion.leolix.org (Philipp Schafft) Date: Mon, 01 Dec 2014 22:25:21 +0000 Subject: [Icecast] Metadata configurablity in Icecast In-Reply-To: References: <546F53C7.2010902@ruecker.fi> <20141121155953.E5AC212CFE@grassland.keep-cool.org> Message-ID: <20141201222524.EC88312CFE@grassland.keep-cool.org> reflum, On Fri, 2014-11-21 at 18:34 +0200, Geoff Shang wrote: > On Fri, 21 Nov 2014, Philipp Schafft wrote: > > > What is your schedule? How fast do you need it? Could we target a fix > > for in about a week? > > Sorry, I didn't mean to cause a panic. Oh, don't worry. > I don't have an immediate need for this feature. I know others do, or at > least might, and have always felt this should be configurable ever since > it was first implemented. I've never run an affected version in > production so it has never affected me, but with the recent security > fixes making me think about it and the metadata thing having been > mentioned a few times lately, I finally spoke up. I think I understand. I commited a huge change to the authentication stuff in Icecast that nearly completely replaced it. This replaces all the <*-username> and <*-password> and some more tags with a new one we call . I think it's now possible to out of the box configure what you were talking about. You could also define a new role that is just for metadata updates and has no other rights. The update is in trunk right now and will be included in the next release (2.4.2). I would love to have some more testers on this. If you are interested to help a bit with that and test your specific case I would love to work with you. To everyone who got curious what may be: It's a new way to define *any* kind of authentication in Icecast. It allows to add 'roles' which can have fine grade configured access rights. Another big pro of the new concept is that there is no difference between per mount, default mount and global configuration. It got an uniform interface. Will Icecast 2.4.2 stop reading pre-2.4.2 config files because of this change? No! Nor there are any plans to remove support for the old way. No need to worry! Have a nice evening! -- Philipp. (Rah of PH2) -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 490 bytes Desc: This is a digitally signed message part URL: From lion at lion.leolix.org Mon Dec 1 23:52:35 2014 From: lion at lion.leolix.org (Philipp Schafft) Date: Mon, 01 Dec 2014 23:52:35 +0000 Subject: [Icecast] Multiple Instances of Icecast???/ In-Reply-To: References: Message-ID: <20141201235238.2271412CFE@grassland.keep-cool.org> reflum, On Mon, 2014-12-01 at 21:48 +0000, Dean Sauer wrote: > In tracking an issue, see posts in re sources being dropped... > > I've found that there are MULTIPLE INSTANCES of icecast running...??? > > example: > > top - 16:43:51 up 45 days, 10:25, 0 users, load average: 0.45, 0.31, > 0.17 > [...] Have you set top to display threads instead of processes? Do you use /? > Feeds are still reachable, and audio plays... but in the past multiple > instances of icecast has been shown to be an issue > > > Is there some reason that this is spawning new instances????? No. It doesn't make sense nor is there any code in current or old icecast versions that could do that. > IC V2.3.2 (We are using that for reasons I've stated here already, > thanks.) > > Host: Ubuntu 12.04 64 2GB RAM/2GB Swap, OVz VM VPS setup > > Ideas???? Calming down a bit, then answering my questions. -- Philipp. (Rah of PH2) -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 490 bytes Desc: This is a digitally signed message part URL: From lion at lion.leolix.org Tue Dec 2 00:05:27 2014 From: lion at lion.leolix.org (Philipp Schafft) Date: Tue, 02 Dec 2014 00:05:27 +0000 Subject: [Icecast] Metadata configurablity in Icecast In-Reply-To: References: <546F53C7.2010902@ruecker.fi> <20141121155953.E5AC212CFE@grassland.keep-cool.org> Message-ID: <20141202000530.3278212CFE@grassland.keep-cool.org> reflum, On Mon, 2014-12-01 at 22:28 +0000, Dean Sauer wrote: > On Fri, 21 Nov 2014 15:59:42 +0000, Philipp Schafft wrote: > > > Also: would it be ok for you to have a global user that is allowed to do > > that or does it need to be the source user or does it need to be any > > source user (anyone allowed to stream to that mountpoint)? > > Since I am likely the source case of this request... > > A global user, other than the existing one setup for sources?? > > NO. I don't wish to give out any more information to sources other than: > > server URL/IP > mountpoint name > > Setup darkice as follows... with the above... > > That's all they get. > > If I specify specific credentials per mountpoint then ONLY THOSE *AND* > ADMIN should be able to send metadata. As I told in the other mail on this thread with 2.4.2 you can set the right to do so on every role. This includes mount specific roles. > I actually like the idea of white listing IP's as well... > > > That is a very important question to answer the above! > > > > Thank you and have a good evening! > > I am in no rush, as 2.3.2 is the only version in the repos for my distro, > and I don't compile, ever, never, ever, never. (I have enough headaches > to deal with already without self inflicted ones.) > > We won't upgrade past 2.3.2 till this is resolved in our favor, or not at > all if a choice is made to forgo this option. This option is more > important than the security, and I am not giving out admin credentials to > any one. I'm sorry to say so, but if you don't care about security at all you can also just publish your admin password. Current trunk (that will be 2.4.2) contains what you need. I would be happy to see you on IRC or drop me a mail offering some help with testing the changes. Have a nice evening! -- Philipp. (Rah of PH2) -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 490 bytes Desc: This is a digitally signed message part URL: From thomas at ruecker.fi Tue Dec 2 00:08:00 2014 From: thomas at ruecker.fi (=?windows-1252?Q?=22Thomas_B=2E_R=FCcker=22?=) Date: Tue, 02 Dec 2014 00:08:00 +0000 Subject: [Icecast] Pyhton Class/library for Icecast 2.32 Stats and other info access? In-Reply-To: References: Message-ID: <547D02E0.1030203@ruecker.fi> On 12/01/2014 09:54 PM, Dean Sauer wrote: > On Fri, 14 Nov 2014 21:43:16 +0100, genocid3 wrote: > >> Hi, if i am not mistaken 2.4 has a servlet which provides json output >> for active mounts and stats. >> >> You can check it out at http://your host:8000/status-json.xsl >> >> Just upgrade your version and you should be fine. >> > Thanks, but anything past 2.3.2 You could just use the two XSLT files that enable this with your 2.3.2 instance. It's an untested combination and I won't support it beyond pointing it out, but you could just try it out. The two files are: xml2json.xslt status-json.xslt Make sure to get them from 2.4.1, there was a bug in 2.4.0 that malformed the JSON output. Just throw them in the web-root and you're done. TBR From abitar.com at gmail.com Tue Dec 2 02:33:53 2014 From: abitar.com at gmail.com (David Saunders) Date: Mon, 1 Dec 2014 21:33:53 -0500 Subject: [Icecast] Metadata configurablity in Icecast In-Reply-To: <20141202000530.3278212CFE@grassland.keep-cool.org> References: <546F53C7.2010902@ruecker.fi> <20141121155953.E5AC212CFE@grassland.keep-cool.org> <20141202000530.3278212CFE@grassland.keep-cool.org> Message-ID: I been monitoring metadata and connections statistics by a polling the server and recording the information require. Including the current Metadata., I ended up polling on a min bases and the radion stations station that use use been happy with the information for past couple years. This is via the server status page. I like to present each of our customers with listeners counts, times listen, how long a listen has been listing, and how many unique listeners. And for other they need unique tags, I event per request set up means of putting out custom meta data that is diferent from the content stream that is blocked cause of DMC concerns. Its a real pain to present it in a useable form. But I also found out different stations have different needs .and its all based on the contracts they have. IT can be done without any modifications. :) On Mon, Dec 1, 2014 at 7:05 PM, Philipp Schafft wrote: > reflum, > > On Mon, 2014-12-01 at 22:28 +0000, Dean Sauer wrote: > > On Fri, 21 Nov 2014 15:59:42 +0000, Philipp Schafft wrote: > > > > > Also: would it be ok for you to have a global user that is allowed to > do > > > that or does it need to be the source user or does it need to be any > > > source user (anyone allowed to stream to that mountpoint)? > > > > Since I am likely the source case of this request... > > > > A global user, other than the existing one setup for sources?? > > > > NO. I don't wish to give out any more information to sources other than: > > > > server URL/IP > > mountpoint name > > > > Setup darkice as follows... with the above... > > > > That's all they get. > > > > If I specify specific credentials per mountpoint then ONLY THOSE *AND* > > ADMIN should be able to send metadata. > > As I told in the other mail on this thread with 2.4.2 you can set the > right to do so on every role. This includes mount specific roles. > > > > I actually like the idea of white listing IP's as well... > > > > > That is a very important question to answer the above! > > > > > > Thank you and have a good evening! > > > > I am in no rush, as 2.3.2 is the only version in the repos for my distro, > > and I don't compile, ever, never, ever, never. (I have enough headaches > > to deal with already without self inflicted ones.) > > > > We won't upgrade past 2.3.2 till this is resolved in our favor, or not at > > all if a choice is made to forgo this option. This option is more > > important than the security, and I am not giving out admin credentials to > > any one. > > I'm sorry to say so, but if you don't care about security at all you can > also just publish your admin password. > > > Current trunk (that will be 2.4.2) contains what you need. I would be > happy to see you on IRC or drop me a mail offering some help with > testing the changes. > > Have a nice evening! > > -- > Philipp. > (Rah of PH2) > > _______________________________________________ > Icecast mailing list > Icecast at xiph.org > http://lists.xiph.org/mailman/listinfo/icecast > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From dtouch3d at gmail.com Sun Dec 14 16:23:20 2014 From: dtouch3d at gmail.com (dtouch3d completely) Date: Sun, 14 Dec 2014 18:23:20 +0200 Subject: [Icecast] Icecast AAC FLV Container Message-ID: Hello, I am using Icecast v2.4.1 to to stream AAC audio to web clients through jPlayer. If HTML5 is not supported then it uses Flash Player. The problem is that Flash player does not play AAC streams as is, and from a quick google search someonw suggested I append "?type=.flv" to the url. I cannot make it work though as whatever I request, I get a response with mime type "audio/aac". For example (working links): curl "http://148.251.184.14:18002/chr_80s?type=.flv " -o /dev/null -D - and curl "http://148.251.184.14:18002/chr_80s " -o /dev/null -D - returns mime type "audio/aac". Now I remember that I got it to work some time ago, probably with an older icecast version, and I remember that it was working as expected, and with the extra string at the end I would get mime type "video-x-flv". Does anyone have an idea about the problem ? Also, can anyone point me to the documentation about the type=* option ? -------------- next part -------------- An HTML attachment was scrubbed... URL: From thomas at ruecker.fi Sun Dec 14 16:34:35 2014 From: thomas at ruecker.fi (=?windows-1252?Q?=22Thomas_B=2E_R=FCcker=22?=) Date: Sun, 14 Dec 2014 16:34:35 +0000 Subject: [Icecast] Icecast AAC FLV Container In-Reply-To: References: Message-ID: <548DBC1B.1030007@ruecker.fi> Hi, On 12/14/2014 04:23 PM, dtouch3d completely wrote: > I am using Icecast v2.4.1 to to stream AAC audio to web clients > through jPlayer. If HTML5 is not supported then it uses Flash Player. > > The problem is that Flash player does not play AAC streams as is, and > from a quick google search someonw suggested I append "?type=.flv" to > the url. I cannot make it work though as whatever I request, I get a > response with mime type "audio/aac". The FLV hack only exists in the KH version maintained by Karl. In case of missing