Agora C++ API Reference for All Platforms

Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | List of all members
agora::media::SnapshotConfig Struct Reference

`#include <AgoraMediaBase.h>`

## Public Member Functions
| SnapshotConfig ()

## Public Attributes
const char * | filePath
media::base::VIDEO_MODULE_POSITION | position

## Constructor & Destructor Documentation

## ◆ SnapshotConfig()

agora::media::SnapshotConfig::SnapshotConfig | ( |  | ) |
| inline

## Member Data Documentation

## ◆ filePath

const char* agora::media::SnapshotConfig::filePath

The local path (including filename extensions) of the snapshot. 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`
  Note
    Ensure that the path you specify exists and is writable.

## ◆ position

media::base::VIDEO_MODULE_POSITION agora::media::SnapshotConfig::position

The position of the snapshot video frame in the video pipeline. See `VIDEO_MODULE_POSITION`.