# Configuration Source: https://www.nianticspatial.com/docs/api/swift/NSDK.NSDKDashcamSession.struct-Configuration/ Configuration Configuration for the dashcam feature. --- ## Declaration struct Configuration --- ## Constructors init(framerate: Int = 0, maxBufferSeconds: Int = 0, maxBufferMemoryMB: Int = 0, basePath: String? = nil) #### Summary Initializes a new dashcam configuration with provided settings. --- ## Properties | Name | Type | Summary | | --- | --- | --- | | var basePath | String? | Base path for writing dashcam data.If an absolute path is provided, that directory must be writable.If left `nil`, NSDK uses the public application path. | | var framerate | Int32 | Target FPS for buffering frames.The dashcam will subsample the source frame stream to this rate.If set to `0`, defaults to 5 FPS. | | var maxBufferMemoryMB | Int32 | Maximum memory budget for the circular buffer in megabytes.When the buffer exceeds this size, the oldest frames are evicted.Whichever limit (time or memory) is hit first triggers eviction.If set to `0`, defaults to 128 MB. | | var maxBufferSeconds | Int32 | Maximum number of seconds of data to keep in the circular buffer.When the buffer exceeds this duration, the oldest frames are evicted.If set to `0`, defaults to 60 seconds. | ---