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 

TRUE unique listeners.

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



Joined: 13 Oct 2009
Posts: 1

PostPosted: Wed Oct 14, 2009 12:00 am    Post subject: TRUE unique listeners. Reply with quote

Hi guys.


We're devloping a new internet radio site, and would like to recognize our listeners uniquely, NOT just pr IP.

As we would like to reward them with the time they've listened to the stream with points. Is it possible to make icecast generate some kind of unique ID, that our site can trace back, and check?

To check IP, and player-name, is just not accurate enough for us.

Looking forward to your answers, thanks in advance. Very Happy


Best Regards, Mickey.
Back to top
View user's profile Send private message
karlH
Code Warrior
Code Warrior


Joined: 13 Jun 2005
Posts: 5476
Location: UK

PostPosted: Wed Oct 14, 2009 12:22 am    Post subject: Reply with quote

There is not much information given by the player connection for you to work on (P, user agent etc), so you are probably better off generating the ID from your portal and passing it into the stream request. eg

for a particular user access generate some sequence, could be based on a simple user/pw or may involve a time. Whatever mechanism you use to generate the sequence, you can then pass that into the url eg

http://host:8000/mystream?code=123456789abcdef

You then configure auth url on /mystream with listener_add/_remove to talk to a backend script (eg php). Those scripts can extract the code from mount POST setting and you can then identify the user and do whatever accounting you wish.

Obviously a code that doesn't change over time could be compromised, but it could be anything you wish, even a time limited captcha code.

karl.
Back to top
View user's profile Send private message Send e-mail Visit poster's website
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