chunkDetails()
Returns information about the chunk that holds the sample indicated by the cursor.
Declaration
optional func chunkDetails() throws -> MESampleCursorChunkReturn Value
A sample cursor chunk.
Discussion
If the sample resides in a contiguous chunk of the file among similar samples, this method returns information about that chunk.
It may not be practical to use this method with some media assets. In this case, or if the cursor doesn’t support this method, it returns MEError.Code.locationNotAvailable, which indicates to use loadSampleBufferContainingSamples(to:completionHandler:) to load the sample data instead.