Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 26 May 2009 10:20:01 +0200
From:      cpghost <cpghost@cordula.ws>
To:        Wojciech Puchar <wojtek@wojtek.tensor.gdynia.pl>
Cc:        FreeBSD Questions <freebsd-questions@freebsd.org>
Subject:   Re: Streaming server
Message-ID:  <20090526082001.GA1136@phenom.cordula.ws>
In-Reply-To: <alpine.BSF.2.00.0905260031170.41921@wojtek.tensor.gdynia.pl>
References:  <4A1A9FF0.40609@webrz.net> <4ad871310905251225y6da0f41bl7718e9a3290dfa19@mail.gmail.com> <alpine.BSF.2.00.0905252128380.41119@wojtek.tensor.gdynia.pl> <20090525210657.GA12424@phenom.cordula.ws> <20090525214621.GB12424@phenom.cordula.ws> <alpine.BSF.2.00.0905260031170.41921@wojtek.tensor.gdynia.pl>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, May 26, 2009 at 12:31:54AM +0200, Wojciech Puchar wrote:
> > Sorry, mistake:
> >  s/file streaming/file download/
> 
> when you play file directly from HTTP/FTP source it's streaming too.
> just much more simple, portable, and cachable by squid/other proxies

Yes, you're right. For "static" content, buffering a TCP connection
is certainly "good enough."

But for live streams and video conferencing, buffering adds latency
(and the bigger the buffer, the higher the latency). The effect is
then similar to what you observe if you talked on a geostationary
satellite network, doing multiple uplink-downlink hops (many times 1/3
of a second). That's quite noticeable and pretty annoying. Some people
prefer a couple of lost frames to this latency, and that's why
protocols like RTP do have their uses (even if we ignored multicasting).

And for a real-world example: just look at the way the GSM network
deals with lost frames in the traffic channels (TCH) of the Um
interface (radio link between BTS and MS): they're not requested
again, but simply compensated for with error correction codes, or even
dropped. A TCP-like link there would be non-sensical. This may not
apply to the control channels, where latency is not so important, as
opposed to data integrity, but for the voice traffic itself, it makes
perfect sense.

Regards,
-cpghost.

-- 
Cordula's Web. http://www.cordula.ws/



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20090526082001.GA1136>