Method SetPlaybackDataset
SetPlaybackDataset(string)
Sets an MP4 dataset file to playback instead of live camera feed.
Declaration
public ArStatus SetPlaybackDataset(string path)
Parameters
Type | Name | Description |
---|---|---|
string | path | A file path to a MP4 dataset file or |
Returns
Type | Description |
---|---|
ArStatus |
|
Remarks
Restrictions:
- Can only be called while the session is paused. Playback of the MP4 dataset file starts once the session is resumed.
- The MP4 dataset file must use the same camera facing direction as is configured in the session.
When an MP4 dataset file is set:
- All existing trackables (i.e., anchors and trackables) immediately enter tracking state TrackingState.None.
- The desired focus mode is ignored, and does not affect the previously recorded camera images.
- The current camera configuration is immediately set to the default for the device the MP4 dataset file was recorded on.
- Calls to retrieve the supported camera configurations return camera configs supported by the device the MP4 dataset file was recorded on.
- Setting a previously obtained camera config has no effect.