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 

Client number

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



Joined: 21 Dec 2010
Posts: 58

PostPosted: Sun Sep 18, 2011 6:29 am    Post subject: Client number Reply with quote

In add_listener and remove_listener there's a POST parameter that contains a client ID. When do these get reused?
Are they simply reset on icecast restart?
Is there any maximum value I'm going to run into if I keep the icecast server up for months?
If someone connects, disconnects, then reconnects, are they given their old ID, or a new one?
Thanks for your time.
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: Sun Sep 18, 2011 2:18 pm    Post subject: Reply with quote

on a restart of icecast, the allocation is reset so you should flush out any allocated IDs. The max number is based on the maximum allowed on the machine icecast running on, ie 2^32 for a 32 bit machine or 2^64 for a 64bit machine. It could be made to be consistent to 64 for all setups without any trouble.

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