View previous topic :: View next topic |
Author |
Message |
unavailable
Joined: 13 Oct 2009 Posts: 1
|
Posted: Wed Oct 14, 2009 12:00 am Post subject: TRUE unique listeners. |
|
|
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.
Best Regards, Mickey. |
|
Back to top |
|
|
karlH Code Warrior
Joined: 13 Jun 2005 Posts: 5476 Location: UK
|
Posted: Wed Oct 14, 2009 12:22 am Post subject: |
|
|
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 |
|
|
|
|
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
|