Skip to main content
useCPULoad(params?): Object

Parameters (optional)

Function
Event callback for the cpu-load-change event.

Return value

An object with the following properties:
string
‘low’ | ‘high’, an assessment of the current CPU state. See cpu-load-change for more details.
string
‘none’ | ‘encode’ | ‘decode’ | ‘scheduleDuration’. See cpu-load-change for more details.

Example

See also

daily-js methods