[icecast-dev] Re: PATCH: increase network congestion resilience

Michael Smith msmith at xiph.org
Sat Jan 18 07:04:20 PST 2003



On Sunday 19 January 2003 01:59, Ricardo Galli wrote:
> On Saturday 18 January 2003 03:37, Michael Smith shaped the electrons to
>
> shout:
> > We can't just drop packets, the transmission model assumed by the
> > format handlers (and required by at least one of them) will not permit
>
> It's not vorbis. Does it?
>

Vorbis certainly DOES require us to not drop packets. It'll work most of the 
time, but if you happen to do it at the wrong time, you'll end up sending a 
corrupt stream to the client. This is a bad idea.

> > us to drop any data. It'd be possible, in theory at least, to tag
> > buffers with a flag to say that they can be dropped, but probably not
> > worth the complexity.
>
> I think it's ok as a last resort technique for trying to maintain alive a
> connection. Dropping some packages is much better that just closing the
> connection. Indeed, I checked with few players and all of them recover
> just fine. You have to be concentrated to notice the drops.

Yeah, you've been lucky (well, not THAT lucky, you're relatively unlikely to 
hit the broken cases) and not done this at one of the times where it will 
cause errors.

Doing it correctly is harder than it looks.

Mike

--- >8 ----
List archives:  http://www.xiph.org/archives/
icecast project homepage: http://www.icecast.org/
To unsubscribe from this list, send a message to 'icecast-dev-request at xiph.org'
containing only the word 'unsubscribe' in the body.  No subject is needed.
Unsubscribe messages sent to the list will be ignored/filtered.



More information about the Icecast-dev mailing list