localVideo() Prebuilt CustomReturns whether the local camera is on. Returns false when the local video track state is 'off' or 'blocked', true otherwise, and null if not in a call.
Return value
Returns boolean | null.
Example
if (!call.localVideo()) { console.log('Camera is off, blocked, or not in a call');}