SnapshotConfig

The snapshot configuration.

export class SnapshotConfig {
  filePath?: string;
  position?: VideoModulePosition;
}

Attributes

filePath
The local path (including filename extensions) of the snapshot. For example:
  • iOS: /App Sandbox/Library/Caches/example.jpg
  • Android: /storage/emulated/0/Android/data/<package name>/files/example.jpg
Attention: Ensure that the path you specify exists and is writable.
position
The position of the snapshot video frame in the video pipeline. See VideoModulePosition.