A method and apparatus for buffering streamed presentation data within a
container file includes receiving one or more data streams from each of
one or more presentation sources within the presentation, creating within
the container file a virtual file for each of the one or more
presentation sources, temporarily storing first data associated with a
first data stream of a first presentation source in association with a
first virtual file corresponding to the presentation source, determining
a container file size, and temporarily storing additional data from the
first data stream in place of at least a portion of the first data if the
container file size is within a predetermined range of an identified
maximum buffer size.