@wppconnect/wa-js - v4.7.2
    Preparing search index...

    Function setVideoEnabled

    • Turn your camera on or off in the active call.

      Enabling the camera in a voice call requests the upgrade to a video call.

      Parameters

      • enabled: boolean
      • OptionalcallId: string

      Returns Promise<boolean>

      await WPP.call.setVideoEnabled(false);