DashcamConfig
Configuration parameters for the dashcam feature. Non-zero values override defaults. Zero-valued fields use built-in defaults. ## Basic Usage
kotlin val config = DashcamConfig( framerate = 5, maxBufferSeconds = 60, maxBufferMemoryMb = 128 ) dashcamSession.configure(config) Declaration
class DashcamConfigProperties
| Name | Type | Summary |
|---|---|---|
| basePath | String? | |
| framerate | Int | Target FPS for buffering frames. The dashcam will subsample the source frame stream to this rate. If set to 0, defaults to 5 FPS. Default: 0 (defaults to 5 FPS) |
| maxBufferMemoryMb | Int | 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. Default: 0 (defaults to 128 MB) |
| maxBufferSeconds | Int | 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. Default: 0 (defaults to 60 seconds) |
null