# Recording and Playback Source: https://www.nianticspatial.com/docs/nsdk/features/playback/?platform=swift The Playback feature allows you to import pre-recorded AR sessions and re-run them during a new AR runtime session. Using Playback supplies the application with frames from an AR session recording along with other relevant data such as GPS coordinates and device pose. Developers can use this feature to create recordings of locations where they expect their users to interact with their app, then develop and test using real-world data entirely from the editor. > **Note:** > > **Playback datasets are not standard video files** > > Playback requires an AR session recording that contains tracking data, device poses, timestamps, and location information. Standard videos captured from external cameras don't include this metadata, so they can't be used as Playback datasets. To test NSDK features against a real-world location, first record a dataset on a supported iOS device using the NSDK Capture sample, then use Playback to iterate on your application. ## Integration The Swift SDK supports playback through `NSDKView`, which accepts a `PlaybackDataset` at initialization instead of using a live ARKit session. `BundlePlaybackDatasetLoader` loads the dataset from the app bundle; when a playback session is detected, `PlaybackSessionDataSource` is used in place of `DefaultSessionDataSource`. The delegate pattern is identical in both modes, so the rest of the app code does not need to change. ## Recording and Using Playback Datasets To create a playback dataset, see [How to Create Datasets for Playback](https://www.nianticspatial.com/docs/nsdk/how-to/playback/create_playback_dataset/). To get started using a playback dataset in your project, see [How to Set Up Playback](https://www.nianticspatial.com/docs/nsdk/how-to/playback/setting_up_playback/).