The base URL sample references are relative to.
- iOS 8.0+
- macOS 10.10+
- Mac Catalyst 13.0+
- tvOS 9.0+
This property is only valid for file types that support writing sample references, such as QuickTime Movie files. If the value of this property can be resolved as an absolute URL, the sample locations written to the file when appending sample references will be relative to this URL. The URL must point to a location that is in a directory that is a parent of the sample reference location.
For example: setting the
sample property to
file:///User/johnappleseed/Movies/ and appending sample buffers with the
k attachment set to
file:///User/johnappleseed/Movies/data/movie1 will cause the sample reference
data/movie1 to be written to the movie.