Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Question about the DSS Source code



The DSS_SERVER_INTERNAL flag was added recently to the QTFileLib. This
library needs to use the file system to read Hinted QuickTime files, and in
recent versions of QTSS API, File I/O from a QTSS API module *must* go
through the proper QTSS API callbacks.

QTFileLib is used both inside a QTSS API module (the QTSSFileModule), and in
several other programs not tied to the server & QTSS API
(PlaylistBroadcaster, for instance).

There must be different code for file reading depending on whether QTFileLib
is inside a QTSS API module or outside the server, so that's why this flag
was added.

This solution is not really ideal - an object layer could be used to
abstract file I/O in the QTFileLib - but it's what's there now.

on 11/6/00 8:36 AM, Deaton, Larry at email@hidden wrote:

> Can anyone explain what the DSS_SERVER_INTERNAL is used for with the DSS
> source code?  I've found it in several places within the file reading
> functions, but I don't understand what it is used for.  It is not defined
> anywhere within the DSS tree.  Should this be defined in platformheader.h?
> 
> Thanks,
> Larry Deaton
> Surgient Networks

-- 
Denis Serenyi
QuickTime Streaming Server Engineering
email@hidden




Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.