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 

multiple source(ices2) clients howto?
Goto page Previous  1, 2
 
Post new topic   Reply to topic    Icecast Streaming Media Server Forum Index -> Source Clients
View previous topic :: View next topic  
Author Message
bsbrp



Joined: 03 Jan 2011
Posts: 22
Location: INDIA

PostPosted: Thu Feb 03, 2011 1:54 pm    Post subject: Reply with quote

Thanks KarlH,
i did as you said.
But i am still getting the audio dragged.

these are my ices.xml
Quote:

<input>
<module>oss</module>
<param name="rate">22050/mono</param>
<param name="channels">2</param>
<param name="device">/dev/dsp7</param>
<!-- Read metadata (from stdin by default, or -->
<!-- filename defined below (if the latter, only on SIGUSR1) -->
<param name="metadata">1</param>
<param name="metadatafilename">test</param>
</input>
<encode>
<quality>-1</quality>
<samplerate>22050</samplerate>
<channels>1</channels>
<flush-samples>1000</flush-samples>
</encode>

re-sampling and downmixing is commented.

icecast file:
Quote:

<queue-size>102400</queue-size>
<client-timeout>30</client-timeout>
<header-timeout>15</header-timeout>
<source-timeout>10</source-timeout>


Could you tell me where am i went wrong. even the latency was increased.

thanks in advance
bsbrp
Back to top
View user's profile Send private message
karlH
Code Warrior
Code Warrior


Joined: 13 Jun 2005
Posts: 5476
Location: UK

PostPosted: Thu Feb 03, 2011 2:08 pm    Post subject: Reply with quote

you still have the input channels as 2, when it should be 1

karl.
Back to top
View user's profile Send private message Send e-mail Visit poster's website
bsbrp



Joined: 03 Jan 2011
Posts: 22
Location: INDIA

PostPosted: Fri Feb 11, 2011 9:08 am    Post subject: Reply with quote

THanks KarlH,
it worked. But i am looking for 200ms latency.
Is this possible to achieve?
How can i achieve such a low latency?

Thanks in advance.
karlH.
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 Feb 11, 2011 9:43 am    Post subject: Reply with quote

That sort of latency would require special tuning as that sort of tolerance is unusual. Assuming no significant network lag.

ices (short reads and a low flush-samples set),
icecast (page fill trigger set low and no burst)
player (next to 0 for pre-buffering)

While ices and icecast could be set up for quick delivery, you would have to see what the lowest setting can be for the players (eg mplayer -nocache). I don't know what the minimum would be but I could let you know the specific code changes if you want to try it out, just email me with the setup you have and the versions you are working with

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 -> Source Clients All times are GMT
Goto page Previous  1, 2
Page 2 of 2

 
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