SnapshotConfig

Video snapshot settings.

public class SnapshotConfig
    {
        public string filePath;

        public VIDEO_MODULE_POSITION position;
    }

Properties

filePath
Note: Make sure the directory exists and is writable.
The local path to save the snapshot, including the file name and format. For example:
  • Windows: C:\Users\<user_name>\AppData\Local\Agora\<process_name>\example.jpg
  • iOS: /App Sandbox/Library/Caches/example.jpg
  • macOS: ~/Library/Logs/example.jpg
  • Android: /storage/emulated/0/Android/data/<package name>/files/example.jpg
position
The position of the video frame in the video pipeline to capture the snapshot. See VIDEO_MODULE_POSITION.