[Live-devel] Use of fBank buffers
Ross Finlayson
finlayson at live555.com
Wed Dec 20 16:55:39 PST 2006
>We are using RTP server and client test programs to stream MPEG II files. On
>the server side, we observed that it uses two bank buffers fBANK[0] and
>fBANK[1]. It reads BANK_SIZE of data into fBANK[0] and after parsing and
>sending the data to the client, it swaps the remaining data from fBANK[0]
>into fBANK[1] and reads BANK_SIZE of data into fBANK[1].
>
>Any idea why to use two buffers instead of single buffer.
Basically, because this makes it possible to read - from the input
source - in large chunks (to fill an entire bank).
--
Ross Finlayson
Live Networks, Inc.
http://www.live555.com/
More information about the live-devel
mailing list