Contents

loadTrackReaders(completionHandler:)

Loads the array of track readers that represent the tracks in the media asset.

Declaration

func loadTrackReaders(completionHandler: @escaping  @Sendable ([any METrackReader]?, (any Error)?) -> Void)
func trackReaders() async throws -> [any METrackReader]

Parameters

  • completionHandler:

    The completion block to execute when the load operation finishes.

See Also

Reading and parsing media assets