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 

Minimize delay -how?

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



Joined: 27 May 2010
Posts: 2

PostPosted: Fri Jun 04, 2010 5:34 pm    Post subject: Minimize delay -how? Reply with quote

Hi all,
I am experimenting trying to stream audio so my band could rehearse over the net. I know there's a couple of "pay for it" services that claims to do this. As I understand it, Icecast is buffering a fixed amount of data, regardless of bitrate, correct? A 64kbps mp3-stream got around 10 sec, and 320 got 2 sec in a test I just did across a distance of 150km. Is there any way to lower the delay? A 64kbps stream would do fine, athough when I tested 320kbps streamed fine with no breakups, it's just too much delay.
On the transmitting side I got an IBM X31 laptop using an Echo Indigo (64 samples buffer), edcast asio encoder and Icecast. On the recieving side is a AMD 5600+ 4GB RAM, integrated audio Crying or Very sad Winamp with the asio-out plugin and asio4all, 64 samples buffer here also. Both are on ADSL. I've run TCP-optimizer too.
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 Jun 04, 2010 5:57 pm    Post subject: Reply with quote

icecast is not a real-time application but whether you can get what you want will depend on the delay you find acceptable and what delay is added by any playback application. burst-size can be set to 0 so that will make icecast send without adding delay, but the internally block size tends to be a little of 1k.

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



Joined: 27 May 2010
Posts: 2

PostPosted: Fri Jun 04, 2010 6:25 pm    Post subject: Reply with quote

Ok, here's what my config file looks like. The line
<burst-on-connect>0</burst-on-connect>
was not there when I ran the test earlier.
Code:

<icecast>
<limits>
<sources>2</sources>
<burst-on-connect>0</burst-on-connect>   

</limits>
<authentication>
<source-password>Password</source-password>
<relay-password>hackme</relay-password>
<admin-user>admin</admin-user>
<admin-password>hackme</admin-password>
</authentication>
<hostname>localhost</hostname>
<listen-socket>
<port>8000</port>
</listen-socket>
<fileserve>0</fileserve>
<paths>
</paths>
<logging>
</logging>
</icecast>
Back to top
View user's profile Send private message
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