Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/IStreamedCompressedInfo
Syntax
std::atomic< int32 > StreamSeekBlockIndex
Remarks
When a streaming seek request comes down, this is the block we are going to. INDEX_NONE means no seek pending. When using the legacy streaming system this is read on a thread other than the decompression thread to prime the correct chunk, so it needs an atomic. It's only ever set on one thread, and the read has no timing restrictions, so no lock is necessary. Also the legacy streamer isn't used anymore anyway.
This and StreamSeekBlockOffset are expected to be set by the codec's SeekToTime() function.