[Icecast] Burst-size Setting

Brad Isbell brad at audiopump.co
Tue Aug 2 17:15:06 UTC 2022


Hi Martin,
The ideal burst size is one that fills the receiver buffer as quickly as
possible, without being so great as to require the receiver to close their
TCP window due to backpressure on the stream from the player.

Most players will begin decoding with ~32-64 KiB of data, and will playback
with ~2 seconds of decoded audio.  So, if your burst size is set to your
bitrate times two seconds, you'll fill that buffer.  However, some clients
need to do additional type sniffing and what not before they begin
playback.  These often have hardcoded buffer sizes that must be filled
before playback, and can be as high as 256 KiB (optimized for video, not
audio).

A good tradeoff for a typical quality stream of 192kbit is around 5
seconds, or 120,000 bytes of burst.  Most clients will start instantly,
will have a plentiful buffer so they won't drop out, but the latency still
won't be too high for most channels.

Don't forget to check your queue-size as well!
*Brad Isbell // AudioPump, Inc.*
brad at audiopump.co
Skype: bradisbell
Phone: +1 312-488-4680


On Tue, Aug 2, 2022 at 11:32 AM Mayiani, Martin Martine - mayianmm <
mayianmm at jmu.edu> wrote:

> I am curious , what do you all have as the burst-size? Like what number?
>
>
>
>
>
> Martin Mayiani
>
> Operation Specialist WMRA & WEMC
>
> 540.568.4045
>
> wmra.org
> <https://urldefense.proofpoint.com/v2/url?u=http-3A__www.wmra.org_&d=DwMFaQ&c=eLbWYnpnzycBCgmb7vCI4uqNEB9RSjOdn_5nBEmmeq0&r=eQi7nhx8pVV4tLuhsbN2fg&m=NFlE41P71KSXw5cwSeRchUP5NPq-DGAcQ7PZuBLgoOU&s=kMN-C5UjM7TSPILlWvJ-k5wu4UUakvkqbiJTlV6-zog&e=>
>
>
> _______________________________________________
> Icecast mailing list
> Icecast at xiph.org
> http://lists.xiph.org/mailman/listinfo/icecast
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.xiph.org/pipermail/icecast/attachments/20220802/4b6acaf6/attachment.htm>


More information about the Icecast mailing list