Use the SDK interface to set and get the preset value.
Pipeline is a pipeline for processing data streams, providing multi-channel stream configuration, switching, frame aggregation, and frame synchronization functions
Get preset list from device.
std::shared_ptr<ob::DevicePresetList> presetLists = device->getAvailablePresetList();
Get preset value from device.
// Print current preset name.
std::cout << "Current PresetName: " << device->getCurrentPresetName() << std::endl;
Set preset value to device.
// Load preset.
device->loadPreset(presetName);
Press the button according to the interface prompts