Icecast and streaming media
Archon

What is a good free server software that can allow authenticated people to log in and use their broadcast their audio/video recordings (ie. microphone/webcam) through the website with HTTP? Also it should only allow particular listeners who are authorised via the web server (mod_python).

I've somewhat got Icecast working, but is it only suited to public Internet radio?

BAF
Archon

I have read that and my question is how does the Icecast server and the Apache server match the same user...

Django's sessions are based off cookies that store the session ID on the client computer. So how would the Icecast server get the session ID and password from the client in order for the Icecast server to validate it with the Apache server?

BAF

You specify a certain header that your Apache script sends back to icecast if they are authorized.

Quote:

auth_header

The expected response header to be returned that allows the authencation to take place may be specified here. The default is

icecast-auth-user: 1

but it could can anything you like, for instance

HTTP 200 OK

Assuming you go with the first option, icecast-auth-user: 1, then the Apache script just has to send that back.

<?php
if(user_is_authorized) header("icecast-auth-user: 1");
else header("icecast-auth-message: <reason they are unauthorized>");
?>

Thread #597395. Printed from Allegro.cc