Mailing Lists: Apple Mailing Lists
Image of Mac OS face in stamp
Buffer Allocation
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Buffer Allocation



Hi all,

I am trying to find out the size of buffer allocated in darwin streaming server for each client connected and requested a movie. Also need to know how this buffer size changes (max-min buffer sizes according to specific conditions such as bandwidth, bit rate of the movie or opening more than one movie at the same time). I spent some time on the source code and find out some information about this issue but I am not sure. What I found is; in file

"/StreamingServer/APIModules/QTSSFileModule/QTSSFileModule.cpp"

there is DoPlay() function of RTSP, which calls SetupCacheBuffers() method and after a few nested calls, an initial buffer size between 128KB - 1MB is allocated for each client connected to server and requested a movie. What I understand is this buffer size is set according to the bit rate of the movie.

Do you think a buffer size between 128KB - 1MB is reasonable or do you know what is the real size allocated by Darwin and how it is changed?

Thank you in advance,

--

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Streaming-server-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden



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

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2011 Apple Inc. All rights reserved.