SnapshotConfig
The snapshot configuration.
public class SnapshotConfig {
public String filePath = null;
public Constants.VideoModulePosition position =
Constants.VideoModulePosition.VIDEO_MODULE_POSITION_PRE_ENCODER;
}
Attributes
- filePath
-
The local path (including filename extensions) of the snapshot. For example:
- Android:
/storage/emulated/0/Android/data/<package name>/files/example.jpg
Attention: Ensure that the path you specify exists and is writable. - Android:
- position
- The position of the video observation. See VideoModulePosition. Allowed values vary depending on the
uidparameter passed intakeSnapshotortakeSnapshotEx:uid= 0: Position 2, 4 and 8 are allowed.uid!= 0: Only position 2 is allowed.