getCpuLoadStats()
Returns a snapshot of the current CPU load state and video encode/decode statistics. Stats in the latest field are updated approximately every two seconds — poll this method to monitor CPU performance over time.
Return value
Returns aPromise<DailyCpuLoadStats>:
Current CPU load assessment:
'low' or 'high'.Reason for the current state:
'none'— load is low'encode'— video encoding is the primary cause of high load'decode'— video decoding is the primary cause of high load'scheduleDuration'— Daily code is not completing within its scheduled interval
Statistics from the most recent measurement period.