# Recording and Playback Source: https://www.nianticspatial.com/docs/nsdk/features/playback/?platform=kotlin 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 Android device using the NSDK Capture sample, then use Playback to iterate on your application. ## Integration The Kotlin SDK supports playback through `AssetPlaybackDatasetLoader`, `PlaybackDataset`, and `PlaybackSession`. Load a pre-recorded dataset from the Android assets directory, create a `PlaybackSession` to drive the frame loop, and use `buildFrameData()` to convert each `PlaybackFrame` into a `FrameData` object for `NSDKSession.sendFrame()`. All NSDK features (Depth, Scene Segmentation, etc...) work the same as in a live session. ## Recording and Using Playback Datasets To create a 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/).