useCPULoad(params?): Object
Parameters (optional)
Event callback for the
cpu-load-change event.Return value
An object with the following properties:‘low’ | ‘high’, an assessment of the current CPU state. See cpu-load-change for more details.‘none’ | ‘encode’ | ‘decode’ | ‘scheduleDuration’. See cpu-load-change for more details.