Icecast Streaming Media Server Forum Index Icecast Streaming Media Server
Icecast is a Xiph Foundation Project
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Latest KH build

 
Post new topic   Reply to topic    Icecast Streaming Media Server Forum Index -> Icecast Server
View previous topic :: View next topic  
Author Message
Anonymous
Guest





PostPosted: Thu Feb 14, 2008 5:32 pm    Post subject: Latest KH build Reply with quote

Hello all,

Was wondering what the latest version of the KH build of icecast was? I'm running 2.3-kh20a.

A little background on what we're trying to do:

We want to use icecast to stream media (mp3) static files to users. These files are dictations and the users will be transcribing them. Probably the big hiccup here is we have to use WMP as the playback mechanism. We have the <fileserve> tag set to 1 and <ssl> is 1. Basically, right now anyway, it works like this: user logs into webserver. User requests a dictation to transcribe. Webserver authenticates user and, if there are dictations available, assigns one and passes the url back to the user's player (i.e., https://myserver.com:8001/assigneddictation.mp3). The user steps on a foot pedal and playback begins after some buffering.

The problem is that we need to lock the server down so that not just anyone can go to https://myserver.com:8001/audio.mp3 and listen to a dictation. Since we have to use WMP (it's actually not WMP per se but a player that was developed using the WMP SDK) we cannot do a https://username:password@....

Do I have any options here? Besides changing the player engine, that is.

Thanks a million!
David
Back to top
karlH
Code Warrior
Code Warrior


Joined: 13 Jun 2005
Posts: 5476
Location: UK

PostPosted: Thu Feb 14, 2008 9:34 pm    Post subject: Reply with quote

first things first. kh32, check the web link on my profile.

The only other authentication method besides user/pass type combinations is the query arg approach. ie your system produces links like http://host:8001/content.mp3?session=abcdef1234 when the items you pass after the ? are generated your allocation system, icecast will then pass the mount setting to url auth listener_add as /content.mp3?session=abcdef1234 escape encoded of course. You can then do whatever check you seem suitable, IP, session key timeout etc.

karl.
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Anonymous
Guest





PostPosted: Mon Feb 18, 2008 4:27 pm    Post subject: Reply with quote

Here is the icecast.xml file:

[code]
<icecast>
<location>USA</location>
<admin>webmaster@localhost</admin>

<limits>
<clients>100</clients>
<sources>2</sources>
<queue-size>524288</queue-size>
<client-timeout>30</client-timeout>
<header-timeout>15</header-timeout>
<source-timeout>10</source-timeout>
<!-- same as burst-on-connect, but this allows for being more
specific on how much to burst. Most people won't need to
change from the default 64k. Applies to all mountpoints -->
<burst-size>65535</burst-size>
</limits>

<authentication>
<!-- Sources log in with username 'source' -->
<source-password>hackme</source-password>
<!-- Relays log in username 'relay' -->
<relay-password>hackme</relay-password>

<!-- Admin logs in with the username given below -->
<admin-user>admin</admin-user>
<admin-password>XXXXX</admin-password>
</authentication>

<hostname>oscar.epbs.com</hostname>

<listen-socket>
<port>8001</port>
<ssl>1</ssl>
</listen-socket>

<mount>
<mount-name>/dictations</mount-name>
<authentication type="htpasswd">
<option name="filename" value="pwuser"/>
<option name="allow_duplicate_users" value="0"/>
</authentication>
<on-connect>/home/icecast/bin/stream-start</on-connect>
<on-disconnect>/home/icecast/bin/stream-stop</on-disconnect>
</mount>

<fileserve>1</fileserve>

<!-- set the mountpoint for a shoutcast source to use, the default if not
specified is /stream but you can change it here if an alternative is
wanted or an extension is required
<shoutcast-mount>/live.nsv</shoutcast-mount>
-->

<paths>
<basedir>/usr/local/share/icecast</basedir>
<logdir>/usr/local/var/log/icecast</logdir>
<webroot>/usr/local/share/icecast/web</webroot>
<adminroot>/usr/local/share/icecast/admin</adminroot>
<ssl-certificate>/usr/local/share/icecast/icecast.pem</ssl-certificate>
<!-- <deny-ip>/path/to/file-with-IPs</deny-ip> -->
<!-- <allow-ip>/path/to/file-with-IPs</allow-ip> -->
<!-- location of mime types files used for file serving -->
<!-- <mime-types>/etc/mime.types</mime-types> -->
<alias source="/" dest="/index.html"/>
</paths>

<logging>
<accesslog>access.log</accesslog>
<errorlog>error.log</errorlog>
<loglevel>4</loglevel> <!-- 4 Debug, 3 Info, 2 Warn, 1 Error -->
<logsize>10000</logsize> <!-- Max size of a logfile -->
<!-- <logarchive>1</logarchive> -->
</logging>

<security>
<chroot>0</chroot>
</security>
</icecast>
[/code]

I must have something wrong here. I'm not getting any errors in the error.log I do not, however, get the option to configure/add users through the admin page either.

Any comments?

Thanks!
David
Back to top
Display posts from previous:   
Post new topic   Reply to topic    Icecast Streaming Media Server Forum Index -> Icecast Server All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2002 phpBB Group
subRebel style by ktauber