AVLocationPlayer: Using AVFoundation Metadata Reading APIs
Last Revision: | Version 1.0, 2015-04-30 Demonstrates how to use AVFoundation APIs to read location metadata from a movie file. |
Build Requirements: | Xcode 5.1 or later, Mac OS X v10.10 or later |
Runtime Requirements: | Mac OS X v10.10 or later |
AVLocationPlayer demonstrates how to use AVAssetReaderOutputMetadataAdaptor to read location metadata from a movie file containing this information. The location data is then plotted on MKMapView to present the location path where the video was recorded. This sample also shows the use of AVPlayerItemMetadataOutput to show current location on the drawn path during playback.
Copyright © 2015 Apple Inc. All Rights Reserved. Terms of Use | Privacy Policy | Updated: 2015-04-30