| View previous topic :: View next topic |
| Author |
Message |
imcmedia
Joined: 16 May 2010 Posts: 3
|
Posted: Fri Aug 24, 2012 12:51 am Post subject: Mount Point with specific time |
|
|
Is it possible to create a mount point can only be accessed in specific time with a password.
For example: /live2 can be accessed every day at 10 am to 11 am
Thanks |
|
| Back to top |
|
 |
karlH Code Warrior

Joined: 13 Jun 2005 Posts: 5476 Location: UK
|
Posted: Fri Aug 24, 2012 1:07 am Post subject: |
|
|
Your could use the "stream_auth" option to URL authentication, it requests the URL to valid the source client connection with the provided username and password, but your php could use a time as another factor to consider.
karl. |
|
| Back to top |
|
 |
imcmedia
Joined: 16 May 2010 Posts: 3
|
Posted: Fri Aug 24, 2012 1:28 am Post subject: |
|
|
Could you explain it more detail?
| karlH wrote: |
Your could use the "stream_auth" option to URL authentication, it requests the URL to valid the source client connection with the provided username and password, but your php could use a time as another factor to consider.
karl. |
|
|
| Back to top |
|
 |
karlH Code Warrior

Joined: 13 Jun 2005 Posts: 5476 Location: UK
|
Posted: Fri Aug 24, 2012 1:32 am Post subject: |
|
|
It works in the same way listener_add works but for source client connections. client connects, request is made to php, php does whatever checking it feels it should do and if is ok with the connecting client then returns the icecast-auth-user: header
karl. |
|
| Back to top |
|
 |
DJ-Zath

Joined: 11 Feb 2009 Posts: 155 Location: Western Illinois - USA
|
Posted: Sat Sep 01, 2012 11:48 pm Post subject: |
|
|
hi KarlH!
sorry for appending this thread, I have just a simple Q thats somewhat related.. is there a way to set a mount to be ip specific for a player?
say, a specific player in the studio to tune into a special mount that receives the raw audio from the caster.. the auth idea woud be neat if I can get a Roku to connect.. (though, I wonder if I can still do that by putting the auth info in the url path of the logging in player.. its be a "raw" login string without acks, though)
this thread has me thinking of this again  _________________ -DjZ-
 |
|
| Back to top |
|
 |
karlH Code Warrior

Joined: 13 Jun 2005 Posts: 5476 Location: UK
|
Posted: Mon Sep 03, 2012 8:41 am Post subject: |
|
|
strema auth is for the source clients, the listener_add is for listeners but the mechanism is broadly the same. Whether you use IP, parameters or the username for verifying the connection is up to the script. All icecast request is the icecast-auth-user: header to allow it to proceed.
karl. |
|
| Back to top |
|
 |
|