A value that indicates the system pressure cost of the current session configuration.
- iOS 13.0+
- Mac Catalyst 13.0+
The session’s system pressure cost value, ranging from
1, indicates the cost of running the current session configuration. When the value exceeds
1, the capture session cannot run sustainably, but it may be able to run briefly before stopping. While the session is running in an unsustainable configuration, you may monitor the device’s
system and reduce pressure by reducing the frame rate, throttling your use of the GPU, and so on.
When the session reaches a critical system pressure state, it temporarily shuts down, and your app receives an
AVCapture notification indicating the reason your session stopped. When system pressure is alleviated, the session interruption ends.