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 

Mount Point with specific time

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



Joined: 16 May 2010
Posts: 3

PostPosted: Fri Aug 24, 2012 12:51 am    Post subject: Mount Point with specific time Reply with quote

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
View user's profile Send private message
karlH
Code Warrior
Code Warrior


Joined: 13 Jun 2005
Posts: 5476
Location: UK

PostPosted: Fri Aug 24, 2012 1:07 am    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail Visit poster's website
imcmedia



Joined: 16 May 2010
Posts: 3

PostPosted: Fri Aug 24, 2012 1:28 am    Post subject: Reply with quote

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
View user's profile Send private message
karlH
Code Warrior
Code Warrior


Joined: 13 Jun 2005
Posts: 5476
Location: UK

PostPosted: Fri Aug 24, 2012 1:32 am    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail Visit poster's website
DJ-Zath



Joined: 11 Feb 2009
Posts: 155
Location: Western Illinois - USA

PostPosted: Sat Sep 01, 2012 11:48 pm    Post subject: Reply with quote

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 Smile
_________________
-DjZ-
Smile Smile
Back to top
View user's profile Send private message Visit poster's website
karlH
Code Warrior
Code Warrior


Joined: 13 Jun 2005
Posts: 5476
Location: UK

PostPosted: Mon Sep 03, 2012 8:41 am    Post subject: Reply with quote

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
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