BB FlashBack SDK: FBPlayer |
CacheType Description Sets where the internal frame cache to be used by the SDK will be stored - either in memory or on disk. Syntax [C#/C++] [VB.NET] Remarks The FlashBack SDK keeps a cache of frames that have been decompressed from the movie file. This cache makes it faster to display frames out of sequence. When the player is required to show a particular frame, it pulls from the cache the frame that is nearest and still before the requested frame, using this as a convenient starting point from which to render the requested frame. The larger the cache, the smaller the time taken, on average, to render randomly selected frames. This property determines whether the cache is stored in memory or on the disk, as follows:
Access to a memory cache will be faster and therefore will give smaller seek times than a disk cache, at a cost of higher memory usage. The SDK decides the default cache type as follows: it calculates 2/3 of the free physical memory and tries to allocate that amount. If the allocation succeeds, the cache is held in memory. If the allocation fails, it uses a disk cache of that size. The CacheEnabled property determines whether or not a cache
will be used. See Also FBPlayer::CacheCompressionType FBPlayer::CacheDiskLimit FBPlayer::CacheEnabled FBPlayer::CacheFramesFrequency FBPlayer::CacheMemoryLimit FBPlayer::CacheType |