supportsRandomAccess
A Boolean value that indicates whether the output supports reconfiguring the time ranges it reads.
Declaration
var supportsRandomAccess: Bool { get set }Discussion
The default value is false, which means you can’t reconfigure the output after reading begins. This setting may result in more efficient reading, particularly when you’re using multiple asset reader outputs.
A value of true indicates that you can reconfigure the output’s time ranges after reading begins by calling the reset(forReadingTimeRanges:) method. This setting also prevents the asset reader from progressing to a completed state until you call the markConfigurationAsFinal() method.
You can’t set this value after you call startReading() on the asset reader.